mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
added null connection check
This commit is contained in:
parent
ecd6b573f7
commit
b745331974
4 changed files with 44 additions and 12 deletions
|
|
@ -29,6 +29,7 @@ from lib.controller.checks import checkStability
|
|||
from lib.controller.checks import checkString
|
||||
from lib.controller.checks import checkRegexp
|
||||
from lib.controller.checks import checkConnection
|
||||
from lib.controller.checks import checkNullConnection
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.common import paramToDict
|
||||
from lib.core.common import parseTargetUrl
|
||||
|
|
@ -165,6 +166,8 @@ def start():
|
|||
if not checkConnection() or not checkString() or not checkRegexp():
|
||||
continue
|
||||
|
||||
checkNullConnection()
|
||||
|
||||
if not conf.dropSetCookie:
|
||||
for _, cookie in enumerate(conf.cj):
|
||||
cookie = getUnicode(cookie)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue