mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
code refactoring regarding charsetType inside inference/bisection
This commit is contained in:
parent
f6f98f1b41
commit
8b9c5c66cc
10 changed files with 47 additions and 31 deletions
|
|
@ -80,6 +80,13 @@ class REFLECTIVE_COUNTER:
|
|||
MISS = "MISS"
|
||||
HIT = "HIT"
|
||||
|
||||
class CHARSET_TYPE:
|
||||
BINARY = 1,
|
||||
DIGITS = 2,
|
||||
HEXADECIMAL = 3,
|
||||
ALPHA = 4,
|
||||
ALPHANUM = 5
|
||||
|
||||
class HASH:
|
||||
MYSQL = r'(?i)\A\*[0-9a-f]{40}\Z'
|
||||
MYSQL_OLD = r'(?i)\A(?![0-9]+\Z)[0-9a-f]{16}\Z'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue