2019-05-08 13:47:52 +03:00
|
|
|
#!/usr/bin/env python
|
2008-10-15 19:38:22 +04:00
|
|
|
|
|
|
|
"""
|
2022-01-03 13:30:34 +03:00
|
|
|
Copyright (c) 2006-2022 sqlmap developers (https://sqlmap.org/)
|
2017-10-11 15:50:46 +03:00
|
|
|
See the file 'LICENSE' for copying permission
|
2008-10-15 19:38:22 +04:00
|
|
|
"""
|
|
|
|
|
2011-07-08 10:02:31 +04:00
|
|
|
from lib.core.datatype import AttribDict
|
2012-07-10 05:54:37 +04:00
|
|
|
from lib.core.log import LOGGER
|
2008-10-15 19:38:22 +04:00
|
|
|
|
|
|
|
# sqlmap paths
|
2011-07-08 10:02:31 +04:00
|
|
|
paths = AttribDict()
|
2008-10-15 19:38:22 +04:00
|
|
|
|
2011-01-02 13:37:32 +03:00
|
|
|
# object to store original command line options
|
2011-07-08 10:02:31 +04:00
|
|
|
cmdLineOptions = AttribDict()
|
2011-01-02 13:37:32 +03:00
|
|
|
|
2013-04-10 21:33:31 +04:00
|
|
|
# object to store merged options (command line, configuration file and default options)
|
|
|
|
mergedOptions = AttribDict()
|
|
|
|
|
2008-10-15 19:38:22 +04:00
|
|
|
# object to share within function and classes command
|
|
|
|
# line options and settings
|
2011-07-08 10:02:31 +04:00
|
|
|
conf = AttribDict()
|
2008-10-15 19:38:22 +04:00
|
|
|
|
|
|
|
# object to share within function and classes results
|
2011-07-08 10:02:31 +04:00
|
|
|
kb = AttribDict()
|
2008-10-15 19:38:22 +04:00
|
|
|
|
|
|
|
# object with each database management system specific queries
|
|
|
|
queries = {}
|
|
|
|
|
|
|
|
# logger
|
|
|
|
logger = LOGGER
|