Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Typos in Documentation #843

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bbot/modules/deadly/ffuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ffuf(BaseModule):
options_desc = {
"wordlist": "Specify wordlist to use when finding directories",
"lines": "take only the first N lines from the wordlist when finding directories",
"max_depth": "the maxium directory depth to attempt to solve",
"max_depth": "the maximum directory depth to attempt to solve",
"version": "ffuf version",
"extensions": "Optionally include a list of extensions to extend the keyword with (comma separated)",
}
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/deadly/nuclei.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class nuclei(BaseModule):
"concurrency": "maximum number of templates to be executed in parallel (default 25)",
"mode": "manual | technology | severe | budget. Technology: Only activate based on technology events that match nuclei tags (nuclei -as mode). Manual (DEFAULT): Fully manual settings. Severe: Only critical and high severity templates without intrusive. Budget: Limit Nuclei to a specified number of HTTP requests",
"etags": "tags to exclude from the scan",
"budget": "Used in budget mode to set the number of requests which will be alloted to the nuclei scan",
"budget": "Used in budget mode to set the number of requests which will be allotted to the nuclei scan",
"directory_only": "Filter out 'file' URL event (default True)",
"retries": "number of times to retry a failed request (default 0)",
"batch_size": "Number of targets to send to Nuclei per batch (default 200)",
Expand Down
12 changes: 6 additions & 6 deletions bbot/modules/ffuf_shortnames.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ class ffuf_shortnames(ffuf):
"extensions": "",
"ignore_redirects": True,
"find_common_prefixes": False,
"find_delimeters": True,
"find_delimiters": True,
}

options_desc = {
"wordlist": "Specify wordlist to use when finding directories",
"wordlist_extensions": "Specify wordlist to use when making extension lists",
"lines": "take only the first N lines from the wordlist when finding directories",
"max_depth": "the maxium directory depth to attempt to solve",
"max_depth": "the maximum directory depth to attempt to solve",
"version": "ffuf version",
"extensions": "Optionally include a list of extensions to extend the keyword with (comma separated)",
"ignore_redirects": "Explicitly ignore redirects (301,302)",
"find_common_prefixes": "Attempt to automatically detect common prefixes and make additional ffuf runs against them",
"find_delimeters": "Attempt to detect common delimeters and make additional ffuf runs against them",
"find_delimiters": "Attempt to detect common delimiters and make additional ffuf runs against them",
}

deps_ansible = [
Expand Down Expand Up @@ -115,8 +115,8 @@ def build_extension_list(self, event):
return [extension_hint]

def find_delimeter(self, hint):
delimeters = ["_", "-"]
for d in delimeters:
delimiters = ["_", "-"]
for d in delimiters:
if d in hint:
if not hint.startswith(d) and not hint.endswith(d):
return d, hint.split(d)[0], hint.split(d)[1]
Expand Down Expand Up @@ -165,7 +165,7 @@ async def handle_event(self, event):
r_url = f"{r['url'].rstrip('/')}/"
self.emit_event(r_url, "URL_UNVERIFIED", source=event, tags=[f"status-{r['status']}"])

if self.config.get("find_delimeters"):
if self.config.get("find_delimiters"):
if "shortname-directory" in event.tags:
delimeter_r = self.find_delimeter(filename_hint)
if delimeter_r:
Expand Down
4 changes: 2 additions & 2 deletions bbot/modules/massdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,10 @@ async def gen_subdomains(self, prefixes, domain):
yield d

def gen_random_subdomains(self, n=50):
delimeters = (".", "-")
delimiters = (".", "-")
lengths = list(range(3, 8))
for i in range(0, max(0, n - 5)):
d = delimeters[i % len(delimeters)]
d = delimiters[i % len(delimiters)]
l = lengths[i % len(lengths)]
segments = list(random.choice(self.devops_mutations) for _ in range(l))
segments.append(self.helpers.rand_string(length=8, digits=False))
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/output/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Discord(BaseOutputModule):
options_desc = {
"webhook_url": "Discord webhook URL",
"event_types": "Types of events to send",
"min_severity": "Only allow VULNERABILITY events of this severity or highter",
"min_severity": "Only allow VULNERABILITY events of this severity or higher",
}
accept_dupes = False
good_status_code = 204
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/output/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Slack(Discord):
options_desc = {
"webhook_url": "Discord webhook URL",
"event_types": "Types of events to send",
"min_severity": "Only allow VULNERABILITY events of this severity or highter",
"min_severity": "Only allow VULNERABILITY events of this severity or higher",
}
good_status_code = 200
content_key = "text"
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/output/teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Teams(Discord):
options_desc = {
"webhook_url": "Discord webhook URL",
"event_types": "Types of events to send",
"min_severity": "Only allow VULNERABILITY events of this severity or highter",
"min_severity": "Only allow VULNERABILITY events of this severity or higher",
}
_max_event_handlers = 5
good_status_code = 200
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/wafw00f.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class wafw00f(BaseModule):
deps_pip = ["wafw00f~=2.2.0"]

options = {"generic_detect": True}
options_desc = {"generic_detect": "When no specific WAF detections are made, try to peform a generic detect"}
options_desc = {"generic_detect": "When no specific WAF detections are made, try to perform a generic detect"}

in_scope_only = True
per_host_only = True
Expand Down
2 changes: 1 addition & 1 deletion bbot/scanner/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Target:
scan (Scan): Reference to the Scan object that instantiated the Target.
_events (dict): Dictionary mapping hosts to events related to the target.
strict_scope (bool): Flag indicating whether to consider child domains in-scope.
If set to True, only the exact hosts specifieid and not their children are considered part of the target.
If set to True, only the exact hosts specified and not their children are considered part of the target.

Examples:
Basic usage
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/nuclei.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Nuclei module has many configuration options:
| etags | Tags to exclude from the scan | <blank> |
| directory_only | When on, limits scan to only "directory" URLs (omit endpoints) | True |
| budget | Used in budget mode to set the number of requests which will be allotted | 1 |
| retries | Mumber of times to retry a failed request | 0 |
| retries | Number of times to retry a failed request | 0 |
| batch_size | The number of targets BBOT will pass to Nuclei at a time | 200 |

Most of these you probably will **NOT** want to change. In particular, we strongly advise against changing the version of Nuclei, as it's very likely the latest version won't work right with BBOT.
Expand Down
Loading