mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
feature: put payload into .rdata option
This commit is contained in:
@@ -28,6 +28,7 @@ def r2_disas(data: bytes):
|
||||
r2.cmd('aaa')
|
||||
|
||||
r2.cmd('e scr.color=0')
|
||||
r2.cmd('e asm.bytes=true')
|
||||
ret['text'] = r2.cmd('pD {}'.format(code_len))
|
||||
ret['text'] = '\n'.join(ret['text'].splitlines()) # fix newlines
|
||||
|
||||
|
||||
Reference in New Issue
Block a user