nuclipy
A simple template based vulnerability scanner (Inspired by ProjectDiscovery's Nuclei)
Dependencies
nuclipy depends upon python3 and the following modules requests, argparse and PyYaml.
Installation
- Installation on Windows:
python -m pip install nuclipy
- Installation on Linux:
sudo pip3 install nuclipy
Usage
| Short from | Long form | Description |
|---|---|---|
| -h | --help | Show the help menu |
| -u | --hostname | Hostname to scan for vulnerabilities |
| -U | --hostnames | File containing target hostnames |
| -t | --template | Template id or path of template |
| -T | --threads | Number of threads (default=10) |
| -o | --output | Output file |
How to use templates?
You can find some templates in templates/ directory.
- Use a specific template
python -m nuclipy -u example.com -t git-config.yaml
- Use all templates
python -m nuclipy -u example.com -t all
- Save the output to a file
python -m nuclipy -u example.com -t all -o nuclipy-output.txt
- Check all templates, for multiple targets
python -m nuclipy -U target_hostnames.txt -t all
How to write your own templates?
id: git-config
name: Git Config Exposure
severity: medium
requests:
- method: GET
paths:
- "HOSTNAME/.git/config"
patterns:
- \[core\]
id: id_of_the_template, usually resembles to the filename of the template without extensionname: Name of the template to show in the resultsseverity: severity of the vulnerability (high,low,mediumorinfo)requests: Some request attributes and List ofpathsandpatternsmethod: HTTP request method (GETorPOST)redirects: Allow redirection or not (tureorfalse)paths: List of paths to send requestspatterns: List of Regular Expressioins to match in the responses (withANDcondition)
Metadata
Release files for nuclipy 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nuclipy-1.0.3.tar.gz | 16.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nuclipy-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.0 kB
Release files / nuclipy-1.0.3.tar.gz
| Download URL | nuclipy-1.0.3.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e057b8fa8564d08254b0976b38c6a1e24225dc9a9b9b84d50c6cefadb43bbc1
|
|
BLAKE2b-256 checksum How to use checksums |
9ab26e17bb53346ebf072ac928eee34423441999fc0e1ee9eed6af8efa0b6bae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / nuclipy-1.0.3-py3-none-any.whl
| Download URL | nuclipy-1.0.3-py3-none-any.whl |
|---|---|
| Size | 33.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6d51aaf474656cadf100df9f5f1eef0a5acd92997756f2095275900e529b0ab
|
|
BLAKE2b-256 checksum How to use checksums |
65c1084eaac75841aa014c184939997dd18b89cf41915365595374597ee43810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for nuclipy 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.