mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Adding waf script for detection of generic/unknown
This commit is contained in:
parent
f9d01f682b
commit
69fd900108
5 changed files with 35 additions and 3 deletions
|
|
@ -998,6 +998,8 @@ def _setWafFunctions():
|
|||
else:
|
||||
kb.wafFunctions.append((_["detect"], _.get("__product__", filename[:-3])))
|
||||
|
||||
kb.wafFunctions = sorted(kb.wafFunctions, key=lambda _: "generic" in _[1].lower())
|
||||
|
||||
def _setThreads():
|
||||
if not isinstance(conf.threads, int) or conf.threads <= 0:
|
||||
conf.threads = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue