mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 13:41:29 +00:00
when doing dynamic checks there are cases when 404 can be raised (perfectly normal)
This commit is contained in:
@@ -477,7 +477,7 @@ def checkDynParam(place, parameter, value):
|
|||||||
|
|
||||||
randInt = randomInt()
|
randInt = randomInt()
|
||||||
payload = agent.payload(place, parameter, value, getUnicode(randInt))
|
payload = agent.payload(place, parameter, value, getUnicode(randInt))
|
||||||
dynResult = Request.queryPage(payload, place)
|
dynResult = Request.queryPage(payload, place, raise404=False)
|
||||||
|
|
||||||
if True == dynResult:
|
if True == dynResult:
|
||||||
return False
|
return False
|
||||||
@@ -487,7 +487,7 @@ def checkDynParam(place, parameter, value):
|
|||||||
|
|
||||||
randInt = randomInt()
|
randInt = randomInt()
|
||||||
payload = agent.payload(place, parameter, value, getUnicode(randInt))
|
payload = agent.payload(place, parameter, value, getUnicode(randInt))
|
||||||
dynResult = Request.queryPage(payload, place)
|
dynResult = Request.queryPage(payload, place, raise404=False)
|
||||||
|
|
||||||
return not dynResult
|
return not dynResult
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user