-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure winexec shellcode is 16 byte aligned and add nCmdShow option (
#2308) * Make sure winexec is 16 byte aligned and add nCmdShow option * fix typo and add changelog * Update pwnlib/shellcraft/templates/amd64/windows/winexec.asm Co-authored-by: peace-maker <peacemakerctf@gmail.com> * tidied up winexec 16-byte alignment * fix stack alignment on return * Use stable alignment * Avoid null-bytes in `add` instruction for long commands --------- Co-authored-by: peace-maker <peacemakerctf@gmail.com> Co-authored-by: Arusekk <arek_koz@o2.pl>
- Loading branch information
1 parent
8367da6
commit c7649c9
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters