Land #1957 - fix User-agent typos for maxthon_history_xcs.rb
commit
377fe9fa39
|
@ -51,8 +51,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
end
|
||||
|
||||
def on_request_uri(cli, request)
|
||||
if request.headers['User-agent'] !~ /Maxthon\/3/ or request.headers['User-agent'] !~ /AppleWebKit\/534.12/
|
||||
print_status("Sending 404 for User-Agent #{request.headers['User-agent']}")
|
||||
if request.headers['User-Agent'] !~ /Maxthon\/3/ or request.headers['User-Agent'] !~ /AppleWebKit\/534.12/
|
||||
print_status("Sending 404 for User-Agent #{request.headers['User-Agent']}")
|
||||
send_not_found(cli)
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue