本文整理汇总了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)
示例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)
示例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)
示例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)
示例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 = []
示例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
示例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 = ' '
示例8: __init__
def __init__(self):
options = {'command': '--HiddenWifiArgs', 'action': 'store_true', 'dest': 'wifipass', 'help': argparse.SUPPRESS}
ModuleInfo.__init__(self, 'wifipass', 'wifi', options)
示例9: __init__
def __init__(self):
options = {'command': '-t', 'action': 'store_true', 'dest': 'turba', 'help': 'turba'}
ModuleInfo.__init__(self, 'turba', 'games', options)
示例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)
示例11: __init__
def __init__(self):
options = {"command": "-s", "action": "store_true", "dest": "skype", "help": "skype"}
ModuleInfo.__init__(self, "skype", "chats", options)
示例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}"
示例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)
示例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"
示例15: __init__
def __init__(self):
options = {'command': '-k', 'action': 'store_true', 'dest': 'kwallet', 'help': 'KWallet'}
ModuleInfo.__init__(self, 'kwallet', 'wallet', options)