mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor update regarding last commit
This commit is contained in:
@@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException("Unenclosed ' in '%s'" % expression)
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("''")
|
index = expression[firstIndex:].find("''")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression.replace("''", "'")
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "''%s''" % expression[firstIndex:lastIndex]
|
old = "''%s''" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||||||
index = expression[firstIndex:].find("'")
|
index = expression[firstIndex:].find("'")
|
||||||
|
|
||||||
if index == -1:
|
if index == -1:
|
||||||
raise sqlmapSyntaxException("Unenclosed ' in '%s'" % expression)
|
break
|
||||||
|
|
||||||
lastIndex = firstIndex + index
|
lastIndex = firstIndex + index
|
||||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||||
|
|||||||
Reference in New Issue
Block a user