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