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

Fix dupsh NUL bytes and make it shorter #110

Merged
merged 1 commit into from
Sep 15, 2014
Merged

Fix dupsh NUL bytes and make it shorter #110

merged 1 commit into from
Sep 15, 2014

Conversation

zachriggle
Copy link
Member

The mov can generate NUL bytes.

Old

$ shellcraft i386.linux.dupsh 3
bb030000006a0359496a3f58cd8075f831c9f7e96a01fe0c24682f2f7368682f62696eb00b89e3cd80

New

$ shellcraft i386.linux.dupsh 3
6a035b6a0359496a3f58cd8075f831c9f7e96a01fe0c24682f2f7368682f62696eb00b89e3cd80

@TethysSvensson
Copy link
Contributor

Hmmm. We really should pork the mov shellcode from the old pwntools.

@zachriggle
Copy link
Member Author

Yep, agreed

TethysSvensson pushed a commit that referenced this pull request Sep 15, 2014
Fix dupsh NUL bytes and make it shorter
@TethysSvensson TethysSvensson merged commit c5305c6 into Gallopsled:master Sep 15, 2014
@zachriggle zachriggle deleted the i386-dup-fix branch September 15, 2014 18:25
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

Successfully merging this pull request may close these issues.

2 participants