We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
is that possible to make binary file to shellcode ?
The text was updated successfully, but these errors were encountered:
Yes, you can dump the hexa from the binary with some simple command:
hexdump -v -e '"\""x" 1/1 "%02x" ""' binaryname
You can also do something like
mov rsi, rdi mov rdi, 1 mov rdx, 6 syscall
Then get the hexcode from an online assembler:
"\x48\xc7\xc0\x01\x00\x00\x00\x48\xc7\xc7\x01\x00\x00\x00\x48\xc7\xc2\x06\x00\x00\x00\x0f\x05"
Save it on a buffer and do a mmap with exec right, then you can call it by ptr("hello\n"); and it will print it
Sorry, something went wrong.
No branches or pull requests
is that possible to make binary file to shellcode ?
The text was updated successfully, but these errors were encountered: