Skip to content

Commit 1f650b0

Browse files
committed
Adding SRVHOST check
1 parent f2e0fe7 commit 1f650b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/exploits/multi/http/wondercms_rce.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def exploit
151151
if Rex::Socket.is_ip_addr?(datastore['SRVHOST']) && Rex::Socket.addr_atoi(datastore['SRVHOST']) == 0
152152
fail_with(Exploit::Failure::BadConfig, 'The SRVHOST option must be set to a routable IP address.')
153153
end
154+
154155
login
155156

156157
create_vulnerable_zip

0 commit comments

Comments
 (0)