Skip to content

Fix "or-assign" for return value in netscaler.py - #2170

Merged
stamparm merged 1 commit into
sqlmapproject:masterfrom
cnotin:ClementNotin-patch-netscaler.py
Sep 15, 2016
Merged

Fix "or-assign" for return value in netscaler.py#2170
stamparm merged 1 commit into
sqlmapproject:masterfrom
cnotin:ClementNotin-patch-netscaler.py

Conversation

@cnotin

@cnotin cnotin commented Sep 15, 2016

Copy link
Copy Markdown
Contributor

My understanding of this script is that, starting line 20, 3 finds are done and this WAF is positively detected if at least one of them is True.
So an "or-assign" operator should be used in line 21 and 22. In the current code, the result on line 20 is simply discarded by line 21.

For example, the logic is correct in waf/jiasule.py

@stamparm
stamparm merged commit edcfffc into sqlmapproject:master Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants