mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
when doing dynamic checks there are cases when 404 can be raised (perfectly normal)
This commit is contained in:
parent
aca074b769
commit
16f1f4e13e
|
@ -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 New Issue
Block a user