openrce / pydbg Goto Github PK
View Code? Open in Web Editor NEWA pure-python win32 debugger interface.
A pure-python win32 debugger interface.
assert sizeof(_MEMORY_BASIC_INFORMATION) == 28, sizeof(_MEMORY_BASIC_INFORMATION)
AssertionError: 40
When I tried to import pydbg.defines, I saw it use import window_h.py, which has this assert experssion. I am using Win64 version of python 3.6.5 with anaconda. So I just wonder what is wrong with it? Maybe only with win32 version env it could work?
after tried to import pydbg in python2 i got this error:
╭─nemesis@masamune ~/Project/paimei ‹master*›
╰─$ python2
Python 2.7.3 (default, Dec 22 2012, 21:14:12)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from pydbg import *
Traceback (most recent call last):
File "", line 1, in
File "pydbg/init.py", line 41, in
from defines import *
File "pydbg/defines.py", line 37, in
from windows_h import *
File "pydbg/windows_h.py", line 86, in
assert sizeof(N10_LDT_ENTRY3DOLLAR_43DOLLAR_6E) == 4, sizeof(N10_LDT_ENTRY3DOLLAR_43DOLLAR_6E)
AssertionError: 8
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.