Skip to content

Commit 7c396db

Browse files
committed
Use URIHOST
1 parent 1134235 commit 7c396db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/smtp/exim4_dovecot_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def exploit
123123
#we use SRVHOST as download IP for the coming wget command.
124124
#SRVHOST needs a real IP address of our download host
125125
if (datastore['SRVHOST'] == "0.0.0.0" or datastore['SRVHOST'] == "::")
126-
srv_host = datastore['LHOST'] || Rex::Socket.source_address(rhost)
126+
srv_host = datastore['URIHOST'] || Rex::Socket.source_address(rhost)
127127
else
128128
srv_host = datastore['SRVHOST']
129129
end

0 commit comments

Comments
 (0)