Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a52328b

Browse files
committed
Adding new WAF script (Bekchy)
1 parent a303d67 commit a52328b

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.3.1.76"
22+
VERSION = "1.3.1.77"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
5050
7d8a22c582ad201f65b73225e4456170 lib/core/replication.py
5151
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5252
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
53-
be251fb51accf69378bd62ae3ebbe9e1 lib/core/settings.py
53+
bfe6a2546516592208294b3fd9962e06 lib/core/settings.py
5454
4483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
5555
10fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
5656
9c7b5c6397fb3da33e7a4d7876d159c6 lib/core/target.py
@@ -407,6 +407,7 @@ b6bc83ae9ea69cf96e9389bde8250c7c waf/airlock.py
407407
46a1d30bb52048c2092593acfa71bd52 waf/asm.py
408408
9dbec5d674ed4c762ffc9bc3ab402739 waf/aws.py
409409
e57a22864477ad23ae6a3d308f9b5410 waf/barracuda.py
410+
941714dfea605d59cb1544e5c376ac58 waf/bekchy.py
410411
1712d76bd4adb705f3317ff5908acdcd waf/bitninja.py
411412
2608fbe2c80fae99bb09db1f93d80cdd waf/bluedon.py
412413
8385218d8a1863dbfd4274db36880dfe waf/cerber.py

waf/bekchy.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python
2+
3+
"""
4+
Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
5+
See the file 'LICENSE' for copying permission
6+
"""
7+
8+
from lib.core.settings import WAF_ATTACK_VECTORS
9+
10+
__product__ = "Bekchy (Faydata Information Technologies Inc.)"
11+
12+
def detect(get_page):
13+
retval = False
14+
15+
for vector in WAF_ATTACK_VECTORS:
16+
page, _, _ = get_page(get=vector)
17+
retval = any(_ in (page or "") for _ in ("<title>Bekchy - Access Denided</title>", "<a class=\"btn\" href=\"https://bekchy.com/report\">"))
18+
if retval:
19+
break
20+
21+
return retval

0 commit comments

Comments
 (0)