Thread started: Jul 5 2008, 7:17 AM EDT
Watch
How to compile Exploits using cygwin
======================
STEP 1: Download port 5000 exploit, usually the exploits come as .txt and you need to change them to .c
Download: http://planet.nana.co.il/progroup/exploits/5000e.zip
After downloading and extracting the port 5000 Exploit we need to compile it (covert it to .exe), In order to compile the exploit we need the "Cygwin" program.
Download: http://sources.redhat.com/cygwin/setup.exe
STEP 2: Open the Cygwin setup.exe and install it by the following pictures:
STEP 3: After installing the program we need to compile the exploit, place the 5000.c exploit in C:\cygwin\bin
then run the command line from - Start - Run - cmd/command
in the command window type:
CD c:\cygwin\bin
gcc 5000.c -o 5000.exe
(CD = Open)
Or follow by the picture:
STEP 4: After we finshed to compiled the exploit we can use it! =)
in order to connect the the victims computer that has port 5000 open in this case..
Open the command line by - Start - Run
then type:
CD c:\cygwin\bin
5000.exe XXX.XXX.XXX.XXX -e
(XXX.XXX.XXX.XXX = Victim's IP address)
Or follow by the picture:
(IMG:http://planet.nana.co.il/progroup/pictures/p11_g3.JPG)
*********************************************************
I was reading the above but I am facing a problem & need your help on step 3. When I am using "gcc 5000.c -o 5000.exe" in cmd prompt (c:\cygwin\bin) it is not recognizing this command. Please advice how can I make the 5000.c file as a exe file.
1
out of
1 found this valuable.
Do you find this valuable?
Do you?