(regex)
| 153 | # Parse the returned page to get the exact UNION-based |
| 154 | # SQL injection output |
| 155 | def _(regex): |
| 156 | return firstNotNone( |
| 157 | extractRegexResult(regex, removeReflectiveValues(page, payload), re.DOTALL | re.IGNORECASE), |
| 158 | extractRegexResult(regex, removeReflectiveValues(listToStrValue((_ for _ in headers.headers if not _.startswith(HTTP_HEADER.URI)) if headers else None), payload, True), re.DOTALL | re.IGNORECASE) |
| 159 | ) |
| 160 | |
| 161 | # Automatically patching last char trimming cases |
| 162 | if kb.chars.stop not in (page or "") and kb.chars.stop[:-1] in (page or ""): |
no test coverage detected