Skip to content

Commit

Permalink
Revert "stringifying all original values"
Browse files Browse the repository at this point in the history
This reverts commit c8888c0.
  • Loading branch information
liquidsec committed Nov 30, 2024
1 parent c8888c0 commit 063a34d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bbot/modules/internal/excavate.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ async def process(self, yara_results, event, yara_rule_settings, discovery_conte
"host": parsed_url.hostname,
"type": parameter_type,
"name": parameter_name,
"original_value": str(original_value),
"original_value": original_value,
"url": self.excavate.url_unparse(parameter_type, parsed_url),
"additional_params": additional_params,
"assigned_cookies": self.excavate.assigned_cookies,
Expand Down Expand Up @@ -1025,7 +1025,7 @@ async def search(self, data, event, content_type, discovery_context="HTTP respon
"host": str(event.host),
"type": "SPECULATIVE",
"name": parameter_name,
"original_value": str(original_value),
"original_value": original_value,
"url": str(event.data["url"]),
"additional_params": {},
"assigned_cookies": self.assigned_cookies,
Expand Down Expand Up @@ -1083,7 +1083,7 @@ async def handle_event(self, event):
"host": parsed_url.hostname,
"type": "GETPARAM",
"name": parameter_name,
"original_value": str(original_value),
"original_value": original_value,
"url": self.url_unparse("GETPARAM", parsed_url),
"description": description,
"additional_params": additional_params,
Expand All @@ -1100,7 +1100,7 @@ async def handle_event(self, event):
"host": event.parsed_url.hostname,
"type": "COOKIE",
"name": custom_cookie_name,
"original_value": str(custom_cookie_value),
"original_value": custom_cookie_value,
"url": self.url_unparse("COOKIE", event.parsed_url),
"description": description,
"additional_params": _exclude_key(custom_cookies, custom_cookie_name),
Expand All @@ -1117,7 +1117,7 @@ async def handle_event(self, event):
"host": event.parsed_url.hostname,
"type": "HEADER",
"name": custom_header_name,
"original_value": str(custom_header_value),
"original_value": custom_header_value,
"url": self.url_unparse("HEADER", event.parsed_url),
"description": description,
"additional_params": _exclude_key(custom_headers, custom_header_name),
Expand Down Expand Up @@ -1156,7 +1156,7 @@ async def handle_event(self, event):
"host": str(event.host),
"type": "COOKIE",
"name": cookie_name,
"original_value": str(cookie_value),
"original_value": cookie_value,
"url": self.url_unparse("COOKIE", event.parsed_url),
"description": description,
}
Expand Down Expand Up @@ -1199,7 +1199,7 @@ async def handle_event(self, event):
"host": parsed_url.hostname,
"type": "GETPARAM",
"name": parameter_name,
"original_value": str(original_value),
"original_value": original_value,
"url": self.url_unparse("GETPARAM", parsed_url),
"description": description,
"additional_params": additional_params,
Expand Down

0 comments on commit 063a34d

Please sign in to comment.