Coder Social home page Coder Social logo

ronster2018 / xml_nessus_parser Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 11 KB

Makes requests to Nessus API, downloads information, sorts that into csv files, and optionally emails it to who ever needs the information.

License: MIT License

Python 100.00%
nessus-api-python python27 nessus-report nessus parser

xml_nessus_parser's Introduction

XML_Nessus_Parser CI status CI status CI status

The XML Nessus Parser is a tool that makes requests to the Nessus API, downloads, sorts the information to csv files, and optionally emails those files to who needs to see it.

Installation

Requirements

  • Windows
  • Python 2.7
  • requests
  • urllib3

$ pip install -r requirements.txt

Set Up

  • Run setup.py first. This should create the required file structure for the project.

  • Edit the config.py and add your API credentials along with other important information.

# Your Nessus Scanner API Keys
ACCESS_KEY = "Your_Nessus_Access_Key"
SECRET_KEY = "Your_Nessus_SecretKey"

# Your URL for the API
API_URL = "https://nessus.yourInfo.com"

# The Port Number
API_PORT = "1234"

# Warnings Greater than or equal to the number you want
SEVERITY = '1'  # Meaning we will see 1 and above

# Before we can sort the devices to their owners, we need a directory.
# The set up of the Directory is represented with key, value pairs.
# This is represented with the IP on the left, followed by a delimiter, and then the Owners name.

# EX: 10.10.10.10 : Mike
DIRECTORY = False

# Enabling the email functionality. Change to True if you want emails to be sent
# The set up of the Directory is represented with key, value pairs.
# This is represented with the Name on the left and the email on the right with a space in between

# EX: Mike [email protected]
EMAIL = False

# The email address that will be sending the emails
EMAIL_ADDRESS = "[email protected]"
PASSWORD = ""

# When writing your dictionary of IP and Owner, and the email file of Owners and Email
# make sure to include a delimiter that is unique and does not show in the .txt file
# of your choosing
Delimiter = ":"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

xml_nessus_parser's People

Contributors

ronster2018 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mjbxnzr

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.