2 <?php
if(!isset($argv)) die('<pre>[!] FUCK-U-N0-0B!</pre>\n'); //.!.('.').!. No, this isn't a web app!
5 /* Buffer-OverFlow VulnChecker
6 * You can make template for any protocol
10 $template_dir = './flooz';
25 "Usage: overfloo template [host] [port] [max-len(^2)] [char] [addr]\n".
26 "By: <--Harvie 2oo7 ;D\n"
29 if(isset($argv[1])) $template = $argv[1];
30 if(isset($argv[2])) $host = $argv[2];
31 if(isset($argv[3])) $port = $argv[3];
32 if(isset($argv[4])) $max = pow($argv[4],2);
35 function flood_make($len='64', $char='A', $end='BBBB') {
36 for(;$len > 0;$len--) $str.=$char;
41 $template = $template_dir.'/'.$template.'.floo';
43 "[i] Testing: $host:$port\n".
44 "[i] Using template: $template\n".
45 "[i] Using range $start - $max B\n\n"
47 $template = @file_get_contents
($template);
48 if(!$template) die("[!] Template not found!\n");
49 $tcp = ($host == 'stdout' ||
$host == '-');
53 $data = str_replace($lenstr, $len, $template);
54 $data = str_replace($floostr, flood_make($len, $floochar, $addrstr), $data);
56 echo("[>] Sending: $len -> ");
58 if($tcp) die("\n".$data);
60 $fp = @fsockopen
($host, $port, $errno, $err, $timeout);
61 if(!$fp) die("\n[!] $host:$port DOWN ;D\n");
62 fwrite($fp, $data); fflush($fp);
64 if(!fwrite($fp, ';P')) {
65 echo("Connection closed! ;D\n");
76 $fp = @pfsockopen
($host, $port, $errno, $err, $timeout);
77 if(!$fp) die("[!] $host:$port DOWN ;D\n");
80 echo("\n[X] Script exited succesfully!\n");
This page took 1.860753 seconds and 4 git commands to generate.