Exemplo n.º 1
0
	def __init__(self):
		options = {'command': '-d', 'action': 'store_true', 'dest': 'dbvis', 'help': 'dbvisualizer'}
		ModuleInfo.__init__(self, 'dbvis', 'database', options, need_to_be_in_env=False)

		self._salt 			= self.get_salt()
		self._passphrase 	= 'qinda'
		self._iteration 	= 10
Exemplo n.º 2
0
    def __init__(self):
        options = {
            'command': '-j',
            'action': 'store_true',
            'dest': 'jitsi',
            'help': 'jitsi'
        }
        suboptions = [{
            'command': '-ma',
            'action': 'store',
            'dest': 'master_pwd',
            'help': 'enter the master password manually',
            'title': 'Advanced jitsi option'
        }]
        ModuleInfo.__init__(self,
                            'jitsi',
                            'chats',
                            options,
                            suboptions,
                            need_to_be_in_env=False)

        self.keylen = 16
        self.iterations = 1024
        self.padding = '\f'
        self.account_id = ''
        self.master_password_used = False
        self.masterpass = '******'
Exemplo n.º 3
0
	def __init__(self):
		options = {'command': '-s', 'action': 'store_true', 'dest': 'sqldeveloper', 'help': 'sqldeveloper'}
		ModuleInfo.__init__(self, 'sqldeveloper', 'database', options, need_to_be_in_env=False)
		
		self._salt = self.get_salt()
		self._passphrase = None
		self._iteration = 42
Exemplo n.º 4
0
 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}"
Exemplo n.º 5
0
	def __init__(self):
		self.hash = ''
		self.username = ''
		self.hostname = ''
		
		options = {'command': '-scp', 'action': 'store_true', 'dest': 'winscp', 'help': 'winscp'}
		ModuleInfo.__init__(self, 'winscp', 'sysadmin', options, cannot_be_impersonate_using_tokens=True)
Exemplo n.º 6
0
    def __init__(self, isThunderbird=False):

        self.credentials_categorie = None

        self.toCheck = []
        self.manually_pass = None
        self.dictionary_path = None
        self.number_toStop = None

        self.key3 = ''

        # Manage options
        suboptions = [{'command': '-m', 'action': 'store', 'dest': 'manually',
                       'help': 'enter the master password manually',
                       'title': 'Advanced Mozilla master password options'},
            {'command': '-s', 'action': 'store', 'dest': 'specific_path',
             'help': 'enter the specific path to a profile you want to crack',
             'title': 'Advanced Mozilla master password options'}]

        if not isThunderbird:
            options = {'command': '-f', 'action': 'store_true',
                       'dest': 'firefox', 'help': 'firefox'}
            ModuleInfo.__init__(self, 'firefox', 'browsers', options,
                                suboptions)
        else:
            options = {'command': '-t', 'action': 'store_true',
                       'dest': 'thunderbird', 'help': 'thunderbird'}
            ModuleInfo.__init__(self, 'thunderbird', 'browsers', options,
                                suboptions)
Exemplo n.º 7
0
	def __init__(self):
		self.hash = ''
		self.username = ''
		self.hostname = ''
		
		options = {'command': '-scp', 'action': 'store_true', 'dest': 'winscp', 'help': 'winscp'}
		ModuleInfo.__init__(self, 'winscp', 'sysadmin', options)
Exemplo n.º 8
0
 def __init__(self):
     options = {
         'command': '-e',
         'action': 'store_true',
         'dest': 'env',
         'help': 'environment variables'
     }
     ModuleInfo.__init__(self, 'Environment variables', 'sysadmin', options)
Exemplo n.º 9
0
	def __init__(self):
		# Manage options
		options = {'command': '-s', 'action': 'store_true', 'dest': 'shadow', 'help': '/etc/shadow - Need root Privileges'}
		ModuleInfo.__init__(self, 'shadow', 'sysadmin', options)	

		self.filestr = '/etc/shadow'
		self.hash = '\n'
		self.pwdFound = []
Exemplo n.º 10
0
 def __init__(self):
     options = {
         'command': '-t',
         'action': 'store_true',
         'dest': 'gitforwindows',
         'help': 'Git for Windows'
     }
     ModuleInfo.__init__(self, 'gitforwindows', 'git', options)
Exemplo n.º 11
0
 def __init__(self):
     options = {
         'command': '-p',
         'action': 'store_true',
         'dest': 'puttycm',
         'help': 'puttycm'
     }
     ModuleInfo.__init__(self, 'puttycm', 'sysadmin', options)
Exemplo n.º 12
0
 def __init__(self):
     options = {
         'command': '-o',
         'action': 'store_true',
         'dest': 'outlook',
         'help': 'outlook - IMAP, POP3, HTTP, SMTP, LDPAP (not Exchange)'
     }
     ModuleInfo.__init__(self, 'outlook', 'mails', options)
Exemplo n.º 13
0
 def __init__(self):
     options = {
         'command': '-chainbreaker',
         'action': 'store_true',
         'dest': 'keychain',
         'help': 'Dump keychain'
     }
     ModuleInfo.__init__(self, 'chainbreaker', 'system', options)
Exemplo n.º 14
0
 def __init__(self):
     options = {
         'command': '-c',
         'action': 'store_true',
         'dest': 'clawsmail',
         'help': 'clawsmail'
     }
     ModuleInfo.__init__(self, 'clawsmail', 'mails', options)
Exemplo n.º 15
0
 def __init__(self):
     options = {
         'command': '-wi',
         'action': 'store_true',
         'dest': 'wifi',
         'help': 'Network Manager - Need root Privileges'
     }
     ModuleInfo.__init__(self, 'wifi', 'wifi', options)
Exemplo n.º 16
0
 def __init__(self):
     options = {
         'command': '-t',
         'action': 'store_true',
         'dest': 'turba',
         'help': 'turba'
     }
     ModuleInfo.__init__(self, 'turba', 'games', options)
Exemplo n.º 17
0
 def __init__(self):
     options = {
         'command': '-n',
         'action': 'store_true',
         'dest': 'network',
         'help': 'generic network credentials'
     }
     ModuleInfo.__init__(self, 'Generic Network', 'windows', options)
Exemplo n.º 18
0
 def __init__(self):
     options = {
         'command': '-d',
         'action': 'store_true',
         'dest': 'dbvis',
         'help': 'dbvisualizer'
     }
     ModuleInfo.__init__(self, 'dbvis', 'database', options)
Exemplo n.º 19
0
 def __init__(self):
     options = {
         'command': '--rdp',
         'action': 'store_true',
         'dest': 'rdp_manager',
         'help': 'RDP Connection Manager'
     }
     ModuleInfo.__init__(self, 'rdpmanager', 'sysadmin', options)
Exemplo n.º 20
0
 def __init__(self):
     options = {
         'command': '-k',
         'action': 'store_true',
         'dest': 'keepass',
         'help': 'retrieve keepass password using KeeThief'
     }
     ModuleInfo.__init__(self, 'keepass', 'memory', options)
Exemplo n.º 21
0
 def __init__(self):
     options = {
         'command': '-g',
         'action': 'store_true',
         'dest': 'gnomeKeyring',
         'help': 'Gnome Keyring'
     }
     ModuleInfo.__init__(self, 'gnomeKeyring', 'wallet', options)
Exemplo n.º 22
0
 def __init__(self):
     options = {
         'command': '-C',
         'action': 'store_true',
         'dest': 'chrome',
         'help': 'chrome'
     }
     ModuleInfo.__init__(self, 'chrome', 'browsers', options)
Exemplo n.º 23
0
 def __init__(self):
     options = {
         'command': '-q',
         'action': 'store_true',
         'dest': 'squirrel',
         'help': 'squirrel'
     }
     ModuleInfo.__init__(self, 'squirrel', 'database', options)
Exemplo n.º 24
0
 def __init__(self):
     options = {
         'command': '-k',
         'action': 'store_true',
         'dest': 'kwallet',
         'help': 'KWallet'
     }
     ModuleInfo.__init__(self, 'kwallet', 'wallet', options)
Exemplo n.º 25
0
 def __init__(self):
     options = {
         'command': '-d',
         'action': 'store_true',
         'dest': 'dotnet',
         'help': 'domain visible network (.Net Passport) Passwords'
     }
     ModuleInfo.__init__(self, 'Dot Net', 'windows', options)
Exemplo n.º 26
0
 def __init__(self):
     options = {
         'command': '-t',
         'action': 'store_true',
         'dest': 'tortoise',
         'help': 'tortoise'
     }
     ModuleInfo.__init__(self, 'tortoise', 'svn', options)
Exemplo n.º 27
0
 def __init__(self):
     options = {
         'command': '-p',
         'action': 'store_true',
         'dest': 'pidgin',
         'help': 'pidgin'
     }
     ModuleInfo.__init__(self, 'pidgin', 'chats', options)
Exemplo n.º 28
0
 def __init__(self):
     options = {
         'command': '-m',
         'action': 'store_true',
         'dest': 'memory_dump',
         'help': 'retrieve browsers passwords from memory'
     }
     ModuleInfo.__init__(self, 'memory_dump', 'memory', options)
Exemplo n.º 29
0
 def __init__(self):
     options = {
         'command': '-phpcomp',
         'action': 'store_true',
         'dest': 'composer',
         'help': 'PHP Composer'
     }
     ModuleInfo.__init__(self, 'composer', 'php', options)
Exemplo n.º 30
0
 def __init__(self):
     options = {
         'command': '-ftp',
         'action': 'store_true',
         'dest': 'ftpnavigator',
         'help': 'FTP Navigator'
     }
     ModuleInfo.__init__(self, 'ftpnavigator', 'sysadmin', options)
Exemplo n.º 31
0
 def __init__(self):
     options = {
         'command': '-r',
         'action': 'store_true',
         'dest': 'roguestale',
         'help': 'Extract Rogue\'s Tale SHA1 password hashes.'
     }
     ModuleInfo.__init__(self, 'roguestale', 'games', options)
Exemplo n.º 32
0
 def __init__(self):
     options = {
         'command': '-s',
         'action': 'store_true',
         'dest': 'sqldeveloper',
         'help': 'sqldeveloper'
     }
     ModuleInfo.__init__(self, 'sqldeveloper', 'database', options)
Exemplo n.º 33
0
	def __init__(self):
		options = {'command': '-hashdump', 'action': 'store_true', 'dest': 'hashdump', 'help': 'System hash'}
		ModuleInfo.__init__(self, 'hashdump', 'system', options)

		self.username 	= None
		self.iterations = None
		self.salthex 	= None
		self.entropyhex = None
Exemplo n.º 34
0
 def __init__(self):
     options = {
         'command': '-wi',
         'action': 'store_true',
         'dest': 'wifi',
         'help': 'Vista and higher - Need System Privileges'
     }
     ModuleInfo.__init__(self, 'Wifi', 'wifi', options)
Exemplo n.º 35
0
 def __init__(self):
     options = {
         'command': '-c',
         'action': 'store_true',
         'dest': 'cyberduck',
         'help': 'cyberduck'
     }
     ModuleInfo.__init__(self, 'cyberduck', 'sysadmin', options)
Exemplo n.º 36
0
	def __init__(self):
		options = {'command': '-s', 'action': 'store_true', 'dest': 'secrets', 'help': 'Windows secrets (hashes, lsa secrets, etc.)'}
		ModuleInfo.__init__(self, 'Windows secrets', 'windows', options)
		
		self.sysFile = ['sam', 'security', 'system']
		self.address = 'LOCAL'
		self.ntds = os.environ['systemroot'] + os.sep + 'ntds' + os.sep + 'ntds.dit'
		if not os.path.exists(self.ntds):
			self.ntds = None
		self.history = True
Exemplo n.º 37
0
	def __init__(self):
		options = {'command': '-j', 'action': 'store_true', 'dest': 'jitsi', 'help': 'jitsi'}
		suboptions = [{'command': '-ma', 'action': 'store', 'dest': 'master_pwd', 'help': 'enter the master password manually', 'title': 'Advanced jitsi option'}]
		ModuleInfo.__init__(self, 'jitsi', 'chats', options, suboptions)

		self.keylen = 32
		self.iterations = 1024
		self.padding = '\f'
		self.account_id = ''
		self.master_password_used = False
		self.masterpass = '******'
Exemplo n.º 38
0
	def __init__(self):
		options = {'command': '--hash', 'action': 'store_true', 'dest': 'hashdump', 'help': 'retrieve Windows hashes'}
		ModuleInfo.__init__(self, 'hashes', 'windows', options, need_system_privileges=True)

		self.FILTER=''.join([(len(repr(chr(x)))==3) and chr(x) or '.' for x in range(256)])
		
		if not constant.hives:
			tmp = tempfile.gettempdir()
			constant.hives = {
				'sam' 		:  	os.path.join(tmp, ''.join([random.choice(string.ascii_lowercase) for x in range(0, random.randint(6, 12))])),
				'security'	: 	os.path.join(tmp, ''.join([random.choice(string.ascii_lowercase) for x in range(0, random.randint(6, 12))])),
				'system'	: 	os.path.join(tmp, ''.join([random.choice(string.ascii_lowercase) for x in range(0, random.randint(6, 12))]))
			}
Exemplo n.º 39
0
	def __init__(self):
		options = {'command': '-r', 'action': 'store_true', 'dest': 'roguestale', 'help': 'Extract Rogue\'s Tale SHA1 password hashes.'}
		ModuleInfo.__init__(self, 'roguestale', 'games', options, need_to_be_in_env=False)
Exemplo n.º 40
0
 def __init__(self):
     options = {'command': '--rdp', 'action': 'store_true', 'dest': 'rdp_manager', 'help': 'RDP Connection Manager'}
     ModuleInfo.__init__(self, 'rdpmanager', 'sysadmin', options)
Exemplo n.º 41
0
	def __init__(self):
		options = {'command': '-wp', 'action': 'store_true', 'dest': 'wpa_supplicant', 'help': 'WPA Supplicant - Need root Privileges'}
		ModuleInfo.__init__(self, 'wpa_supplicant', 'wifi', options)
Exemplo n.º 42
0
 def __init__(self):
     options = {'command': '-phpcomp', 'action': 'store_true', 'dest': 'composer', 'help': 'PHP Composer'}
     ModuleInfo.__init__(self, 'composer', 'php', options)
Exemplo n.º 43
0
	def __init__(self):
		options = {'command': '-f', 'action': 'store_true', 'dest': 'filezilla', 'help': 'filezilla'}
		ModuleInfo.__init__(self, 'filezilla', 'sysadmin', options)
Exemplo n.º 44
0
 def __init__(self):
     options = {'command': '-c', 'action': 'store_true', 'dest': 'clawsmail', 'help': 'clawsmail'}
     ModuleInfo.__init__(self, 'clawsmail', 'mails', options)    
Exemplo n.º 45
0
	def __init__(self):
		options = {'command': '-e', 'action': 'store_true', 'dest': 'env', 'help': 'environment variables'}
		ModuleInfo.__init__(self, 'Environment variables', 'sysadmin', options)
Exemplo n.º 46
0
	def __init__(self):
		options = {'command': '-coccoc', 'action': 'store_true', 'dest': 'coccoc', 'help': 'coccoc'}
		ModuleInfo.__init__(self, 'coccoc', 'browsers', options)
Exemplo n.º 47
0
 def __init__(self):
     options = {'command': '-mvn', 'action': 'store_true', 'dest': 'mavenrepositories', 'help': 'Maven repositories'}
     ModuleInfo.__init__(self, 'mavenrepositories', 'maven', options)
     # 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}"
Exemplo n.º 48
0
	def __init__(self):
		options = {'command': '--mimi', 'action': 'store_true', 'dest': 'mimipy', 'help': 'System passwords retrieved from memory'}
		ModuleInfo.__init__(self, 'mimipy', 'memory', options)
Exemplo n.º 49
0
	def __init__(self):
		options = {'command': '-d', 'action': 'store_true', 'dest': 'dotnet', 'help': 'domain visible network (.Net Passport) Passwords'}
		ModuleInfo.__init__(self, 'Dot Net', 'windows', options)
Exemplo n.º 50
0
	def __init__(self):
		options = {'command': '--autologon', 'action': 'store_true', 'dest': 'autologon', 'help': 'Windows autologon'}
		ModuleInfo.__init__(self, 'Autologon', 'windows', options, cannot_be_impersonate_using_tokens=True)
Exemplo n.º 51
0
	def __init__(self):
		options = {'command': '-q', 'action': 'store_true', 'dest': 'squirrel', 'help': 'squirrel'}
		ModuleInfo.__init__(self, 'squirrel', 'database', options)
Exemplo n.º 52
0
	def __init__(self):
		options = {'command': '-wi', 'action': 'store_true', 'dest': 'wifi', 'help': 'Vista and higher - Need System Privileges'}
		ModuleInfo.__init__(self, 'Wifi', 'wifi', options, need_system_privileges=True)
Exemplo n.º 53
0
	def __init__(self):
		options = {'command': '-e', 'action': 'store_true', 'dest': 'Internet Explorer', 'help': 'internet explorer (stored in registry and using the credential manager)'}
		suboptions = [{'command': '-l', 'action': 'store', 'dest': 'historic', 'help': 'text file with a list of websites', 'title': 'Advanced ie option'}]
		ModuleInfo.__init__(self, 'ie', 'browsers', options, suboptions, cannot_be_impersonate_using_tokens=True)
Exemplo n.º 54
0
	def __init__(self):
		options = {'command': '-g', 'action': 'store_true', 'dest': 'galconfusion', 'help': 'galconfusion'}
		ModuleInfo.__init__(self, 'galconfusion', 'games', options, cannot_be_impersonate_using_tokens=True)
Exemplo n.º 55
0
 def __init__(self):
     options = {"command": "-k", "action": "store_true", "dest": "kwallet", "help": "KWallet"}
     ModuleInfo.__init__(self, "libsecret", "wallet", options)
Exemplo n.º 56
0
	def __init__(self):
		options = {'command': '-d', 'action': 'store_true', 'dest': 'dbvis', 'help': 'dbvisualizer'}
		ModuleInfo.__init__(self, 'dbvis', 'database', options)
Exemplo n.º 57
0
	def __init__(self):
		options = {'command': '-s', 'action': 'store_true', 'dest': 'skype', 'help': 'skype'}
		ModuleInfo.__init__(self, 'skype', 'chats', options)

		self.pwdFound = []
Exemplo n.º 58
0
 def __init__(self):
     options = {"command": "-ftp", "action": "store_true", "dest": "ftpnavigator", "help": "FTP Navigator"}
     ModuleInfo.__init__(self, "ftpnavigator", "sysadmin", options)
Exemplo n.º 59
0
	def __init__(self):
		options = {'command': '-c', 'action': 'store_true', 'dest': 'cyberduck', 'help': 'cyberduck'}
		ModuleInfo.__init__(self, 'cyberduck', 'sysadmin', options)