当前位置: 首页>>代码示例>>Python>>正文


Python moduleInfo.ModuleInfo类代码示例

本文整理汇总了Python中lazagne.config.moduleInfo.ModuleInfo的典型用法代码示例。如果您正苦于以下问题:Python ModuleInfo类的具体用法?Python ModuleInfo怎么用?Python ModuleInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了ModuleInfo类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

    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)
开发者ID:Cech1337,项目名称:LaZagne,代码行数:29,代码来源:mozilla.py

示例2: __init__

	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
开发者ID:hreese,项目名称:LaZagne,代码行数:7,代码来源:sqldeveloper.py

示例3: __init__

	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)
开发者ID:Cech1337,项目名称:LaZagne,代码行数:7,代码来源:winscp.py

示例4: __init__

	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
开发者ID:Cech1337,项目名称:LaZagne,代码行数:7,代码来源:dbvis.py

示例5: __init__

	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)
开发者ID:xl7dev,项目名称:LaZagne,代码行数:7,代码来源:winscp.py

示例6: __init__

	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 = []
开发者ID:Cech1337,项目名称:LaZagne,代码行数:8,代码来源:shadow.py

示例7: __init__

	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
开发者ID:xl7dev,项目名称:LaZagne,代码行数:10,代码来源:secrets.py

示例8: __init__

	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 = ' '
开发者ID:hreese,项目名称:LaZagne,代码行数:11,代码来源:jitsi.py

示例9: __init__

	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))]))
			}
开发者ID:hreese,项目名称:LaZagne,代码行数:13,代码来源:hashdump.py

示例10: __init__

 def __init__(self):
     options = {"command": "-k", "action": "store_true", "dest": "kwallet", "help": "KWallet"}
     ModuleInfo.__init__(self, "libsecret", "wallet", options)
开发者ID:xl7dev,项目名称:LaZagne,代码行数:3,代码来源:libsecret.py

示例11: __init__

	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)
开发者ID:hreese,项目名称:LaZagne,代码行数:3,代码来源:galconfusion.py

示例12: __init__

	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)
开发者ID:xl7dev,项目名称:LaZagne,代码行数:3,代码来源:dot_net.py

示例13: __init__

	def __init__(self):
		options = {'command': '-s', 'action': 'store_true', 'dest': 'skype', 'help': 'skype'}
		ModuleInfo.__init__(self, 'skype', 'chats', options)

		self.pwdFound = []
开发者ID:psyray,项目名称:WebSecurity,代码行数:5,代码来源:skype.py

示例14: __init__

	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)
开发者ID:psyray,项目名称:WebSecurity,代码行数:4,代码来源:ie.py

示例15: __init__

 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}"
开发者ID:hreese,项目名称:LaZagne,代码行数:6,代码来源:mavenrepositories.py


注:本文中的lazagne.config.moduleInfo.ModuleInfo类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。