Skip to content

Commit 8431eb7

Browse files
author
Tod Beardsley
committed
Msftidy fixes, also use correct possessive plurals
http://englishplus.com/grammar/00000132.htm
1 parent bddcb33 commit 8431eb7

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

modules/post/linux/gather/ecryptfs_creds.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def initialize(info={})
2121
super( update_info(info,
2222
'Name' => 'Gather eCryptfs Metadata',
2323
'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".
2727
},
2828
'License' => MSF_LICENSE,
2929
'Author' => ['Dhiru Kholia <dhiru[at]openwall.com>'],

modules/post/multi/gather/gpg_creds.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def initialize(info={})
2121
super( update_info(info,
2222
'Name' => 'Multi Gather GnuPG Credentials Collection',
2323
'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).
2626
},
2727
'License' => MSF_LICENSE,
2828
'Author' => ['Dhiru Kholia <dhiru[at]openwall.com>'],

modules/post/multi/gather/pgpass_creds.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def initialize(info={})
2222
super( update_info(info,
2323
'Name' => 'Multi Gather pgpass Credentials',
2424
'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.
2727
},
2828
'License' => MSF_LICENSE,
2929
'Author' => ['Zach Grace <zgrace[at]403labs.com>'],

modules/post/multi/gather/ssh_creds.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def initialize(info={})
2222
super( update_info(info,
2323
'Name' => 'Multi Gather OpenSSH PKI Credentials Collection',
2424
'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
2626
machine. Additionally, known_hosts and authorized_keys and any other files are also
2727
downloaded. This module is largely based on firefox_creds.rb.
2828
},
@@ -59,9 +59,9 @@ def download_loot(paths)
5959
sep = "/"
6060
files = cmd_exec("ls -1 #{path}").split(/\r\n|\r|\n/)
6161
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
6565
files.each do |file|
6666
next if [".", ".."].include?(file)
6767
data = read_file("#{path}#{sep}#{file}")
@@ -79,7 +79,7 @@ def download_loot(paths)
7979
:host => session.session_host,
8080
:port => 22,
8181
:sname => 'ssh',
82-
:user => user,
82+
:user => user,
8383
:pass => loot_path,
8484
:source_type => "exploit",
8585
:type => 'ssh_key',

0 commit comments

Comments
 (0)