mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor update (ip addresses will not be confused any more for crypt_generic hashes)
This commit is contained in:
parent
557ed7d665
commit
220366b6e8
2 changed files with 6 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ from lib.core.enums import HASH
|
|||
from lib.core.exception import sqlmapUserQuitException
|
||||
from lib.core.settings import COMMON_PASSWORD_SUFFIXES
|
||||
from lib.core.settings import DUMMY_USER_PREFIX
|
||||
from lib.core.settings import GENERAL_IP_ADDRESS_REGEX
|
||||
from lib.core.settings import HASH_MOD_ITEM_DISPLAY
|
||||
from lib.core.settings import IS_WIN
|
||||
from lib.core.settings import LIST_EMAIL
|
||||
|
|
@ -301,6 +302,8 @@ def hashRecognition(value):
|
|||
continue
|
||||
elif Backend.getIdentifiedDbms() == DBMS.MYSQL and regex == HASH.ORACLE_OLD:
|
||||
continue
|
||||
elif regex == HASH.CRYPT_GENERIC and getCompiledRegex(GENERAL_IP_ADDRESS_REGEX).match(value):
|
||||
continue
|
||||
elif getCompiledRegex(regex).match(value):
|
||||
retVal = regex
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue