execute raw binary code from a file http://src.kaivo.net/security/runcode/
Jakob Kaivo b73bf969e6 initial commit | 4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
runcode.c | 4 years ago |
execute raw binary code from a file
runcode file
The runcode
utility loads an arbitrary binary file into memory and attempts
to execute it. This is useful for testing shellcode used in penetration
testing.
None.
file
A file containing executable instructions.
Not used by runcode
itself. May be used by the loaded program.
The input file must be contain valid executable instructions appropriate
to architecture runcode
is being executed on.
Not used by runcode
itself. May be used by the loaded program.
Used for diagnostic messages.
None.
None.
0 Successful completion.
0 An error occurred.
If the file specified cannot be opened for reading or mapped for execution, a diagnostic message will be printed to standard error. Behavior is undefined if the file specified does not contain an executable instruction at its first byte.