mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Minor update of testing cases
This commit is contained in:
@@ -140,10 +140,12 @@ class ReqHandler(BaseHTTPRequestHandler):
|
||||
code, output = OK, ""
|
||||
|
||||
try:
|
||||
|
||||
if self.params.get("echo", ""):
|
||||
output += "%s<br>" % self.params["echo"]
|
||||
|
||||
if self.params.get("reflect", ""):
|
||||
output += "%s<br>" % self.params.get("id")
|
||||
|
||||
with _lock:
|
||||
if "query" in self.params:
|
||||
_cursor.execute(self.params["query"])
|
||||
|
||||
Reference in New Issue
Block a user