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

Exception thrown: read access violation. NtHeader was 0x56E508D6. #1

Open
Net-Hun73r opened this issue Jan 25, 2021 · 2 comments
Open

Comments

@Net-Hun73r
Copy link

when build this project give error
Exception thrown: read access violation.
NtHeader was 0x56E508D6.

on runpe.cpp file in line>29
please help me for fix it

@Net-Hun73r
Copy link
Author

https://pasteboard.co/JLcq4vB.png

this link is screenshot

@0xFFFFFFFFFFFFFFFFFFFFF
Copy link

Because DecryptAndRun() function decrypts the file and you probably used unencrypted file in DownloadFile() so it got corrupted during 'decryption' and hence it could not be recognized as a valid PE file. Just comment lines 28-31 in the loader. Note: this works only for 32 bit executables, so don't forget to build the loader as 32 bit too.

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

2 participants