diff --git a/Windows/lazagne/softwares/memory/memorydump.py b/Windows/lazagne/softwares/memory/memorydump.py index 312d15c7..5ccaf969 100755 --- a/Windows/lazagne/softwares/memory/memorydump.py +++ b/Windows/lazagne/softwares/memory/memorydump.py @@ -67,31 +67,31 @@ def __init__(self): def run(self, software_name = None): pwdFound = [] for process in Process.list(): - if process.get('name', '').lower() in browser_list: - # Get only child process - try: - p = psutil.Process(process.get('pid')) - if p.parent(): - if process.get('name', '').lower() != str(p.parent().name().lower()): - continue - except: - continue + # if process.get('name', '').lower() in browser_list: + # # Get only child process + # try: + # p = psutil.Process(process.get('pid')) + # if p.parent(): + # if process.get('name', '').lower() != str(p.parent().name().lower()): + # continue + # except: + # continue - try: - mw = MemWorker(pid=process.get('pid')) - except ProcessException: - continue + # try: + # mw = MemWorker(pid=process.get('pid')) + # except ProcessException: + # continue - print_debug('INFO', 'dumping passwords from %s (pid: %s) ...' % (process.get('name', ''), str(process.get('pid', '')))) - for _, x in mw.mem_search(password_regex, ftype='groups'): - login, password = x[-2:] - pwdFound.append( - { - 'URL' : 'Unknown', - 'Login' : login, - 'Password' : password - } - ) + # print_debug('INFO', 'dumping passwords from %s (pid: %s) ...' % (process.get('name', ''), str(process.get('pid', '')))) + # for _, x in mw.mem_search(password_regex, ftype='groups'): + # login, password = x[-2:] + # pwdFound.append( + # { + # 'URL' : 'Unknown', + # 'Login' : login, + # 'Password' : password + # } + # ) if keepass_process in process.get('name', '').lower(): k = KeeThief()