mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-10 00:20:37 +03:00
Minor update (same but cleaner)
This commit is contained in:
parent
7286d89cb6
commit
47d162f391
|
@ -573,7 +573,7 @@ class Connect:
|
||||||
# addendum: as we support url encoding in tampering
|
# addendum: as we support url encoding in tampering
|
||||||
# functions therefore we need to use % as a safe char
|
# functions therefore we need to use % as a safe char
|
||||||
if place != PLACE.URI or (value and payload and '?' in value and value.find('?') < value.find(payload)):
|
if place != PLACE.URI or (value and payload and '?' in value and value.find('?') < value.find(payload)):
|
||||||
payload = urlencode(payload, '%', False, True) if not place in (PLACE.POST, PLACE.CUSTOM_POST) and not conf.skipUrlEncode else payload
|
payload = urlencode(payload, '%', False, True) if place not in (PLACE.POST, PLACE.CUSTOM_POST) and not conf.skipUrlEncode else payload
|
||||||
value = agent.replacePayload(value, payload)
|
value = agent.replacePayload(value, payload)
|
||||||
|
|
||||||
elif place == PLACE.SOAP:
|
elif place == PLACE.SOAP:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user