Results 1 to 5 of 5

Thread: My little app

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    My little app

    Well, I don't know if someone will yell at me for doing this, but I know of no other appropriate forum here to post this - besides, you guys really know your $hit.

    Check out this little app I wrote, it's only 69KB. I virus scanned it, whatever, it's completely safe - http://avail.port5.com/Profile%20Loader.exe

    What it does is loads a desired user profile before you authenticate yourself, which may be useful for those occasional times your computer crashes itself to rebooting or you lose power, and you need some applications to be running all the time. It's definitely not a program that everyone would have a use for, probably very few will in fact. If you don't even bother with a windows password, then don't bother downloading this.

    I just want to know what you guys think of it - aesthetically, functionality, any huge security issues (well, yeah, this is a huge security issue, but anyone who knows windows knows that it's very easy to bypass anything...). Please let me know if you find any bugs. Any suggestions to improve it would be much appreciated.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Unlikely anyone will just take your word for it, I'm afraid. Could you post some code as well, please?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263
    Sure... um, what would you like me to post? If you don't feel safe, you can scan it yourself, but we all know that's not always reliable.

    I should note that this program does make registry changes, but nothing that would cause XP to completely useless; and they aren't made until you hit a button - no changes are made by opening the application.

    Here's what the "Install" button does:

    PHP Code:
    strcpy(bufferReadString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""DefaultUserName""?"));
                            
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Profile Loader""DefaultUserName"buffer);
                            
    strcpy(bufferGetCaption(hwndTextBox2));
                            
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""DefaultPassword"buffer);
                            if(!
    strcmp(ReadString (HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""AutoAdminLogonBackup""?"), "?"))
                            {    
    strcpy(bufferReadString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""AutoAdminLogon""1"));
                                 
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""AutoAdminLogonBackup"buffer);
                                 
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""AutoAdminLogon""1");
                            }

                            if(!
    strcmp(ReadString (HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""DontDisplayLastUserNameBackup""?"), "?"))
                            {    
    strcpy(bufferReadString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""DontDisplayLastUserName""1"));
                                 
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""DontDisplayLastUserNameBackup"buffer);
                                 
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""DontDisplayLastUserName""1");
                            }

                            if(!
    strcmp(ReadString (HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""UserinitBackup""?"), "?"))
                            {    
    strcpy(bufferReadString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""Userinit""userinit.exe"));
                                 
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""UserinitBackup"buffer);
                                 
    strcpy(bufferfilepath);
                                 
    strcat(buffer" -l,");
                                 
    strcat(bufferReadString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""Userinit""userinit.exe"));
                                 
    SaveString(HKEY_LOCAL_MACHINE"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon""Userinit"buffer);
                            }

                            
    EnableWindow(hwndFrame1FALSE);
                            
    EnableWindow(hwndLabel2FALSE);
                            
    EnableWindow(hwndTextBox2FALSE);

                            
    SetText(hwndButton1"Un&install"); 

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263
    Oh, and if you download it, could you atleast vouch that it didn't destroy your computer so it won't seem so scary?
    Phobic

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I can't run it, I don't have a copy of Windows to run it on. I'm just pointing out that the source code is far more useful to other people, and whether there's a virus or not, we don't know what your program might do.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width