# 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 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](https://www.gnu.org/licenses/gpl-3.0.txt)
Raw data
{
"_id": null,
"home_page": "https://github.com/sinkmanu/nucleiparser",
"name": "nucleiparser",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "nuclei,pentesting,nuclei parser",
"author": "Manuel Mancera",
"author_email": "Manuel Mancera <manu@unam.re>",
"download_url": "https://files.pythonhosted.org/packages/4b/43/83a20d685fe7d70c50f0b8fb76f030a43106c431c77c9a9d55d2195adfcb/nucleiparser-0.2.1.tar.gz",
"platform": null,
"description": "# Nuclei parser\n\nA [Nuclei](https://github.com/projectdiscovery/nuclei) output parser for CLI\n\n## Installation\n\n```sh\npip install nucleiparser\n```\n\n### Manually installation\n\n```\ngit clone https://github.com/sinkmanu/nucleiparser\ncd nucleiparser\npython3 setup.py install\n```\n\n## Usage\n\n```\nUsage: nparse [options]\n\nOptions:\n -h, --help show this help message and exit\n -f FILE, --file=FILE FILE with json output. If no FILE, uses stdin\n -c COLUMNS, --colums=COLUMNS\n Columns to print (e.g. template-id,url,info.severity)\n -s SORT, --sort-by=SORT\n Sort by arg (e.g. info.severity)\n -P, --pretty Pretty print (default)\n -C, --csv CSV print\n\n FILTER OPTIONS:\n --fs=FILTER, --filter-severity=FILTER\n Filter level of severity (unknown, info, low, medium,\n high, critical). Comma separated list for more than\n one\n --ft=FILTER, --filter-template=FILTER\n Filter by template-id. Comma separated list for more\n than one\n --fu=FILTER, --filter-url=FILTER\n Filter by url. Comma separated list for more than one\n --fh=FILTER, --filter-host=FILTER\n Filter by host. Comma separated list for more than one\n```\n\n### Examples\n```\ncat example.com_nuclei.json | nparse \n+---------------------------------+---------------------------------------------+---------------+\n| template-id | url | info.severity |\n+---------------------------------+---------------------------------------------+---------------+\n| options-method | https://investor.example.com | info |\n| generic-tokens | https://investor.example.com | unknown |\n| aws-cloudfront-service | https://api-weighted-production.example.com | info |\n| xss-deprecated-header | https://investor.example.com | info |\n| aws-cloudfront-service | https://go.example.com | info |\n| aws-cloudfront-service | https://clk.email.example.com | info |\n| aws-cloudfront-service | https://eclick.example.com | info |\n| aws-bucket-service | http://tools.example.com | info |\n| aws-bucket-service | https://get.example.com | info |\n| aws-cloudfront-service | https://get.example.com | info |\n| aws-bucket-service | http://beta.example.com | info |\n| aws-cloudfront-service | https://drivers.example.com | info |\n| aws-bucket-service | https://take.example.com | info |\n| aws-cloudfront-service | https://take.example.com | info |\n[REDACTED]\n```\n\n## Hacking\n\nPull requests are welcome. \n\n## License\n\n[GPL](https://www.gnu.org/licenses/gpl-3.0.txt)\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "A CLI parser for Nuclei outputs",
"version": "0.2.1",
"project_urls": {
"Bug Tracker": "https://github.com/sinkmanu/nucleiparser/issues",
"Homepage": "https://github.com/sinkmanu/nucleiparser",
"Source": "https://github.com/sinkmanu/nucleiparser"
},
"split_keywords": [
"nuclei",
"pentesting",
"nuclei parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4336424b30f700644d66ebf369bfe51cb914323b3d6f8322850414f318b5e654",
"md5": "adc49fa125749583ef2ffe0577fad29c",
"sha256": "6a7ce09ef05ae85da827d47a67601e5259de54ac93c6d4eda0d3d12dac0446b0"
},
"downloads": -1,
"filename": "nucleiparser-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "adc49fa125749583ef2ffe0577fad29c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 18586,
"upload_time": "2023-12-26T08:17:03",
"upload_time_iso_8601": "2023-12-26T08:17:03.990717Z",
"url": "https://files.pythonhosted.org/packages/43/36/424b30f700644d66ebf369bfe51cb914323b3d6f8322850414f318b5e654/nucleiparser-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4b4383a20d685fe7d70c50f0b8fb76f030a43106c431c77c9a9d55d2195adfcb",
"md5": "baca3e63b932d6d402ef185b5aebec77",
"sha256": "d8a1dea7dece9db4a1c1f5cd2d37b36c5f4667b9d59c35b987cf8ca499cffec4"
},
"downloads": -1,
"filename": "nucleiparser-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "baca3e63b932d6d402ef185b5aebec77",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 18097,
"upload_time": "2023-12-26T08:17:07",
"upload_time_iso_8601": "2023-12-26T08:17:07.480035Z",
"url": "https://files.pythonhosted.org/packages/4b/43/83a20d685fe7d70c50f0b8fb76f030a43106c431c77c9a9d55d2195adfcb/nucleiparser-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-26 08:17:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sinkmanu",
"github_project": "nucleiparser",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "nucleiparser"
}