mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor update
This commit is contained in:
parent
b1dd03731a
commit
e0994947e2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user