Skip to content

Commit 40f6bb9

Browse files
committed
Remove duplicate get_waf_strings() definition
1 parent 749a695 commit 40f6bb9

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

bbot/core/helpers/misc.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,24 +2676,6 @@ async def _cancel_and_drain_remaining():
26762676
await _cancel_and_drain_remaining()
26772677

26782678

2679-
def get_waf_strings():
2680-
"""
2681-
Returns a list of common WAF (Web Application Firewall) detection strings.
2682-
2683-
Returns:
2684-
list: List of WAF detection strings
2685-
2686-
Examples:
2687-
>>> waf_strings = get_waf_strings()
2688-
>>> "The requested URL was rejected" in waf_strings
2689-
True
2690-
"""
2691-
return [
2692-
"The requested URL was rejected",
2693-
"This content has been blocked",
2694-
]
2695-
2696-
26972679
def get_waf_strings():
26982680
"""
26992681
Returns a list of common WAF (Web Application Firewall) detection strings.

0 commit comments

Comments
 (0)