Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant set breakpoint using dbg.load() #5

Open
Vlad-tri opened this issue Sep 25, 2017 · 0 comments
Open

Cant set breakpoint using dbg.load() #5

Vlad-tri opened this issue Sep 25, 2017 · 0 comments

Comments

@Vlad-tri
Copy link

Vlad-tri commented Sep 25, 2017

module3.txt

from pydbg import *
from pydbg.defines import *
import pefile

dbg = pydbg()
dbg.load("c:\windows\system32\notepad.exe")
pe = pefile.PE("C:\Windows\System32\notepad.exe")
entrypoint = pe.OPTIONAL_HEADER.ImageBase + pe.OPTIONAL_HEADER.AddressOfEntryPoint
dbg.bp_set(entrypoint)
pydbg.debug_event_loop(dbg)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant