コード例 #1
0
ファイル: hashdump.py プロジェクト: yongqin12/LaZagne
 def run(self, software_name=None):
     if self.save_hives():
         hashdump = dump_file_hashes(constant.hives['system'],
                                     constant.hives['sam'])
         if hashdump:
             pwdFound = ['__Hashdump__', hashdump]
             return pwdFound
コード例 #2
0
ファイル: hashdump.py プロジェクト: Cech1337/LaZagne
	def run(self, software_name=None):
		# save system hives
		if not self.save_hives():
			print_debug('ERROR', 'Failed to save system hives')
			return 

		password = dump_file_hashes(constant.hives['system'], constant.hives['sam'])

		pwdFound = ['__Hashdump__', password]
		return pwdFound
コード例 #3
0
    def run(self, software_name=None):
        # save system hives
        if not self.save_hives():
            print_debug('ERROR', 'Failed to save system hives')
            return

        password = dump_file_hashes(constant.hives['system'],
                                    constant.hives['sam'])

        pwdFound = ['__Hashdump__', password]
        return pwdFound
    def run(self, software_name=None):
        pwdFound = []

        path = build_path('Hives')
        if path:
            system = os.path.join(path, 'SYSTEM')
            sam = os.path.join(path, 'SAM')

            if os.path.exists(system) and os.path.exists(sam):
                hashes = dump_file_hashes(system, sam)
                if hashes:
                    pwdFound = ['__Hashdump__', hashes]

        return pwdFound