mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor update
This commit is contained in:
parent
4ac319b074
commit
63a74777f2
|
@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
|
|||
from lib.core.enums import OS
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.0.12.0"
|
||||
VERSION = "1.0.12.1"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
|
|||
b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py
|
||||
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
|
||||
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
|
||||
079c062fb2fa5b45e2dbbf25323bc48a lib/core/settings.py
|
||||
e777e700b2a6e9b82993f8be46db45ac lib/core/settings.py
|
||||
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
|
||||
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
|
||||
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
|
||||
|
@ -392,7 +392,7 @@ deb8dd4543177479b185af8b383a8bdf waf/airlock.py
|
|||
e75422b8487f9937e050a60bc5c35896 waf/blockdos.py
|
||||
f60078f702612da43dd2a8ed07e26694 waf/ciscoacexml.py
|
||||
ac2edfa1d49b00b4bf730a9317090566 waf/cloudflare.py
|
||||
c69e1091521671452eaedf4787817ede waf/cloudfront.py
|
||||
8035c255d55023f8c999ad5f7798e7fa waf/cloudfront.py
|
||||
765d0663658257ef0ab1060519c6e175 waf/comodo.py
|
||||
33633c9a2b9d53c325ba1110607d566f waf/datapower.py
|
||||
e0ad6e34b6082558e9f8f652d938c785 waf/denyall.py
|
||||
|
|
|
@ -7,6 +7,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
|
||||
import re
|
||||
|
||||
from lib.core.enums import HTTP_HEADER
|
||||
from lib.core.settings import WAF_ATTACK_VECTORS
|
||||
|
||||
__product__ = "CloudFront (Amazon)"
|
||||
|
@ -17,6 +18,7 @@ def detect(get_page):
|
|||
for vector in WAF_ATTACK_VECTORS:
|
||||
_, headers, _ = get_page(get=vector)
|
||||
|
||||
retval |= re.search(r"cloudfront", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
|
||||
retval |= re.search(r"cloudfront", headers.get("X-Cache", ""), re.I) is not None
|
||||
retval |= headers.get("X-Amz-Cf-Id") is not None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user