예제 #1
0
파일: OWTF-IG-001.py 프로젝트: alienus/owtf
def run(PluginInfo):
    Content = plugin_helper.Requestlink_list(
        'Passive Analysis Results',
        get_resources('PassiveRobotsAnalysisHTTPRequests'), PluginInfo)
    Content += plugin_helper.resource_linklist(
        'Online Resources', get_resources('PassiveRobotsAnalysisLinks'))
    # Try to retrieve the robots.txt file from all defined resources
    Count = 0
    for Name, Resource in get_resources('PassiveRobots'):
        URL = Resource  # Just for clarity
        # Preparing link chunks for disallowed entries
        LinkStart, LinkFinish = URL.split('/robots.txt')
        LinkStart = LinkStart.strip()
        LinkFinish = LinkFinish.strip()
        # Use the cache if possible for speed
        Transaction = requester.get_transaction(True, URL)
        if Transaction is not None and Transaction.found:
            Content += plugin_helper.ProcessRobots(
                PluginInfo, Transaction.get_raw_response_body(), LinkStart,
                LinkFinish, 'robots%s.txt' % str(Count))
            Count += 1
        else:  # Not found or unknown request error
            Message = "Could not be retrieved using resource: %s" % Resource
            logging.info(Message)
        Content += plugin_helper.TransactionTableForURLList(True, [URL])
    return Content
예제 #2
0
파일: OWTF-IG-002.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('PassiveSearchEngineDiscoveryCmd')
    resource_online = get_resources('PassiveSearchEngineDiscoveryLnk')
    Content = plugin_helper.CommandDump('Test Command', 'Output', resource,
                                        PluginInfo, [])
    Content += plugin_helper.resource_linklist('Online Resources',
                                               resource_online)
    return Content
예제 #3
0
파일: OWTF-IG-004.py 프로젝트: alienus/owtf
def run(PluginInfo):
    mapping = [['All', 'CMS_FingerPrint_All'],
               ['WordPress', 'CMS_FingerPrint_WordPress'],
               ['Joomla', 'CMS_FingerPrint_Joomla'],
               ['Drupal', 'CMS_FingerPrint_Drupal'],
               ['Mambo', 'CMS_FingerPrint_Mambo']]
    # Vuln search box to be built in core and reused in different plugins:
    Content = plugin_helper.VulnerabilitySearchBox('')
    resource = get_resources('PassiveFingerPrint')
    Content += plugin_helper.resource_linklist('Online Resources', resource)
    Content += plugin_helper.SuggestedCommandBox(
        PluginInfo, mapping, 'CMS Fingerprint - Potentially useful commands')
    return Content
예제 #4
0
파일: OWTF-SM-002.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('ExternalCookiesAttributes')
    Content = plugin_helper.resource_linklist('Online Hash Cracking Resources',
                                              resource)
    return Content
예제 #5
0
def run(PluginInfo):
    resource = get_resources('PassiveSSIDiscoveryLnk')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #6
0
def run(PluginInfo):
    resource = get_resources('PassiveErrorMessagesLnk')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #7
0
def run(PluginInfo):
    resource = get_resources('ExternalFileExtHandling')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #8
0
def run(PluginInfo):
    resource = get_resources('PassiveOldBackupUnreferencedFilesLnk')
    return plugin_helper.resource_linklist('Online Resources', resource)
예제 #9
0
def run(PluginInfo):
    resource = get_resources('PassiveAdminInterfaceLnk')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #10
0
파일: OWTF-CM-001.py 프로젝트: alienus/owtf
def run(PluginInfo):
    # Vuln search box to be built in core and resued in different plugins:
    resource = get_resources('PassiveSSL')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #11
0
def run(PluginInfo):
    resource = get_resources('ExternalDefaultGuessableUserAccount')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #12
0
def run(PluginInfo):
    # Vuln search box to be built in core and resued in different plugins:
    resource = get_resources('PassiveMethods')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    logging.info("Passive links generated for target")
    return Content
예제 #13
0
파일: OWTF-AT-001.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('ExternalCredentialsTransport')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #14
0
def run(PluginInfo):
    resource = get_resources('ExternalWebAppFingerprint')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #15
0
def run(PluginInfo):
    resource = get_resources('WSPassiveSearchEngineDiscoveryLnk')
    return plugin_helper.resource_linklist('Online Resources', resource)
예제 #16
0
파일: OWTF-DV-001.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('PassiveCrossSiteScripting')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #17
0
파일: OWTF-DV-005.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('PassiveSQLInjectionLnk')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #18
0
파일: OWTF-AT-005.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('ExternalBypassingAuthenticationSchema')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #19
0
def run(PluginInfo):
    resource = get_resources('ExternalCrossSiteFlashing')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #20
0
파일: OWTF-DV-008.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('ExternalXMLInjection')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #21
0
def run(PluginInfo):
    resource = get_resources('ExternalErrorCodes')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #22
0
파일: OWTF-AT-008.py 프로젝트: alienus/owtf
def run(PluginInfo):
    Content = plugin_helper.VulnerabilitySearchBox('')
    resource = get_resources('ExternalCAPTCHA')
    Content += plugin_helper.resource_linklist('Tools', resource)
    return Content
예제 #23
0
def run(PluginInfo):
    resource = get_resources('ExternalSessionManagement')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content
예제 #24
0
파일: OWTF-AT-006.py 프로젝트: alienus/owtf
def run(PluginInfo):
    resource = get_resources('ExternalRememberPasswordAndReset')
    Content = plugin_helper.resource_linklist('Online Resources', resource)
    return Content