I need to convert into op code bytes the instructions that I have disassembled but I can’t find a function that lets me do it, I’ve tried idc.get_bytes but it doesn’t seem to work. This is my python script: I’m using this script with the batch mode of IDA Pro 7.7sp1, can you suggest me a method to do it?
Tag: reverse-engineering
Cannot import name ‘iscode’ from ‘xdis’ when using ‘trepan3k’
I am trying to use trepan3k to debug a .pyc file. However, when I typed the command trepan3k flag.pyc, it gave me the error: Cannot import name ‘iscode’ from ‘xdis’. I am using MacOS, with Python 3.8.0. Answer I just released version 1.0.0 of trepan3k and that should address this problem. This is fault (dependency hell) and I’m sorry for