Here's how to make it:

we run a text editor
    sh-2.03$ pico exploit.c
if it doesn't work, try this one:
    sh-2.03$ vi exploit.c
Of course, you must learn how to use vi.

Then open another terminal (i mean without x windows, CTRL+ALT+Fx to scape from xwindows to x,
ALT+Fx to change to another terminal, ALT+F7 to return xwindows) on your own box and cut the
text from it. Change to your target and paste the code so you've 'uploaded' the file.

To cut a text from the screen, you need to install the gpm packet from your linux distribution.
This program lets you select and cut text with your mouse.

If cut&paste doesn't work, you can also type it by hand (they aren't usually large).

Once you get the .c file there, here's how to compile:

    sh-2.03$ gcc program.c -o program

and execute:

    sh-2.03$ ./program


Previous
Page 5


Hacking - 4
MC-tek©
                    How to upload and compile programs
                        

The most obvious and simple way is using FTP:

    bash-2.03$ ls
    program.c
    sh-2.03$ ftp target.edu
    Connected to target.edu.
    220 target.edu FTP server (SunOS 5.6) ready.
    Name: luser
    331 Password required for luser.
    Password:
    230 User luser logged in.
    ftp> put program.c
    200 PORT command successful.
    150 ASCII data connection for program.c
(204.42.253.18,57982).
    226 Transfer complete.
    ftp> quit
    221 Goodbye.

But this is not a really good way. It can create logs that will
make the admin to detect us.

Avoid uploading it with FTP as you can, use cut&paste
instead.
All rights and lefts reserved to MC-tek © 2006
Quick Links to Articles:

1) How to buy the perfect
computer  

2) Did You Eat Your Hair
Today ?

3) Security

4) The Right  Amount of
Time

5) Hacking For Dummies