2008-10-15 19:38:22 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
"""
|
2008-10-15 19:56:32 +04:00
|
|
|
$Id$
|
2008-10-15 19:38:22 +04:00
|
|
|
|
2011-04-15 16:33:18 +04:00
|
|
|
Copyright (c) 2006-2011 sqlmap developers (http://sqlmap.sourceforge.net/)
|
2010-10-15 03:18:29 +04:00
|
|
|
See the file 'doc/COPYING' for copying permission
|
2008-10-15 19:38:22 +04:00
|
|
|
"""
|
|
|
|
|
|
|
|
from lib.core.datatype import advancedDict
|
2010-12-04 01:44:29 +03:00
|
|
|
from lib.core.enums import DBMS
|
2008-10-15 19:38:22 +04:00
|
|
|
from lib.core.settings import LOGGER
|
2010-12-04 01:44:29 +03:00
|
|
|
from lib.core.settings import MSSQL_ALIASES
|
|
|
|
from lib.core.settings import MYSQL_ALIASES
|
|
|
|
from lib.core.settings import PGSQL_ALIASES
|
|
|
|
from lib.core.settings import ORACLE_ALIASES
|
|
|
|
from lib.core.settings import SQLITE_ALIASES
|
|
|
|
from lib.core.settings import ACCESS_ALIASES
|
|
|
|
from lib.core.settings import FIREBIRD_ALIASES
|
2011-02-02 01:45:38 +03:00
|
|
|
from lib.core.settings import MAXDB_ALIASES
|
|
|
|
from lib.core.settings import SYBASE_ALIASES
|
2008-10-15 19:38:22 +04:00
|
|
|
|
|
|
|
# sqlmap paths
|
|
|
|
paths = advancedDict()
|
|
|
|
|
2011-01-02 13:37:32 +03:00
|
|
|
# object to store original command line options
|
|
|
|
cmdLineOptions = advancedDict()
|
|
|
|
|
2008-10-15 19:38:22 +04:00
|
|
|
# object to share within function and classes command
|
|
|
|
# line options and settings
|
|
|
|
conf = advancedDict()
|
|
|
|
|
|
|
|
# object to share within function and classes results
|
|
|
|
kb = advancedDict()
|
|
|
|
|
|
|
|
# object with each database management system specific queries
|
|
|
|
queries = {}
|
|
|
|
|
|
|
|
# logger
|
|
|
|
logger = LOGGER
|