Last changes
parent
2d828a2144
commit
7bab825224
|
@ -83,7 +83,7 @@ module Msf
|
||||||
register_advanced_options([
|
register_advanced_options([
|
||||||
OptString.new('CookieName', [false, "The name of the tracking cookie", DEFAULT_COOKIE_NAME]),
|
OptString.new('CookieName', [false, "The name of the tracking cookie", DEFAULT_COOKIE_NAME]),
|
||||||
OptString.new('CookieExpiration', [false, "Cookie expiration in years (blank=expire on exit)"]),
|
OptString.new('CookieExpiration', [false, "Cookie expiration in years (blank=expire on exit)"]),
|
||||||
OptInt.new('Obfuscation', [false, "JavaScript obfuscation"])
|
OptInt.new('JsObfuscate', [false, "JavaScript obfuscation"])
|
||||||
], Exploit::Remote::BrowserExploitServer)
|
], Exploit::Remote::BrowserExploitServer)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -454,7 +454,8 @@ module Msf
|
||||||
ua = request.headers['User-Agent'] || ''
|
ua = request.headers['User-Agent'] || ''
|
||||||
init_profile(tag)
|
init_profile(tag)
|
||||||
print_status("Sending response HTML.")
|
print_status("Sending response HTML.")
|
||||||
send_response(cli, get_detection_html(ua), {'Set-Cookie' => cookie_header(tag)})
|
html = get_detection_html(ua)
|
||||||
|
send_response(cli, html, {'Set-Cookie' => cookie_header(tag)})
|
||||||
|
|
||||||
when /#{@info_receiver_page}/
|
when /#{@info_receiver_page}/
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue