blob: 2d53f283ca9dac8de3d60dc56fb2637e91cb4f0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# -*- coding: utf-8 -*-
from .creddump7.win32.hashdump import dump_file_hashes
from foreign.client_handling.lazagne.config.module_info import ModuleInfo
from foreign.client_handling.lazagne.config.constant import constant
class Hashdump(ModuleInfo):
def __init__(self):
ModuleInfo.__init__(self, 'hashdump', 'windows', system_module=True)
def run(self):
hashdump = dump_file_hashes(constant.hives['system'], constant.hives['sam'])
if hashdump:
pwd_found = ['__Hashdump__', hashdump]
return pwd_found
|