@@ -34,7 +34,7 @@ def run
34
34
return
35
35
end
36
36
37
- print_status "Searching for LastPass databases... "
37
+ print_status "Searching for LastPass databases"
38
38
39
39
account_map = build_account_map
40
40
if account_map . empty?
@@ -100,7 +100,7 @@ def run
100
100
# Parse and decrypt credentials
101
101
credentials . each do |row | # Decrypt passwords
102
102
account , browser , user , enc_pass = row
103
- vprint_status "Decrypting password for #{ account } 's #{ user } from #{ browser } ... "
103
+ vprint_status "Decrypting password for #{ account } 's #{ user } from #{ browser } "
104
104
password = clear_text_password ( user , enc_pass )
105
105
credentials_table << [ account , browser , user , password ]
106
106
end
@@ -149,7 +149,8 @@ def build_account_map
149
149
150
150
found_dbs_map [ account ] = { }
151
151
browser_path_map . each_pair do |browser , path |
152
- found_dbs_map [ account ] [ browser ] = find_db_paths ( path , browser , account )
152
+ db_paths = find_db_paths ( path , browser , account )
153
+ found_dbs_map [ account ] [ browser ] = db_paths unless db_paths . empty?
153
154
end
154
155
end
155
156
@@ -161,7 +162,7 @@ def build_account_map
161
162
def find_db_paths ( path , browser , account )
162
163
paths = [ ]
163
164
164
- vprint_status "Checking #{ account } 's #{ browser } ... "
165
+ vprint_status "Checking #{ account } 's #{ browser } "
165
166
if browser == "Firefox" # Special case for Firefox
166
167
profiles = firefox_profile_files ( path , browser )
167
168
paths |= profiles
0 commit comments