mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Fix samples for python3
This commit is contained in:
@@ -30,7 +30,7 @@ class MyInfoBP(windows.debug.Breakpoint):
|
||||
dbg.current_process.exit()
|
||||
print("")
|
||||
|
||||
dbg = windows.debug.SymbolDebugger.debug(b"c:\\windows\\system32\\notepad.exe")
|
||||
dbg.add_bp(MyInfoBP("kernelbase!CreateFileInternal+2"))
|
||||
dbg = windows.debug.SymbolDebugger.debug("C:\\windows\\system32\\notepad.exe")
|
||||
dbg.add_bp(MyInfoBP("kernelbase!CreateFileInternal"))
|
||||
dbg.add_bp(MyInfoBP("ntdll!LdrpInitializeProcess"))
|
||||
dbg.loop()
|
||||
Reference in New Issue
Block a user