Commit 0b79e50
bb
fix(ascanrules): reduce false positives in boolean-based SQLi check (#9289)
- Raise OR-TRUE response size threshold from 1.2x to 1.4x
- Add minimum absolute size difference guard (500 bytes)
- Prevents false positives on dynamic pages with variable content
such as ads, timestamps, and session tokens1 parent e183846 commit 0b79e50
1 file changed
Lines changed: 6 additions & 3 deletions
File tree
- addOns/ascanrules/src/main/java/org/zaproxy/zap/extension/ascanrules
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1228 | 1228 | | |
1229 | 1229 | | |
1230 | 1230 | | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1234 | 1237 | | |
1235 | 1238 | | |
1236 | 1239 | | |
| |||
0 commit comments