-
Notifications
You must be signed in to change notification settings - Fork 651
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
Add syscalls #101
base: dev
Are you sure you want to change the base?
Add syscalls #101
Conversation
This should fix a bug when loading binaries made with msfvenom
This also fixes errors with the Python module in Python 3.8 |
That's because it sits on top of a previous PR that fixes that, maybe I should have created just one large PR instead of several smaller ones 😛 |
I noticed that there are a couple PRs on the source repo/branch about stricmp. This is a note to myself to adjust the code accordingly after merging. |
So I have considered how to integrate this and made the following decision:
Meanwhile I will leave up the PR. Thanks again for the work and the other two PRs that this was built upon! |
You make a great point, thank you for the detailed explanation, I completely agree 😄 |
I added support for direct system calls using syswhispers2.
Due to how the loader is coded, I had to make some changes to SW2 so that it doesn't use global variables.
What I did is pass the syscall table as the last parameter for each syscall.
I works for both x64 and x86 (not for WoW64)
I also removed some APIs that are no longer used (as they have been replaced by syscalls).
Note:
This PR is built on top of this one: #100
Hope you like it!