No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
nmap2ness.py

README.md

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