HiJackThis1.99
Posts: 91 +0
I want to create a program when you click on firefox icon on desktop a DOS window pops up asking for the code. If correct Mozilla firefox is loaded if not program terminates.
This is my theory (Windows XP)
---------------
1)Rename firefox.exe to for example sdefrag.exe by hexadecimal editing it otherwise program would not work.
2)Hide this file in a random location on the computer. For example C:\WINDOWS\system32\sdefrag.exe
3)Thus, to load firefox all you need to execute is the program step 2.
4)Create a program in C++, say password is 12345:
Problem is with last line,
"load C:\WINDOWS\system32\sdefrag.exe"
I have no idea how to make such a command via C++.
So it is not really a password block it is actually just loading a program from a hidden random location on the computer which the other user cannot know where it is
5)Now call this program firefox.exe, thus when the user click on the Icon on desktop or finds this in C:\Program Files\Firefox\firefox.exe this black screen would appear.
Muhahaha
This is my theory (Windows XP)
---------------
1)Rename firefox.exe to for example sdefrag.exe by hexadecimal editing it otherwise program would not work.
2)Hide this file in a random location on the computer. For example C:\WINDOWS\system32\sdefrag.exe
3)Thus, to load firefox all you need to execute is the program step 2.
4)Create a program in C++, say password is 12345:
Code:
#include <iostream>
int main ()
{
std::cout<<"What is password/n";
int password;
std::cin>>password;
if (password != 12345)
std::cout<<"Invalid passord/n";
if (password ==12345)
load C:\WINDOWS\system32\sdefrag.exe
return 0;
}
"load C:\WINDOWS\system32\sdefrag.exe"
I have no idea how to make such a command via C++.
So it is not really a password block it is actually just loading a program from a hidden random location on the computer which the other user cannot know where it is
5)Now call this program firefox.exe, thus when the user click on the Icon on desktop or finds this in C:\Program Files\Firefox\firefox.exe this black screen would appear.
Muhahaha