-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Adding escaped hex output format to shellcraft -f option #765
Conversation
I like the idea, but the implementation could be much simpler. Calling If it helps any, there is already a "string" option. If you can switch from the manual hex escape to repr/list I can merge this.
|
Also, this notation is not really Python specific. What about |
{e} is currently used by elf. esc{a}ped --escaped ? |
Right. I missed ELF since it not in the help text. Could you add it? Also, I'm a little out of touch with Pwntools so I'll let @zachriggle or @idolf merge the PR. |
Looks like it's still using |
@br0ns - Sure, just added it. |
A possible downside of using On Oct 13, 2016 1:03 PM, "Zach Riggle" notifications@github.com wrote:
|
@tmfink yes, {s}tring already does this. |
Technically the |
C or PHP-compatible, it's still mixed. I have nothing further to add. |
@zachriggle: The current
C parses hex escapes in a strange way. I do not think repr is the way to go. |
I say we accept this in some form -- either by replacing the current |
While using shellcraft as a stand-alone utility to generate shellcode for PoC's, I found the python hex notation very useful.
Maybe someone else can use it too?