mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
fix for case -r with no params and cookie available
This commit is contained in:
parent
47fa600c04
commit
4441e11f68
|
@ -258,7 +258,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||
if conf.scope:
|
||||
getPostReq &= re.search(conf.scope, host) is not None
|
||||
|
||||
if getPostReq and params:
|
||||
if getPostReq and (params or cookie):
|
||||
if not url.startswith("http"):
|
||||
url = "%s://%s:%s%s" % (scheme or "http", host, port or "80", url)
|
||||
scheme = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user