Skip to content

Commit

Permalink
pretty output
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed Apr 15, 2017
1 parent 89c6b01 commit 6ea2322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Windows/lazagne/softwares/browsers/ie.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def windows_vault_ie(self):
{
&{
$Script:vault.RetrieveAll()
} | foreach-Object { $_.RetrievePassword() ; "Username......";$_.UserName;"######";"Password......";$_.Password;"######";"Website......";$_.Resource;"_________" }
} | foreach-Object { $_.RetrievePassword() ; "[BEGIN]Username......";$_.UserName;"######";"Password......";$_.Password;"######";"Website......";$_.Resource;"_________" }
}
catch
{
Expand All @@ -234,6 +234,7 @@ def windows_vault_ie(self):
for result in results.replace('\n', '').split('_________'):
values = {}
if result:
result = result.split('[BEGIN]')[1]
for res in result.split('######'):
values[res.split('......')[0]] = res.split('......')[1]
passwords.append(values)
Expand Down

0 comments on commit 6ea2322

Please sign in to comment.