mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-25 19:33:48 +03:00
minor refactoring
This commit is contained in:
parent
eadaf680de
commit
aea43a1e43
|
@ -57,6 +57,7 @@ from lib.core.exception import sqlmapNoneDataException
|
||||||
from lib.core.exception import sqlmapMissingDependence
|
from lib.core.exception import sqlmapMissingDependence
|
||||||
from lib.core.exception import sqlmapSyntaxException
|
from lib.core.exception import sqlmapSyntaxException
|
||||||
from lib.core.optiondict import optDict
|
from lib.core.optiondict import optDict
|
||||||
|
from lib.core.settings import INFERENCE_UNKNOWN_CHAR
|
||||||
from lib.core.settings import DESCRIPTION
|
from lib.core.settings import DESCRIPTION
|
||||||
from lib.core.settings import IS_WIN
|
from lib.core.settings import IS_WIN
|
||||||
from lib.core.settings import PLATFORM
|
from lib.core.settings import PLATFORM
|
||||||
|
@ -2139,4 +2140,4 @@ def decodeIntToUnicode(value):
|
||||||
try:
|
try:
|
||||||
return struct.pack('>H', value).decode(kb.pageEncoding)
|
return struct.pack('>H', value).decode(kb.pageEncoding)
|
||||||
except:
|
except:
|
||||||
return '?'
|
return INFERENCE_UNKNOWN_CHAR
|
||||||
|
|
Loading…
Reference in New Issue
Block a user