mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
revert
This commit is contained in:
parent
078a2207cc
commit
ecaf5729fd
|
@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -29,7 +29,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException("Unenclosed ' in '%s'" % expression)
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -26,7 +26,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -30,7 +30,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("''")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression.replace("''", "'")
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "''%s''" % expression[firstIndex:lastIndex]
|
||||
|
|
|
@ -27,7 +27,7 @@ class Syntax(GenericSyntax):
|
|||
index = expression[firstIndex:].find("'")
|
||||
|
||||
if index == -1:
|
||||
break
|
||||
raise sqlmapSyntaxException("Unenclosed ' in '%s'" % expression)
|
||||
|
||||
lastIndex = firstIndex + index
|
||||
old = "'%s'" % expression[firstIndex:lastIndex]
|
||||
|
|
Loading…
Reference in New Issue
Block a user