Skip to content

Commit 8e21d9e

Browse files
author
jvazquez-r7
committed
fix source_address param
1 parent fc8b08f commit 8e21d9e

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)