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

Skip to content

Commit 0bfc1b4

Browse files
committed
Another bug fix for --union-test
1 parent a0fb968 commit 0bfc1b4

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

lib/techniques/inband/union/test.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,7 @@ def __unionPosition(negative=False, falseCond=False):
5353
# Perform the request
5454
resultPage, _ = Request.queryPage(payload, content=True)
5555

56-
# We have to assure that the randQuery value is not within the
57-
# HTML code of the result page because, for instance, it is there
58-
# when the query is wrong and the back-end DBMS is Microsoft SQL
59-
# server
60-
htmlParsed = htmlParser(resultPage)
61-
62-
if resultPage and randQuery in resultPage and not htmlParsed:
56+
if resultPage and randQuery in resultPage:
6357
setUnion(position=exprPosition)
6458
validPayload = payload
6559

0 commit comments

Comments
 (0)