mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-06-08 07:02:51 -04:00
add the stuff floating from other machines
This commit is contained in:
parent
30e65244e2
commit
35788d79e2
252 changed files with 12374 additions and 603 deletions
|
@ -0,0 +1,10 @@
|
|||
#! /usr/bin/env python
|
||||
import sys
|
||||
from libdisasm import disasm,disasmbuf
|
||||
dbuf = disasmbuf.DisasmBuffer(sys.stdin.read( ))
|
||||
d=disasm.LinearDisassembler( )
|
||||
d.disassemble(dbuf)
|
||||
for rva,opcode in dbuf.instructions( ):
|
||||
operands = map(lambda x:"%s %-13s" % (x.access( ),"[%s]" % str(x)),
|
||||
opcode.operands( ))
|
||||
print "%08x: %-20s %s" % (rva,str(opcode), "".join(operands))
|
Loading…
Add table
Add a link
Reference in a new issue