mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Adding an option --safe-post
This commit is contained in:
parent
7517db76d1
commit
349dfbf2ae
5 changed files with 10 additions and 2 deletions
|
|
@ -971,11 +971,10 @@ class Connect(object):
|
|||
warnMsg += "10 or more)"
|
||||
logger.critical(warnMsg)
|
||||
|
||||
|
||||
if conf.safUrl and conf.saFreq > 0:
|
||||
kb.queryCounter += 1
|
||||
if kb.queryCounter % conf.saFreq == 0:
|
||||
Connect.getPage(url=conf.safUrl, cookie=cookie, direct=True, silent=True, ua=ua, referer=referer, host=host)
|
||||
Connect.getPage(url=conf.safUrl, post=conf.safPost, cookie=cookie, direct=True, silent=True, ua=ua, referer=referer, host=host)
|
||||
|
||||
start = time.time()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue