in C++ how do you make a backdoor into the program? what is the coding?
Printable View
in C++ how do you make a backdoor into the program? what is the coding?
Huh? What's a backdoor?
i have the code in the editor but what do i have to type to make it work when it is in the program?
There are probably a zillion ways to do this... assuming it's your program that you're making a "back-door" to.
If you're writing a program that has some sort of "front door" (password security), you could make it look for your back-door condition. You could pass an optional paramater to the program, so that if you execute the program by typing "Programmer9000 Programmer9000", the password stuff is bypassed.
If you are trying to make a pack door to a program that you didn't write... well, you came to the wrong place!
[EDIT}
You could set up two lists of user-names and passwords.
The "backdoor" list cannot be displayed or edited. The user "gets in" if he/she enters a name and password from either list. (i.e an OR condition.)
no. i am plainning on using it in one of my programs, but can't yo set it up so you have a password to type in so you can bypass it?
ok now i am having some problems with the front door. eather that or it is my computer.
Horrible 2 say but... do u know how to program???
if so why the questions as every1 has stated in order for u to create a backdoor u need first to have the program, by your requirement of a back door, presuming u have already made a security app then just add to the main character/number compare an exception to the required coding example:
If we are missunderstanding on your idea of a backdoor tell us, but if u are asking how to make a bypass through your security protocal then just look at how u coded the security app and add a condition to allow u through, please correct me tho if i missunderstand ur situationCode:in pseudo c++(cant spell :P)
main()
{
char Password[255];
char StoredPassword[]="PassWord";
char BackDoorKey[]="Pass2";
cin.getline(Password,sizeof(Password),'\n');
if(Password==StoredPassword || Password==BackDoorKey)
{
/// Go into Main Stream Of Program
}
}
this maybe a little bit late but i was looking for some of my other post and looke at this one. i am not very good a programming. most the time i will have a book but i will look at it if i need help and if it doesn't help i go out looking for help. i have got a VB compiler and i am working with that. i am hitting trouble spots but i am making my way though.
if all you have is a VB compiler, then none of the posted code will work with it. VB = Visual Basic(or visual crap as I like to call it).Quote:
i have got a VB compiler and i am working with that.
You need a C/C++ compiler if you want to program in C/C++
>>this maybe a little bit late
Yeah, way too late. Please don't bump old threads, just start a new one instead.