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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nucleiparser-0.2.1.tar.gz.

File metadata

  • Download URL: nucleiparser-0.2.1.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for nucleiparser-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d8a1dea7dece9db4a1c1f5cd2d37b36c5f4667b9d59c35b987cf8ca499cffec4
MD5 baca3e63b932d6d402ef185b5aebec77
BLAKE2b-256 4b4383a20d685fe7d70c50f0b8fb76f030a43106c431c77c9a9d55d2195adfcb

See more details on using hashes here.

File details

Details for the file nucleiparser-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: nucleiparser-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for nucleiparser-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a7ce09ef05ae85da827d47a67601e5259de54ac93c6d4eda0d3d12dac0446b0
MD5 adc49fa125749583ef2ffe0577fad29c
BLAKE2b-256 4336424b30f700644d66ebf369bfe51cb914323b3d6f8322850414f318b5e654

See more details on using hashes here.

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