summaryrefslogtreecommitdiff
path: root/other/shellkit/mips_irix/README
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/mips_irix/README
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/shellkit/mips_irix/README')
-rw-r--r--other/shellkit/mips_irix/README25
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
2mips/irix shellcodes
3some comments in this file
4
5
6for execvesh and portshellsh append "/bin/sh\x42" to the code.
7
8if you want to execute something different than "/bin/sh", be sure to properly
9set the first four bytes to a valid opcode ("/bin" is valid) or insert a nop
10and adjust the self-relocation.
11
12the codedump utility build extra cache control syscalls, so it flushes all
13caches properly and you can run the code safily then from a flushed cache.
14
15example:
16
17scut@hyperion $ make >/dev/null
18scut@hyperion $ ./execvesh
19 <... dumps the hexcode ...>
20scut@hyperion $ ./execvesh exec
21len = 68
22$
23$ exit
24scut@hyperion $
25