diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/mips_irix/README | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/shellkit/mips_irix/README')
| -rw-r--r-- | other/shellkit/mips_irix/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/other/shellkit/mips_irix/README b/other/shellkit/mips_irix/README new file mode 100644 index 0000000..a78c668 --- /dev/null +++ b/other/shellkit/mips_irix/README | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | |||
| 2 | mips/irix shellcodes | ||
| 3 | some comments in this file | ||
| 4 | |||
| 5 | |||
| 6 | for execvesh and portshellsh append "/bin/sh\x42" to the code. | ||
| 7 | |||
| 8 | if you want to execute something different than "/bin/sh", be sure to properly | ||
| 9 | set the first four bytes to a valid opcode ("/bin" is valid) or insert a nop | ||
| 10 | and adjust the self-relocation. | ||
| 11 | |||
| 12 | the codedump utility build extra cache control syscalls, so it flushes all | ||
| 13 | caches properly and you can run the code safily then from a flushed cache. | ||
| 14 | |||
| 15 | example: | ||
| 16 | |||
| 17 | scut@hyperion $ make >/dev/null | ||
| 18 | scut@hyperion $ ./execvesh | ||
| 19 | <... dumps the hexcode ...> | ||
| 20 | scut@hyperion $ ./execvesh exec | ||
| 21 | len = 68 | ||
| 22 | $ | ||
| 23 | $ exit | ||
| 24 | scut@hyperion $ | ||
| 25 | |||
