2008-10-15 19:38:22 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
"""
|
2012-01-11 18:59:46 +04:00
|
|
|
Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
|
2010-10-15 03:18:29 +04:00
|
|
|
See the file 'doc/COPYING' 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
|
2008-10-15 19:38:22 +04:00
|
|
|
from lib.core.settings import LOGGER
|
|
|
|
|
|
|
|
# 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
|
|
|
|
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
|