https://github.com/sinkmanu/nucleiparser
A Nuclei output parser for CLI
https://github.com/sinkmanu/nucleiparser
json-parser nuclei parse-nuclei
Last synced: 8 months ago
JSON representation
A Nuclei output parser for CLI
- Host: GitHub
- URL: https://github.com/sinkmanu/nucleiparser
- Owner: Sinkmanu
- License: gpl-3.0
- Created: 2023-12-17T08:55:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-07T19:45:35.000Z (over 1 year ago)
- Last Synced: 2025-01-30T17:51:25.578Z (8 months ago)
- Topics: json-parser, nuclei, parse-nuclei
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuclei parser
A [Nuclei](https://github.com/projectdiscovery/nuclei) output parser for CLI
## Installation
```sh
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 printFILTER 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](https://www.gnu.org/licenses/gpl-3.0.txt)