Jump to content
Fatal1ty

How to compile Exploits using cygwin

Recommended Posts

Guide: How to compile Exploits

======================

Exploit is a code built in C, VB etc.. that takes advantage of an open port.

This guide will teach you how to compile an exploit in cygwin.

In the following steps i'll show you how to compile an exploit using a port 5000 exploit, but you can do the same for other ports just download their exploit from:

- Google.com

- Securiteam.com

- K-otik.com

- Astalavista.box.sk

- Coromputer.net

- Securityfocus.com

(Search the exploit as: "Exploit for PORT NUMBER")

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:

(IMG:http://planet.nana.co.il/progroup/pictures/p1_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p2_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p3_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p4_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p5_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p6_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p7_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p8_g3.JPG)

(IMG:http://planet.nana.co.il/progroup/pictures/p9_g3.JPG)

STEP 3: After installing the program we need to compile the exploit, place the 5000.c exploit in C:cygwinbin

then run the command line from - Start - Run - cmd/command

in the command window type:

CD c:cygwinbin

gcc 5000.c -o 5000.exe

(CD = Open)

Or follow by the picture:

(IMG:http://planet.nana.co.il/progroup/pictures/p10_g3.JPG)

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:cygwinbin

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)

and WALLA! your connected..

Guide by Outlaws.

Creditz h4cky0u (the big chief )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...