예제 #1
0
 def serverSecureSettings(self):
     nessusConverter = NessusConverter(self.nessusClient.securesettings())
     nessusConverter.secureSettingsListToStructure()
     print "[*] Nessus Secure Settings Updated"
     tableNessusSecureSettings = PrettyTable(["Preferences"])
     tableNessusSecureSettings.padding_width = 1
     tableNessusSecureSettings.add_row([nessusConverter.nessusStructure.secureSettings.preferences])
     print tableNessusSecureSettings
예제 #2
0
 def serverSecureSettings(self):
     nessusConverter = NessusConverter(self.nessusClient.securesettings())
     nessusConverter.secureSettingsListToStructure()
     print "[*] Nessus Secure Settings Updated"
     tableNessusSecureSettings = PrettyTable(["Preferences"])
     tableNessusSecureSettings.padding_width = 1
     tableNessusSecureSettings.add_row(
         [nessusConverter.nessusStructure.secureSettings.preferences])
     print tableNessusSecureSettings
예제 #3
0
    def serverSecureSettingsList(self):
        nessusConverter = NessusConverter(self.nessusClient.securesettingsList(method="POST"))
        nessusConverter.secureSettingsListToStructure()

        print "[*] Nessus Secure Settings"

        tableNessusSecureSettings = PrettyTable(["Proxy Password", "Proxy Port", "Custom Host", "Proxy Username", "User Agent", "Proxy"])
        tableNessusSecureSettings.padding_width = 1
        tableNessusSecureSettings.add_row([nessusConverter.nessusStructure.secureSettings.proxyPassword,
                                nessusConverter.nessusStructure.secureSettings.proxyPort,
                                nessusConverter.nessusStructure.secureSettings.customHost,
                                nessusConverter.nessusStructure.secureSettings.proxyUserName,
                                nessusConverter.nessusStructure.secureSettings.userAgent,
                                nessusConverter.nessusStructure.secureSettings.proxy])
        print tableNessusSecureSettings
예제 #4
0
    def serverSecureSettingsList(self):
        nessusConverter = NessusConverter(
            self.nessusClient.securesettingsList(method="POST"))
        nessusConverter.secureSettingsListToStructure()

        print "[*] Nessus Secure Settings"

        tableNessusSecureSettings = PrettyTable([
            "Proxy Password", "Proxy Port", "Custom Host", "Proxy Username",
            "User Agent", "Proxy"
        ])
        tableNessusSecureSettings.padding_width = 1
        tableNessusSecureSettings.add_row([
            nessusConverter.nessusStructure.secureSettings.proxyPassword,
            nessusConverter.nessusStructure.secureSettings.proxyPort,
            nessusConverter.nessusStructure.secureSettings.customHost,
            nessusConverter.nessusStructure.secureSettings.proxyUserName,
            nessusConverter.nessusStructure.secureSettings.userAgent,
            nessusConverter.nessusStructure.secureSettings.proxy
        ])
        print tableNessusSecureSettings