mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-09 06:50:07 +00:00
Dealing with deprecated next()
This commit is contained in:
parent
2c270ed250
commit
1adc66b763
13 changed files with 32 additions and 32 deletions
|
|
@ -313,7 +313,7 @@ def _setRequestFromFile():
|
|||
infoMsg = "parsing second-order HTTP request from '%s'" % conf.secondReq
|
||||
logger.info(infoMsg)
|
||||
|
||||
target = parseRequestFile(conf.secondReq, False).next()
|
||||
target = next(parseRequestFile(conf.secondReq, False))
|
||||
kb.secondReq = target
|
||||
|
||||
def _setCrawler():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue