Skip to content

Commit ba43e95

Browse files
committed
bugfix cookie control
1 parent e710fbe commit ba43e95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

W13SCAN/plugins/PerFile/cookie.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def audit(self):
3434
if method == 'GET':
3535
if p.query == '':
3636
return
37+
if not cookies or len(cookies) == 0:
38+
return
3739

3840
for k, v in cookies.items():
3941
if v.lower() not in resp_str.lower():

0 commit comments

Comments
 (0)