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!