Skip to main content

A CLI parser for Nuclei outputs

Project description

Nuclei parser

A Nuclei output parser for CLI

Installation

pip install nucleiparser

Manually installation

git clone https://github.com/sinkmanu/nucleiparser
cd nucleiparser
python3 setup.py install

Usage

Usage: nparse [options]

Options:
  -h, --help            show this help message and exit
  -f FILE, --file=FILE  FILE with json output. If no FILE, uses stdin
  -c COLUMNS, --colums=COLUMNS
                        Columns to print (e.g. template-id,url,info.severity)
  -s SORT, --sort-by=SORT
                        Sort by arg (e.g. info.severity)
  -P, --pretty          Pretty print (default)
  -C, --csv             CSV print

  FILTER OPTIONS:
    --fs=FILTER, --filter-severity=FILTER
                        Filter level of severity (unknown, info, low, medium,
                        high, critical). Comma separated list for more than
                        one
    --ft=FILTER, --filter-template=FILTER
                        Filter by template-id. Comma separated list for more
                        than one
    --fu=FILTER, --filter-url=FILTER
                        Filter by url. Comma separated list for more than one
    --fh=FILTER, --filter-host=FILTER
                        Filter by host. Comma separated list for more than one

Examples

cat example.com_nuclei.json |  nparse                               
+---------------------------------+---------------------------------------------+---------------+
|           template-id           |                     url                     | info.severity |
+---------------------------------+---------------------------------------------+---------------+
|          options-method         |        https://investor.example.com         |      info     |
|          generic-tokens         |        https://investor.example.com         |    unknown    |
|      aws-cloudfront-service     | https://api-weighted-production.example.com |      info     |
|      xss-deprecated-header      |        https://investor.example.com         |      info     |
|      aws-cloudfront-service     |           https://go.example.com            |      info     |
|      aws-cloudfront-service     |        https://clk.email.example.com        |      info     |
|      aws-cloudfront-service     |         https://eclick.example.com          |      info     |
|        aws-bucket-service       |          http://tools.example.com           |      info     |
|        aws-bucket-service       |           https://get.example.com           |      info     |
|      aws-cloudfront-service     |           https://get.example.com           |      info     |
|        aws-bucket-service       |           http://beta.example.com           |      info     |
|      aws-cloudfront-service     |         https://drivers.example.com         |      info     |
|        aws-bucket-service       |          https://take.example.com           |      info     |
|      aws-cloudfront-service     |          https://take.example.com           |      info     |
[REDACTED]

Hacking

Pull requests are welcome.

License

GPL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nucleiparser-0.2.1.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distribution

nucleiparser-0.2.1-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page