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