2010-03-18 20:20:54 +03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
"""
|
2010-03-24 00:26:45 +03:00
|
|
|
$Id$
|
2010-03-18 20:20:54 +03:00
|
|
|
|
|
|
|
This file is part of the sqlmap project, http://sqlmap.sourceforge.net.
|
|
|
|
|
|
|
|
Copyright (c) 2007-2009 Bernardo Damele A. G. <bernardo.damele@gmail.com>
|
|
|
|
Copyright (c) 2006 Daniele Bellucci <daniele.bellucci@gmail.com>
|
|
|
|
|
|
|
|
sqlmap is free software; you can redistribute it and/or modify it under
|
|
|
|
the terms of the GNU General Public License as published by the Free
|
|
|
|
Software Foundation version 2 of the License.
|
|
|
|
|
|
|
|
sqlmap is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
|
|
details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
with sqlmap; if not, write to the Free Software Foundation, Inc., 51
|
|
|
|
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
"""
|
|
|
|
|
|
|
|
from lib.core.settings import FIREBIRD_SYSTEM_DBS
|
|
|
|
from lib.core.unescaper import unescaper
|
|
|
|
|
2010-03-24 00:26:45 +03:00
|
|
|
from plugins.dbms.firebird.enumeration import Enumeration
|
|
|
|
from plugins.dbms.firebird.filesystem import Filesystem
|
|
|
|
from plugins.dbms.firebird.fingerprint import Fingerprint
|
|
|
|
from plugins.dbms.firebird.syntax import Syntax
|
|
|
|
from plugins.dbms.firebird.takeover import Takeover
|
2010-03-18 20:20:54 +03:00
|
|
|
from plugins.generic.misc import Miscellaneous
|
|
|
|
|
2010-03-24 00:26:45 +03:00
|
|
|
class FirebirdMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
|
2010-03-18 20:20:54 +03:00
|
|
|
"""
|
|
|
|
This class defines Firebird methods
|
|
|
|
"""
|
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
self.excludeDbsList = FIREBIRD_SYSTEM_DBS
|
|
|
|
|
2010-03-24 00:26:45 +03:00
|
|
|
Syntax.__init__(self)
|
|
|
|
Fingerprint.__init__(self)
|
|
|
|
Enumeration.__init__(self)
|
2010-03-18 20:20:54 +03:00
|
|
|
Filesystem.__init__(self)
|
2010-03-24 00:26:45 +03:00
|
|
|
Miscellaneous.__init__(self)
|
2010-03-18 20:20:54 +03:00
|
|
|
Takeover.__init__(self)
|
|
|
|
|
2010-03-24 00:26:45 +03:00
|
|
|
unescaper.setUnescape(FirebirdMap.unescape)
|