Skip to content

Commit

Permalink
Merge pull request #2188 from blacklanternsecurity/nuclei-presets
Browse files Browse the repository at this point in the history
Add nuclei presets
  • Loading branch information
TheTechromancer authored Jan 23, 2025
2 parents 5a5a755 + b3a0441 commit 958af4a
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 0 deletions.
19 changes: 19 additions & 0 deletions bbot/presets/nuclei/nuclei-budget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Run nuclei scans against all discovered targets, using budget mode to look for low hanging fruit with greatly reduced number of requests

modules:
- httpx
- nuclei
- portfilter

config:
modules:
nuclei:
mode: budget
budget: 10
directory_only: true # Do not run nuclei on individual non-directory URLs

conditions:
- |
{% if config.web.spider_distance != 0 %}
{{ warn("Running nuclei with spider enabled is generally not recommended. Consider removing 'spider' preset.") }}
{% endif %}
28 changes: 28 additions & 0 deletions bbot/presets/nuclei/nuclei-intense.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
description: Run nuclei scans against all discovered targets, allowing for spidering, against ALL URLs, and with additional discovery modules.

modules:
- httpx
- nuclei
- robots
- urlscan
- portfilter
- wayback

config:
modules:
nuclei:
directory_only: False # Will run nuclei on ALL discovered URLs - Be careful!
wayback:
urls: true

conditions:
- |
{% if config.web.spider_distance == 0 and config.modules.nuclei.directory_only == False %}
{{ warn("The 'nuclei-intense' preset turns the 'directory_only' limitation off on the nuclei module. To make the best use of this, you may want to enable spidering with 'spider' or 'spider-intense' preset.") }}
{% endif %}
# Example for also running a dirbust

#include:
# - dirbust-light
23 changes: 23 additions & 0 deletions bbot/presets/nuclei/nuclei-technology.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
description: Run nuclei scans against all discovered targets, running templates which match discovered technologies

modules:
- httpx
- nuclei
- portfilter

config:
modules:
nuclei:
mode: technology
directory_only: True # Do not run nuclei on individual non-directory URLs. This is less unsafe to disable with technology mode.

conditions:
- |
{% if config.web.spider_distance != 0 %}
{{ warn("Running nuclei with spider enabled is generally not recommended. Consider removing 'spider' preset.") }}
{% endif %}
# Example for also running a dirbust

#include:
# - dirbust-light
34 changes: 34 additions & 0 deletions bbot/presets/nuclei/nuclei.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
description: Run nuclei scans against all discovered targets

modules:
- httpx
- nuclei
- portfilter

config:
modules:
nuclei:
directory_only: True # Do not run nuclei on individual non-directory URLs


conditions:
- |
{% if config.web.spider_distance != 0 %}
{{ warn("Running nuclei with spider enabled is generally not recommended. Consider removing 'spider' preset.") }}
{% endif %}
# Additional Examples:

# Slowing Down Scan

#config:
# modules:
# nuclei:
# ratelimit: 10
# concurrency: 5




0 comments on commit 958af4a

Please sign in to comment.