コード例 #1
0
ファイル: kde.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     self.appid = 'Get KDE keyring'
     self.bus_info = [
         ('org.kde.kwalletd', '/modules/kwalletd'),
         ('org.kde.kwalletd5', '/modules/kwalletd5')
     ]
     ModuleInfo.__init__(self, 'kwallet', 'wallet')
コード例 #2
0
ファイル: hashdump.py プロジェクト: cclauss/LaZagne
    def __init__(self):
        ModuleInfo.__init__(self, 'hashdump', 'system')

        self.username = None
        self.iterations = None
        self.salt_hex = None
        self.entropy_hex = None
コード例 #3
0
ファイル: chrome.py プロジェクト: cclauss/LaZagne
    def __init__(self, safe_storage_key=None):
        ModuleInfo.__init__(self, 'chrome', 'browsers')

        login_data_path = '/Users/*/Library/Application Support/Google/Chrome/*/Login Data'
        cc_data_path = '/Users/*/Library/Application Support/Google/Chrome/*/Web Data'
        self.chrome_data = glob.glob(login_data_path) + glob.glob(cc_data_path)
        self.safe_storage_key = safe_storage_key
コード例 #4
0
ファイル: robomongo.py プロジェクト: cclauss/LaZagne
    def __init__(self):
        ModuleInfo.__init__(self, 'robomongo', 'databases')

        self.paths = [
            {
                'directory': u'.config/robomongo',
                'filename': u'robomongo.json',
            },
            {
                'directory': u'.3T/robo-3t/1.1.1',
                'filename': u'robo3t.json',
            }
        ]
コード例 #5
0
ファイル: mimipy.py プロジェクト: cclauss/LaZagne
    def __init__(self):
        ModuleInfo.__init__(self, 'mimipy', 'memory')

        self.shadow_hashes = []
        self.rules = [
            {
                "desc": "[SYSTEM - GNOME]",
                "process": r"gnome-keyring-daemon|gdm-password|gdm-session-worker",
                "near": r"libgcrypt\.so\..+|libgck\-1\.so\.0|_pammodutil_getpwnam_|gkr_system_authtok",
                "func": self.test_shadow,
            },
            {
                "desc": "[SYSTEM - LightDM]",  # Ubuntu/xubuntu login screen :) https://doc.ubuntu-fr.org/lightdm
                "process": r"lightdm",
                "near": r"_pammodutil_getpwnam_|gkr_system_authtok",
                "func": self.test_shadow,
            },
            {
                "desc": "[SYSTEM - SSH Server]",
                "process": r"/sshd$",
                "near": r"sudo.+|_pammodutil_getpwnam_",
                "func": self.test_shadow,
            },
            {
                "desc": "[SSH Client]",
                "process": r"/ssh$",
                "near": r"sudo.+|/tmp/ICE-unix/[0-9]+",
                "func": self.test_shadow,
            },
            {
                "desc": "[SYSTEM - VSFTPD]",
                "process": r"vsftpd",
                "near": r"^::.+\:[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$",
                "func": self.test_shadow,
            },
        ]

        regex_type = type(re.compile("^plop$"))
        # precompile regexes to optimize speed
        for x in self.rules:
            if "near" in x:
                if type(x["near"]) != regex_type:
                    x["near"] = re.compile(x["near"])
            if "process" in x:
                if type(x["process"]) != regex_type:
                    x["process"] = re.compile(x["process"])

        self.look_after_size = 1000 * 10 ** 3
        self.look_before_size = 500 * 10 ** 3
コード例 #6
0
ファイル: lsa_secrets.py プロジェクト: yongqin12/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'lsa_secrets', 'windows', system_module=True)
コード例 #7
0
ファイル: coreftp.py プロジェクト: cclauss/LaZagne
    def __init__(self):
        ModuleInfo.__init__(self, 'coreftp', 'sysadmin')

        self._secret = "hdfzpysvpzimorhk"
コード例 #8
0
 def __init__(self):
     ModuleInfo.__init__(self, 'mscache', 'windows', system_module=True)
コード例 #9
0
 def __init__(self):
     ModuleInfo.__init__(self, 'apachedirectorystudio', 'sysadmin')
     # Interesting XML attributes in ADS connection configuration
     self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword", "authMethod"]
コード例 #10
0
ファイル: keepass.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'keepass', 'memory')
コード例 #11
0
ファイル: clawsmail.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'clawsmail', 'mails')
コード例 #12
0
    def __init__(self):
        ModuleInfo.__init__(self, 'sqldeveloper', 'databases')

        self._salt = self.get_salt()
        self._passphrase = None
        self._iteration = 42
コード例 #13
0
ファイル: credfiles.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'credfiles', 'windows', dpapi_used=True)
コード例 #14
0
 def __init__(self):
     ModuleInfo.__init__(self, 'gitforwindows', 'git')
コード例 #15
0
 def __init__(self, browser_name, paths):
     self.paths = paths if isinstance(paths, list) else [paths]
     self.database_query = 'SELECT action_url, username_value, password_value FROM logins'
     ModuleInfo.__init__(self, browser_name, 'browsers', dpapi_used=True)
コード例 #16
0
 def __init__(self, browser_name, path):
     self.path = os.path.expanduser(path)
     ModuleInfo.__init__(self, browser_name, category='browsers')
コード例 #17
0
    def __init__(self):
        self.pwd_found = []

        ModuleInfo.__init__(self, 'psi-im', 'chats')
コード例 #18
0
 def __init__(self):
     ModuleInfo.__init__(self, name='postgresql', category='databases')
コード例 #19
0
ファイル: postgresql.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, name='postgresql', category='databases')
コード例 #20
0
 def __init__(self):
     ModuleInfo.__init__(self, 'hashdump', 'windows', system_module=True)
コード例 #21
0
ファイル: unattended.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'unattended', 'sysadmin', system_module=True)
コード例 #22
0
	def __init__(self):
		ModuleInfo.__init__(self, 'coreftp', 'sysadmin')
		
		self._secret = "hdfzpysvpzimorhk"
コード例 #23
0
ファイル: mavenrepositories.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'mavenrepositories', 'maven')
     # Interesting XML nodes in Maven repository configuration
     self.nodes_to_extract = ["id", "username", "password", "privateKey", "passphrase"]
     self.settings_namespace = "{http://maven.apache.org/SETTINGS/1.0.0}"
コード例 #24
0
 def __init__(self):
     ModuleInfo.__init__(self, 'pypykatz', 'windows', system_module=True)
コード例 #25
0
ファイル: cli.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'cli', 'sysadmin')
コード例 #26
0
ファイル: pidgin.py プロジェクト: zerone0x01/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'pidgin', 'chats')
コード例 #27
0
ファイル: squirrel.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, name='squirrel', category='databases')
コード例 #28
0
 def __init__(self):
     ModuleInfo.__init__(self, 'winscp', 'sysadmin', registry_used=True)
     self.hash = ''
コード例 #29
0
ファイル: pidgin.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'pidgin', 'chats')
コード例 #30
0
 def __init__(self):
     ModuleInfo.__init__(self, 'shadow', 'sysadmin')
コード例 #31
0
 def __init__(self, browser_name, path):
     self.path = path
     ModuleInfo.__init__(self, browser_name, 'browsers')
コード例 #32
0
    def __init__(self):
        ModuleInfo.__init__(self, name='dbvis', category='databases')

        self._salt = self.get_salt()
        self._passphrase = 'qinda'
        self._iteration = 10
コード例 #33
0
 def __init__(self):
     ModuleInfo.__init__(self, 'wifi', 'wifi')
コード例 #34
0
ファイル: autologon.py プロジェクト: yongqin12/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self,
                         'autologon',
                         'windows',
                         registry_used=True,
                         system_module=True)
コード例 #35
0
ファイル: filezilla.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'filezilla', 'sysadmin')
コード例 #36
0
ファイル: rdpmanager.py プロジェクト: KennyZeng/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'rdpmanager', 'sysadmin', dpapi_used=True)
コード例 #37
0
ファイル: mozilla.py プロジェクト: cclauss/LaZagne
 def __init__(self, browser_name, path):
     self.path = path
     ModuleInfo.__init__(self, browser_name, 'browsers')
コード例 #38
0
ファイル: windows.py プロジェクト: vevenlcf/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'windows', 'windows')
コード例 #39
0
ファイル: cachedump.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'mscache', 'windows', system_module=True)
コード例 #40
0
 def __init__(self):
     ModuleInfo.__init__(self, 'gitforlinux', 'git')
コード例 #41
0
 def __init__(self):
     ModuleInfo.__init__(self, 'opensshforwindows', 'sysadmin')
コード例 #42
0
 def __init__(self):
     ModuleInfo.__init__(self,
                         'vault',
                         'windows',
                         only_from_current_user=True)
コード例 #43
0
ファイル: fstab.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'fstab', 'sysadmin')
コード例 #44
0
 def __init__(self):
     ModuleInfo.__init__(self, 'puttycm', 'sysadmin', registry_used=True)
コード例 #45
0
ファイル: rdpmanager.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'rdpmanager', 'sysadmin', winapi_used=True)
コード例 #46
0
ファイル: opera.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'opera', 'browsers')
コード例 #47
0
ファイル: lsa_secrets.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'lsa_secrets', 'windows', system_module=True)
コード例 #48
0
ファイル: roguestale.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'roguestale', 'games')
コード例 #49
0
ファイル: chromium_based.py プロジェクト: cclauss/LaZagne
 def __init__(self, browser_name, paths):
     self.paths = paths if isinstance(paths, list) else [paths]
     self.database_query = 'SELECT action_url, username_value, password_value FROM logins'
     ModuleInfo.__init__(self, browser_name, 'browsers', winapi_used=True)
コード例 #50
0
ファイル: system.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'system', 'system')
コード例 #51
0
ファイル: tortoise.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'tortoise', 'svn', winapi_used=True)
コード例 #52
0
ファイル: opensshforwindows.py プロジェクト: zoro095/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'opensshforwindows', 'sysadmin')
     self.key_files_location = os.path.join(constant.profile["USERPROFILE"], u'.ssh')
コード例 #53
0
ファイル: vnc.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     self.vnckey = [23, 82, 107, 6, 35, 78, 88, 7]
     ModuleInfo.__init__(self, name='vnc', category='sysadmin')
コード例 #54
0
 def __init__(self):
     ModuleInfo.__init__(self, 'grub', 'sysadmin')
コード例 #55
0
 def __init__(self):
     ModuleInfo.__init__(self, 'apachedirectorystudio', 'sysadmin')
     # Interesting XML attributes in ADS connection configuration
     self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword", "authMethod"]
コード例 #56
0
 def __init__(self):
     ModuleInfo.__init__(self, 'filezilla', 'sysadmin')
コード例 #57
0
ファイル: shadow.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'shadow', 'sysadmin')
コード例 #58
0
 def __init__(self):
     ModuleInfo.__init__(self, 'opera', 'browsers')
コード例 #59
0
ファイル: kalypsomedia.py プロジェクト: cclauss/LaZagne
 def __init__(self):
     ModuleInfo.__init__(self, 'kalypsomedia', 'games')
コード例 #60
0
 def __init__(self):
     ModuleInfo.__init__(self, 'galconfusion', 'games', registry_used=True)