mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Minor fixes to make --os-* switch work again against MySQL/Windows/ASP.NET (where stacked queries are supported)
This commit is contained in:
parent
8cf5d260fd
commit
890bf708bc
2 changed files with 3 additions and 3 deletions
|
|
@ -959,7 +959,7 @@ def cleanQuery(query):
|
|||
sqlStatementEsc = sqlStatement.replace("(", "\\(")
|
||||
queryMatch = re.search("(%s)" % sqlStatementEsc, query, re.I)
|
||||
|
||||
if queryMatch:
|
||||
if queryMatch and "sys_exec" not in query:
|
||||
upperQuery = upperQuery.replace(queryMatch.group(1), sqlStatement.upper())
|
||||
|
||||
return upperQuery
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue