2008-10-15 19:38:22 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
"""
|
2012-07-12 21:38:03 +04:00
|
|
|
Copyright (c) 2006-2012 sqlmap developers (http://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
|
|
|
"""
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapCompressionException(Exception):
|
2012-09-11 16:58:52 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapConnectionException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapDataException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapFilePathException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapGenericException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapMissingDependence(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapMissingMandatoryOptionException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapMissingPrivileges(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapNoneDataException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapNotVulnerableException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapSilentQuitException(Exception):
|
2010-10-12 19:49:04 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapUserQuitException(Exception):
|
2010-09-30 23:45:23 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapRegExprException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapSyntaxException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapThreadException(Exception):
|
2008-12-04 20:40:03 +03:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapUndefinedMethod(Exception):
|
2009-12-03 01:54:39 +03:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapUnsupportedDBMSException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapUnsupportedFeatureException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
2012-12-06 17:14:19 +04:00
|
|
|
class SqlmapValueException(Exception):
|
2008-10-15 19:38:22 +04:00
|
|
|
pass
|
|
|
|
|
|
|
|
exceptionsTuple = (
|
2012-12-06 17:14:19 +04:00
|
|
|
SqlmapCompressionException,
|
|
|
|
SqlmapConnectionException,
|
|
|
|
SqlmapDataException,
|
|
|
|
SqlmapFilePathException,
|
|
|
|
SqlmapGenericException,
|
|
|
|
SqlmapMissingDependence,
|
|
|
|
SqlmapMissingMandatoryOptionException,
|
|
|
|
SqlmapNoneDataException,
|
|
|
|
SqlmapRegExprException,
|
|
|
|
SqlmapSyntaxException,
|
|
|
|
SqlmapUndefinedMethod,
|
|
|
|
SqlmapMissingPrivileges,
|
|
|
|
SqlmapNotVulnerableException,
|
|
|
|
SqlmapThreadException,
|
|
|
|
SqlmapUnsupportedDBMSException,
|
|
|
|
SqlmapUnsupportedFeatureException,
|
|
|
|
SqlmapValueException,
|
2010-10-17 01:33:15 +04:00
|
|
|
)
|