Skip to content

Commit 746f18d

Browse files
author
HD Moore
committed
Fallback to a localhost variant to make the length predictable
1 parent 6543c3c commit 746f18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/payloads/stagers/python/reverse_http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def initialize(info = {})
3535
# Constructs the payload
3636
#
3737
def generate
38-
lhost = datastore['LHOST'] || Rex::Socket.source_address
38+
lhost = datastore['LHOST'] || '127.127.127.127'
3939

4040
var_escape = lambda { |txt|
4141
txt.gsub('\\', '\\'*4).gsub('\'', %q(\\\'))

0 commit comments

Comments
 (0)