(self, query)
| 1247 | return re.sub(r"(?s)(%s.*?%s)" % (_, _), ("%s%s%s" % (PAYLOAD_DELIMITER, getUnicode(payload), PAYLOAD_DELIMITER)).replace("\\", r"\\"), value) if value else value |
| 1248 | |
| 1249 | def runAsDBMSUser(self, query): |
| 1250 | if conf.dbmsCred and "Ad Hoc Distributed Queries" not in query: |
| 1251 | query = getSQLSnippet(DBMS.MSSQL, "run_statement_as_user", USER=conf.dbmsUsername, PASSWORD=conf.dbmsPassword, STATEMENT=query.replace("'", "''")) |
| 1252 | |
| 1253 | return query |
| 1254 | |
| 1255 | def whereQuery(self, query): |
| 1256 | if conf.dumpWhere and query: |
no test coverage detected