Skip to content

Commit 3afb5fe

Browse files
committed
commenting browser passwords memory module (take too long time)
Former-commit-id: 6761501 [formerly 6761501 [formerly 6761501 [formerly 36fb6c5]]] Former-commit-id: b927a1cee689b093a033a37de7ad73941c4585c2 Former-commit-id: b48d4b9 Former-commit-id: 8255b6e
1 parent 3ef54f4 commit 3afb5fe

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

Windows/lazagne/softwares/memory/memorydump.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -67,31 +67,31 @@ def __init__(self):
6767
def run(self, software_name = None):
6868
pwdFound = []
6969
for process in Process.list():
70-
if process.get('name', '').lower() in browser_list:
71-
# Get only child process
72-
try:
73-
p = psutil.Process(process.get('pid'))
74-
if p.parent():
75-
if process.get('name', '').lower() != str(p.parent().name().lower()):
76-
continue
77-
except:
78-
continue
70+
# if process.get('name', '').lower() in browser_list:
71+
# # Get only child process
72+
# try:
73+
# p = psutil.Process(process.get('pid'))
74+
# if p.parent():
75+
# if process.get('name', '').lower() != str(p.parent().name().lower()):
76+
# continue
77+
# except:
78+
# continue
7979

80-
try:
81-
mw = MemWorker(pid=process.get('pid'))
82-
except ProcessException:
83-
continue
80+
# try:
81+
# mw = MemWorker(pid=process.get('pid'))
82+
# except ProcessException:
83+
# continue
8484

85-
print_debug('INFO', 'dumping passwords from %s (pid: %s) ...' % (process.get('name', ''), str(process.get('pid', ''))))
86-
for _, x in mw.mem_search(password_regex, ftype='groups'):
87-
login, password = x[-2:]
88-
pwdFound.append(
89-
{
90-
'URL' : 'Unknown',
91-
'Login' : login,
92-
'Password' : password
93-
}
94-
)
85+
# print_debug('INFO', 'dumping passwords from %s (pid: %s) ...' % (process.get('name', ''), str(process.get('pid', ''))))
86+
# for _, x in mw.mem_search(password_regex, ftype='groups'):
87+
# login, password = x[-2:]
88+
# pwdFound.append(
89+
# {
90+
# 'URL' : 'Unknown',
91+
# 'Login' : login,
92+
# 'Password' : password
93+
# }
94+
# )
9595

9696
if keepass_process in process.get('name', '').lower():
9797
k = KeeThief()

0 commit comments

Comments
 (0)