Skip to main content

pypanuclei (Python Passive Nuclei), it's a replace for nuclei passive scanner

Project description

pypanuclei (Python Passive Nuclei) scanner

pypanuclei is created like an alternative to the passive scanning mode in projectdiscovery/nuclei

I created it because of 3 main reasons:

  • nuclei process raw: request in passive mode, resulting in many false positives
  • nuclei process dsl matchers like Host!=ip in passive mode, resulting in most of takeover templates not work at all
  • sometimes on large amount of files nuclei fires non-existent matches

warnings:

  • extractors not implemented yet
  • only regex, word and status matchers are implemented
  • all other matchers like dsl are skipped (set to true)
  • heavy regex patterns can lead to endless hang (use -et and -debug to filter)

Installation:

pip3 install -U pypanuclei

Basic usage (cli):

subfinder hackerone.com | httpx -sr -srd ./responses
git clone https://github.com/projectdiscovery/nuclei-templates.git

pypanuclei -target ./responses -t ./nuclei-templates -et ./nuclei-templates/technologies/ -et ./nuclei-templates/exposures/tokens/generic/

cli options:

optional arguments:
  -h, --help                show this help message and exit
  -u, -target               path to directory with saved responses
  -t, -templates            templates directory to run (list)
  -et, -exclude-templates   template or directory to exclude (list)
  -json                     json output
  -debug                    debug

Basic usage (python):

from pypanuclei.pypanuclei import load_templates, check_responses

templates = load_templates(['./nuclei-templates'], ['./nuclei-templates/technologies'])
for res in check_responses('./responses', templates):
    print(f"[{res['template-id']}] [{res['type']}] [{res['info']['severity']}] {res['path']}")

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pypanuclei-0.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

pypanuclei-0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file pypanuclei-0.1.tar.gz.

File metadata

  • Download URL: pypanuclei-0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for pypanuclei-0.1.tar.gz
Algorithm Hash digest
SHA256 50a3bc90fbe732677be2805eff8bef2d81e6f77f2b01b424f2d547895d075756
MD5 2eb70225cb2b60c0e5acba23785915a5
BLAKE2b-256 e9ad17637f7f862cae19982874d43c19a789cd61145bec463c7dfc8077834110

See more details on using hashes here.

File details

Details for the file pypanuclei-0.1-py3-none-any.whl.

File metadata

  • Download URL: pypanuclei-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for pypanuclei-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64d0068f06d8bd9eaf040b1c2d27398336846ad7a7a68bbf7d695d41dcf051cf
MD5 58ce6ecaa7566c4bc0f1670d5ba7b58b
BLAKE2b-256 d0769efc57855edf615831484122c27e353e716483041f0b1a2a7e203c1ec80b

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