mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Update for WAF scripts
This commit is contained in:
@@ -15,6 +15,7 @@ __product__ = "NetScaler (Citrix Systems)"
|
||||
def detect(get_page):
|
||||
page, headers, code = get_page()
|
||||
retval = re.search(r"\A(ns_af=|citrix_ns_id|NSC_)", headers.get(HTTPHEADER.SET_COOKIE, ""), re.I) is not None
|
||||
retval |= re.search(r"\ANS-CACHE", headers.get(HTTPHEADER.VIA, ""), re.I) is not None
|
||||
|
||||
if not retval:
|
||||
for vector in WAF_ATTACK_VECTORS:
|
||||
|
||||
Reference in New Issue
Block a user