mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patches related to the #739
This commit is contained in:
parent
f1254fef4b
commit
8f4488d608
4 changed files with 11 additions and 7 deletions
|
|
@ -314,7 +314,7 @@ def _setRequestFromFile():
|
|||
infoMsg = "parsing second-order HTTP request from '%s'" % conf.secondReq
|
||||
logger.info(infoMsg)
|
||||
|
||||
target = parseRequestFile(conf.secondReq).next()
|
||||
target = parseRequestFile(conf.secondReq, False).next()
|
||||
kb.secondReq = target
|
||||
|
||||
def _setCrawler():
|
||||
|
|
@ -2224,6 +2224,10 @@ def _basicOptionValidation():
|
|||
errMsg = "switch '--eta' is incompatible with option '-v'"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
if conf.secondUrl and conf.secondReq:
|
||||
errMsg = "option '--second-url' is incompatible with option '--second-req')"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
if conf.direct and conf.url:
|
||||
errMsg = "option '-d' is incompatible with option '-u' ('--url')"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue