mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
refactoring
This commit is contained in:
parent
cd6ceb733e
commit
6b81eef65a
8 changed files with 9 additions and 30 deletions
|
|
@ -56,7 +56,6 @@ from lib.core.enums import PLACE
|
|||
from lib.core.enums import PAYLOAD
|
||||
from lib.core.enums import REFLECTIVE_COUNTER
|
||||
from lib.core.enums import SORTORDER
|
||||
from lib.core.enums import WARNFLAGS
|
||||
from lib.core.exception import sqlmapDataException
|
||||
from lib.core.exception import sqlmapFilePathException
|
||||
from lib.core.exception import sqlmapGenericException
|
||||
|
|
@ -665,7 +664,7 @@ def dataToStdout(data, forceOutput=False):
|
|||
warnMsg += "replacement with '?' character. Please, find "
|
||||
warnMsg += "proper character representation inside "
|
||||
warnMsg += "coresponding output files. "
|
||||
singleTimeLogMessage(warnMsg, logging.WARN, WARNFLAGS.DATA_TO_STDOUT)
|
||||
singleTimeLogMessage(warnMsg)
|
||||
|
||||
sys.stdout.write(output)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -98,16 +98,6 @@ class HTTPHEADER:
|
|||
REFERER = "Referer"
|
||||
USER_AGENT = "User-Agent"
|
||||
|
||||
class WARNFLAGS:
|
||||
NO_CAST = 'NO_CAST'
|
||||
RANDOM_AGENT = 'RANDOM_AGENT'
|
||||
DATA_TO_STDOUT = 'DATA_TO_STDOUT'
|
||||
THREADS = 'THREADS'
|
||||
PIVOT_LIMIT = 'PIVOT_LIMIT'
|
||||
TIME_UNRECOVERED = 'TIME_UNRECOVERED'
|
||||
SINGLE_THREAD = 'SINGLE_THREAD'
|
||||
UNION_APPEARS = 'UNION_APPEARS'
|
||||
|
||||
class EXPECTED:
|
||||
BOOL = "bool"
|
||||
INT = "int"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue