mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor update
This commit is contained in:
parent
90b776c1a2
commit
3d87489de5
3 changed files with 6 additions and 12 deletions
|
|
@ -46,7 +46,6 @@ from lib.core.exception import sqlmapUserQuitException
|
|||
from lib.core.session import setString
|
||||
from lib.core.session import setRegexp
|
||||
from lib.core.settings import TIME_MIN_DELTA
|
||||
from lib.core.settings import TIME_N_RESPONSE
|
||||
from lib.request.connect import Connect as Request
|
||||
from plugins.dbms.firebird.syntax import Syntax as Firebird
|
||||
from plugins.dbms.postgresql.syntax import Syntax as PostgreSQL
|
||||
|
|
@ -360,14 +359,11 @@ def checkSqlInjection(place, parameter, value):
|
|||
|
||||
injectable = True
|
||||
elif check == "[DELAYED]":
|
||||
if duration >= max(TIME_MIN_DELTA, TIME_N_RESPONSE * kb.responseTime):
|
||||
if duration >= max(TIME_MIN_DELTA, kb.responseTime):
|
||||
infoMsg = "%s parameter '%s' is '%s' injectable " % (place, parameter, title)
|
||||
logger.info(infoMsg)
|
||||
|
||||
injectable = True
|
||||
else:
|
||||
import pdb
|
||||
pdb.set_trace()
|
||||
# Restore old value of socket timeout
|
||||
socket.setdefaulttimeout(popValue())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue