backdoor programming

This is a discussion on backdoor programming within the C++ Programming forums, part of the General Programming Boards category; in C++ how do you make a backdoor into the program? what is the coding?...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    23

    backdoor programming

    in C++ how do you make a backdoor into the program? what is the coding?

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Huh? What's a backdoor?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    23
    i have the code in the editor but what do i have to type to make it work when it is in the program?

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    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.)
    Last edited by DougDbug; 03-19-2003 at 04:50 PM.

  5. #5
    Registered User
    Join Date
    Jan 2003
    Posts
    23
    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?

  6. #6
    Registered User
    Join Date
    Jan 2003
    Posts
    23

    front door

    ok now i am having some problems with the front door. eather that or it is my computer.

  7. #7
    Registered User MicroFiend's Avatar
    Join Date
    Nov 2002
    Posts
    80
    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:

    Code:
    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
      }
    }
    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 situation

  8. #8
    Registered User
    Join Date
    Jan 2003
    Posts
    23
    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.

  9. #9
    Registered User Dohojar's Avatar
    Join Date
    Feb 2002
    Posts
    115
    i have got a VB compiler and i am working with that.
    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).
    You need a C/C++ compiler if you want to program in C/C++
    Dohojar Moajbuj
    Time is the greatest teacher, too bad it kills all its students

  10. #10
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>this maybe a little bit late
    Yeah, way too late. Please don't bump old threads, just start a new one instead.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21