mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 08:52:20 +01:00
when doing dynamic checks there are cases when 404 can be raised (perfectly normal)
This commit is contained in:
parent
aca074b769
commit
16f1f4e13e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue