mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Implementation for an Issue #79
This commit is contained in:
parent
3e64ab214e
commit
2cb1b054bb
6 changed files with 55 additions and 5 deletions
|
|
@ -471,8 +471,11 @@ LIMITED_ROWS_TEST_NUMBER = 15
|
|||
# Regular expression for SOAP-like POST data
|
||||
SOAP_RECOGNITION_REGEX = r"(?s)\A(<\?xml[^>]+>)?\s*<([^> ]+)( [^>]+)?>.+</\2.*>\s*\Z"
|
||||
|
||||
# Regular expressing used for detecting JSON-like POST data
|
||||
# Regular expression used for detecting JSON-like POST data
|
||||
JSON_RECOGNITION_REGEX = r'(?s)\A\s*\{.*"[^"]+"\s*:\s*("[^"]+"|\d+).*\}\s*\Z'
|
||||
|
||||
# Regular expression used for detecting multipart POST data
|
||||
MULTIPART_RECOGNITION_REGEX = r"(?i)Content-Disposition:[^;]+;\s*name="
|
||||
|
||||
# Default POST data content-type
|
||||
DEFAULT_CONTENT_TYPE = "application/x-www-form-urlencoded"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue