2012-04-21から1日間の記事一覧

Python3でリバースエンジニアリング その3

今回は3.1章の後半。raw_input()をinput()へ変更する必要があります。print文の変更は省略します。 my_debugger.py ... def get_debug_event(self): ... if kernel32.WaitForDebugEvent(byref(debug_event), INFINITE): input("Press a key to continue...")…

Python3でリバースエンジニアリング その2

前回リバースエンジニアリング ―Pythonによるバイナリ解析技法の続きで、今回は3.1章の前半。 my_debugger.py ... def load(self, path_to_exe): ... if kernel32.CreateProcessA(path_to_exe.encode('utf-8'), None, None, None, None, creation_flags, Non…