GithubHelp home page GithubHelp logo

nmap2nessus's Introduction

Prerequisites

pip install requests --upgrade

sudo python nmap2ness.py -h usage: nmap2ness.py [-h] [-s HOSTIP] [-n SCANID] [-u USERNAME] [-p PASSWORD] [-i INFILE] [-o OUTFILE]

optional arguments:
  -h, --help   show this help message and exit
  -s HOSTIP    [nessus server IP]
  -u USERNAME  [username]
  -p PASSWORD  [password]
  -t TEMPLATEFILE  [Nessus template name to use]
  -i INFILE    [nmap xml file]
  -n SCANID    [lookup job based on scan_id (optional)]
  -o OUTFILE   [nessus report (csv) (optional)]

#####Start a nessus scan by connecting to Nessus server 127.0.0.1

sudo python nmap2ness.py -u root -p 1234 -i nmapt_target.xml -s 127.0.0.1

- Launching new Nessus scan
- Extracting ports from nmapt_target.xml
- Modifying Nessus policy
- Logging into Nessus
- Uploading Policy
- Starting Nessus Scan
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : canceled

- Summary of Results (Critical/High/Medium)
Critical   176.28.50.165:80                                                PHP Unsupported Version Detection
High       176.28.50.165:80                                      PHP 5.3.x < 5.3.29 Multiple Vulnerabilities
Medium     176.28.50.165:110                                                           SSL Certificate Expiry
Medium     176.28.50.165:110                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:110                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:143                                                           SSL Certificate Expiry
Medium     176.28.50.165:143                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:143                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:25                                                           SSL Certificate Expiry
Medium     176.28.50.165:25                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:25                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:465                                                           SSL Certificate Expiry
Medium     176.28.50.165:465                                           SSL Version 2 and 3 Protocol Detection
Medium     176.28.50.165:465                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:465                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:465      SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)
Medium     176.28.50.165:993                                                           SSL Certificate Expiry
Medium     176.28.50.165:993                                           SSL Version 2 and 3 Protocol Detection
Medium     176.28.50.165:993                                                 SSL Weak Cipher Suites Supported
Medium     176.28.50.165:993                                      SSL Medium Strength Cipher Suites Supported
Medium     176.28.50.165:993                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:993                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:993      SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)
Medium     176.28.50.165:995                                                           SSL Certificate Expiry
Medium     176.28.50.165:995                                           SSL Version 2 and 3 Protocol Detection
Medium     176.28.50.165:995                                                 SSL Weak Cipher Suites Supported
Medium     176.28.50.165:995                                      SSL Medium Strength Cipher Suites Supported
Medium     176.28.50.165:995                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:995                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:995      SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)

- Nessus report has been saved to: report.csv

#####If you have started a Nessus job but the scripts accidentally gets terminated, you can connect back to the Nessus server by specifying the Scan_ID using the -n parameter

sudo python nmap2ness.py -u root -p 1234 -n 224

- Logging into Nessus
- Starting Nessus Scan
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : running
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : paused
- Checking Job Status: 224 : canceled

- Summary of Results (Critical/High/Medium)
Critical   176.28.50.165:80                                                PHP Unsupported Version Detection
High       176.28.50.165:80                                      PHP 5.3.x < 5.3.29 Multiple Vulnerabilities
Medium     176.28.50.165:110                                                           SSL Certificate Expiry
Medium     176.28.50.165:110                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:110                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:143                                                           SSL Certificate Expiry
Medium     176.28.50.165:143                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:143                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:25                                                           SSL Certificate Expiry
Medium     176.28.50.165:25                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:25                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:465                                                           SSL Certificate Expiry
Medium     176.28.50.165:465                                           SSL Version 2 and 3 Protocol Detection
Medium     176.28.50.165:465                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:465                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:465      SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)
Medium     176.28.50.165:993                                                           SSL Certificate Expiry
Medium     176.28.50.165:993                                           SSL Version 2 and 3 Protocol Detection
Medium     176.28.50.165:993                                                 SSL Weak Cipher Suites Supported
Medium     176.28.50.165:993                                      SSL Medium Strength Cipher Suites Supported
Medium     176.28.50.165:993                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:993                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:993      SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)
Medium     176.28.50.165:995                                                           SSL Certificate Expiry
Medium     176.28.50.165:995                                           SSL Version 2 and 3 Protocol Detection
Medium     176.28.50.165:995                                                 SSL Weak Cipher Suites Supported
Medium     176.28.50.165:995                                      SSL Medium Strength Cipher Suites Supported
Medium     176.28.50.165:995                                                SSL Certificate Cannot Be Trusted
Medium     176.28.50.165:995                                                      SSL Self-Signed Certificate
Medium     176.28.50.165:995      SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)

- Nessus report has been saved to: report.csv

nmap2nessus's People

Contributors

milo2012 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.