mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
implementation of a feature suggested by pan@knownsec.com (usage of charset type from http-equiv attribute in case when charset is not defined in headers)
This commit is contained in:
parent
8a48baf789
commit
aa81ed4033
3 changed files with 14 additions and 5 deletions
|
|
@ -169,3 +169,5 @@ ERROR_PARSING_REGEXES = (
|
|||
r"<li>Error Type:<br>(?P<result>.+?)</li>",
|
||||
r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P<result>[^<>]+)"
|
||||
)
|
||||
|
||||
META_CHARSET_REGEX = r'<meta http-equiv="Content-Type" content="[^"]*?charset=(?P<result>[^"]+)" />'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue