このコードは sqlmap プロジェクトhttps://github.com/sqlmapproject/sqlmap/blob/master/lib/core/datatype.pyで見つかりまし た。
コンストラクタを呼ぶ意味がわからないAttribDict.__init__(self)
class InjectionDict(AttribDict):
def __init__(self):
AttribDict.__init__(self)
self.place = None
self.parameter = None
self.ptype = None
self.prefix = None
self.suffix = None
self.clause = None
# data is a dict with various stype, each which is a dict with
# all the information specific for that stype
self.data = AttribDict()
# conf is a dict which stores current snapshot of important
# options used during detection
self.conf = AttribDict()
self.dbms = None
self.dbms_version = None
self.os = None