예제 #1
0
 def reportList(self):
     nessusConverter = NessusConverter(self.nessusClient.reportList())
     nessusConverter.reportToStructure()
     print "[*] Nessus Report List."
     tableReport = PrettyTable(["Status","Readable Name", "UUID", "Timestamp"])
     if nessusConverter.nessusStructure.reportList is not None:
         for report in nessusConverter.nessusStructure.reportList:
             tableReport.add_row([report.status,
                                  report.readablename,
                                  report.name,
                                  report.timestamp])
     print tableReport
예제 #2
0
 def reportList(self):
     nessusConverter = NessusConverter(self.nessusClient.reportList())
     nessusConverter.reportToStructure()
     print "[*] Nessus Report List."
     tableReport = PrettyTable(
         ["Status", "Readable Name", "UUID", "Timestamp"])
     if nessusConverter.nessusStructure.reportList is not None:
         for report in nessusConverter.nessusStructure.reportList:
             tableReport.add_row([
                 report.status, report.readablename, report.name,
                 report.timestamp
             ])
     print tableReport
예제 #3
0
 def reportDelete(self, reportUuid):
     nessusConverter = NessusConverter(self.nessusClient.reportDelete(reportUuid))
     nessusConverter.reportToStructure()
     if nessusConverter.nessusStructure.report:
         print "[*] Report %s deleted." %(reportUuid)
예제 #4
0
 def reportDelete(self, reportUuid):
     nessusConverter = NessusConverter(
         self.nessusClient.reportDelete(reportUuid))
     nessusConverter.reportToStructure()
     if nessusConverter.nessusStructure.report:
         print "[*] Report %s deleted." % (reportUuid)