mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor update
This commit is contained in:
@@ -502,8 +502,6 @@ class Connect:
|
||||
string match check ('--string' command line parameter)
|
||||
"""
|
||||
|
||||
value = value.replace("[SLEEPTIME]", str(conf.timeSec)) if value else value
|
||||
|
||||
if conf.direct:
|
||||
return direct(value, content)
|
||||
|
||||
@@ -523,6 +521,7 @@ class Connect:
|
||||
|
||||
raise404 = place != PLACE.URI if raise404 is None else raise404
|
||||
|
||||
value = value.replace("[SLEEPTIME]", str(conf.timeSec)) if value else value
|
||||
payload = agent.extractPayload(value)
|
||||
threadData = getCurrentThreadData()
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ from lib.utils.timeout import timeout
|
||||
def direct(query, content=True):
|
||||
select = True
|
||||
query = agent.payloadDirect(query)
|
||||
query = query.replace("[SLEEPTIME]", str(conf.timeSec))
|
||||
threadData = getCurrentThreadData()
|
||||
|
||||
if Backend.isDbms(DBMS.ORACLE) and query.startswith("SELECT ") and " FROM " not in query:
|
||||
|
||||
Reference in New Issue
Block a user