mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor refactoring before a huge bug fix reported by Ahmed Shawky (we are falsely urlencoding ORIGINAL part of the injection payload)
This commit is contained in:
parent
539168dcca
commit
03413bd5e0
2 changed files with 6 additions and 2 deletions
|
|
@ -13,6 +13,7 @@ import subprocess
|
|||
import sys
|
||||
|
||||
from lib.core.enums import DBMS
|
||||
from lib.core.enums import PLACE
|
||||
from lib.core.revision import getRevisionNumber
|
||||
|
||||
# sqlmap version and site
|
||||
|
|
@ -204,3 +205,6 @@ WEBSCARAB_SPLITTER = "### Conversation"
|
|||
|
||||
# Splitter used between requests in BURP log files
|
||||
BURP_SPLITTER = "======================================================"
|
||||
|
||||
# Do the url-encoding based on parameter place
|
||||
URL_ENCODE_PAYLOAD = { PLACE.GET: True, PLACE.POST: True, PLACE.COOKIE: False, PLACE.UA: True, PLACE.URI: False }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue