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


Python moduleInfo.ModuleInfo类代码示例

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


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

示例1: __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:AmineCherrai,项目名称:LaZagne,代码行数:7,代码来源:winscp.py

示例2: __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:youmuyou,项目名称:LaZagne,代码行数:35,代码来源:mozilla.py

示例3: __init__

	def __init__(self, isThunderbird = False):
		
		self.credentials_categorie = None	

		self.toCheck = []
		self.manually_pass = None
		self.dictionnary_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': '-p', 'action': 'store', 'dest': 'path', 'help': 'path of a dictionnary file', 'title': 'Advanced Mozilla master password options'},
			{'command': '-b', 'type':int, 'action': 'store', 'dest': 'bruteforce', 'help': 'number of caracter to brute force', 'title': 'Advanced Mozilla master password options'},
			{'command': '-d', 'action': 'store_true', 'dest': 'defaultpass', 'help': 'try 500 most common passwords', '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:0ps,项目名称:LaZagne,代码行数:26,代码来源:mozilla.py

示例4: __init__

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

示例5: __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:Macbernie,项目名称:LaZagne,代码行数:8,代码来源:shadow.py

示例6: __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:0ps,项目名称:LaZagne,代码行数:10,代码来源:secrets.py

示例7: __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 = 16
		self.iterations = 1024
		self.padding = '\f'
		self.account_id = ''
		self.master_password_used = False
		self.masterpass = ' '
开发者ID:BlueSkeye,项目名称:LaZagne,代码行数:11,代码来源:jitsi.py

示例8: __init__

	def __init__(self):
		options = {'command': '--HiddenWifiArgs', 'action': 'store_true', 'dest': 'wifipass', 'help': argparse.SUPPRESS}
		ModuleInfo.__init__(self, 'wifipass', 'wifi', options)
开发者ID:0ps,项目名称:LaZagne,代码行数:3,代码来源:wifipass.py

示例9: __init__

	def __init__(self):
		options = {'command': '-t', 'action': 'store_true', 'dest': 'turba', 'help': 'turba'}
		ModuleInfo.__init__(self, 'turba', 'games', options)
开发者ID:601040605,项目名称:LaZagne,代码行数:3,代码来源:turba.py

示例10: __init__

	def __init__(self):
		options = {'command': '-e', 'action': 'store_true', 'dest': 'ie', 'help': 'internet explorer from version 7 to 11 (but not with win8)'}
		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)
开发者ID:0ps,项目名称:LaZagne,代码行数:4,代码来源:ie.py

示例11: __init__

 def __init__(self):
     options = {"command": "-s", "action": "store_true", "dest": "skype", "help": "skype"}
     ModuleInfo.__init__(self, "skype", "chats", options)
开发者ID:AdLindsay,项目名称:LaZagne,代码行数:3,代码来源:skype.py

示例12: __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:youmuyou,项目名称:LaZagne,代码行数:6,代码来源:mavenrepositories.py

示例13: __init__

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

示例14: __init__

 def __init__(self):
     options = {'command': '-winssh', 'action': 'store_true', 'dest': 'opensshforwindows', 'help': 'OpenSSH for Windows'}
     ModuleInfo.__init__(self, 'opensshforwindows', 'sysadmin', options)
     self.key_files_location = environ.get("USERPROFILE") + "\\.ssh"
开发者ID:youmuyou,项目名称:LaZagne,代码行数:4,代码来源:opensshforwindows.py

示例15: __init__

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


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