File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ def initialize(info={})
21
21
super ( update_info ( info ,
22
22
'Name' => 'Gather eCryptfs Metadata' ,
23
23
'Description' => %q{
24
- This module will grab the contents of user's .ecrypts directory on
25
- the targeted machine. Grabbed "wrapped-passphrase" files can be
26
- cracked with JtR to get "mount passphrases".
24
+ This module will collect the contents of all users' .ecrypts directories on
25
+ the targeted machine. Collected "wrapped-passphrase" files can be
26
+ cracked with John the Ripper ( JtR) to recover "mount passphrases".
27
27
} ,
28
28
'License' => MSF_LICENSE ,
29
29
'Author' => [ 'Dhiru Kholia <dhiru[at]openwall.com>' ] ,
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ def initialize(info={})
21
21
super ( update_info ( info ,
22
22
'Name' => 'Multi Gather GnuPG Credentials Collection' ,
23
23
'Description' => %q{
24
- This module will collect the contents of user's .gnupg directory on the targeted
25
- machine. Password protected secret keyrings can be cracked with JtR.
24
+ This module will collect the contents of all users' .gnupg directories on the targeted
25
+ machine. Password protected secret keyrings can be cracked with John the Ripper ( JtR) .
26
26
} ,
27
27
'License' => MSF_LICENSE ,
28
28
'Author' => [ 'Dhiru Kholia <dhiru[at]openwall.com>' ] ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ def initialize(info={})
22
22
super ( update_info ( info ,
23
23
'Name' => 'Multi Gather pgpass Credentials' ,
24
24
'Description' => %q{
25
- This module will collect the contents of user's .pgpass or pgpass.conf and
26
- parse them for credentials.
25
+ This module will collect the contents of all users' .pgpass or pgpass.conf
26
+ file and parse them for credentials.
27
27
} ,
28
28
'License' => MSF_LICENSE ,
29
29
'Author' => [ 'Zach Grace <zgrace[at]403labs.com>' ] ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def initialize(info={})
22
22
super ( update_info ( info ,
23
23
'Name' => 'Multi Gather OpenSSH PKI Credentials Collection' ,
24
24
'Description' => %q{
25
- This module will collect the contents of user's .ssh directory on the targeted
25
+ This module will collect the contents of all users' .ssh directories on the targeted
26
26
machine. Additionally, known_hosts and authorized_keys and any other files are also
27
27
downloaded. This module is largely based on firefox_creds.rb.
28
28
} ,
@@ -59,9 +59,9 @@ def download_loot(paths)
59
59
sep = "/"
60
60
files = cmd_exec ( "ls -1 #{ path } " ) . split ( /\r \n |\r |\n / )
61
61
end
62
- path_array = path . split ( sep )
63
- path_array . pop
64
- user = path_array . pop
62
+ path_array = path . split ( sep )
63
+ path_array . pop
64
+ user = path_array . pop
65
65
files . each do |file |
66
66
next if [ "." , ".." ] . include? ( file )
67
67
data = read_file ( "#{ path } #{ sep } #{ file } " )
@@ -79,7 +79,7 @@ def download_loot(paths)
79
79
:host => session . session_host ,
80
80
:port => 22 ,
81
81
:sname => 'ssh' ,
82
- :user => user ,
82
+ :user => user ,
83
83
:pass => loot_path ,
84
84
:source_type => "exploit" ,
85
85
:type => 'ssh_key' ,
You can’t perform that action at this time.
0 commit comments