
drinkme is a shellcode test harness.
drinkme is a shellcode test harness. It reads shellcode from stdin and executes it. This allows pentesters to quickly test their payloads before deployment.
drinkme can handle shellcode in the following formats:
– “0x##”
– “\x##”
– “x##”
– “##”
For example, NOP could be represented as any of “0x90”, “\x90”, “x90”, or “90”.
When processing the input drinkme will ignore any of the following:
+ C and C++ style comments.
+ All whitespace.
+ Any characters from the set [\”,;].
How to Use:
1 2 3 4 5 6 7 8 9 10 |
git clone https://github.com/emptymonkey/drinkme && cd drinkme make ./drinkme -h Example: cat execve_bin_sh.x86_64 echo $$ cat execve_bin_sh.x86_64 | drinkme msfvenom --arch x86_64 --platform linux -f hex -p linux/x64/exec CMD=/usr/bin/id msfvenom --arch x86_64 --platform linux -f hex -p linux/x64/exec CMD=/usr/bin/id | drinkme |
Source: https://github.com/emptymonkey