@@ -187,7 +187,7 @@ def _unionPosition(comment, place, parameter, prefix, suffix, count, where=PAYLO
187187 if content and phrase in content :
188188 validPayload = payload
189189 kb .unionDuplicates = len (re .findall (phrase , content , re .I )) > 1
190- vector = (position , count , comment , prefix , suffix , kb .uChar , where , kb .unionDuplicates )
190+ vector = (position , count , comment , prefix , suffix , kb .uChar , where , kb .unionDuplicates , False )
191191
192192 if where == PAYLOAD .WHERE .ORIGINAL :
193193 # Prepare expression with delimiters
@@ -205,7 +205,7 @@ def _unionPosition(comment, place, parameter, prefix, suffix, count, where=PAYLO
205205 content = "%s%s" .lower () % (page or "" , listToStrValue (headers .headers if headers else None ) or "" )
206206
207207 if not all (_ in content for _ in (phrase , phrase2 )):
208- vector = (position , count , comment , prefix , suffix , kb .uChar , where , kb .unionDuplicates )
208+ vector = (position , count , comment , prefix , suffix , kb .uChar , where , kb .unionDuplicates , True )
209209 elif not kb .unionDuplicates :
210210 fromTable = " FROM (%s) AS %s" % (" UNION " .join ("SELECT %d%s%s" % (_ , FROM_DUMMY_TABLE .get (Backend .getIdentifiedDbms (), "" ), " AS %s" % randomStr () if _ == 0 else "" ) for _ in xrange (LIMITED_ROWS_TEST_NUMBER )), randomStr ())
211211
@@ -221,7 +221,7 @@ def _unionPosition(comment, place, parameter, prefix, suffix, count, where=PAYLO
221221 if content .count (phrase ) > 0 and content .count (phrase ) < LIMITED_ROWS_TEST_NUMBER :
222222 warnMsg = "output with limited number of rows detected. Switching to partial mode"
223223 logger .warn (warnMsg )
224- vector = (position , count , comment , prefix , suffix , kb .uChar , PAYLOAD .WHERE .NEGATIVE , kb .unionDuplicates )
224+ vector = (position , count , comment , prefix , suffix , kb .uChar , PAYLOAD .WHERE .NEGATIVE , kb .unionDuplicates , False )
225225
226226 unionErrorCase = kb .errorIsNone and wasLastResponseDBMSError ()
227227
0 commit comments