def __init__(self): Source.__init__(self, 'bottle', None) AttributeTaint.__init__(self, -1) self['request'] = _BottleRequest()
def __init__(self): """Rules for the Bottle framework.""" Sanitizer.__init__(self, 'bottle', None) AttributeTaint.__init__(self, -1) self['html_escape'] = SimpleSanitizer(Sanitizer.XSS)
def __init__(self): Source.__init__(self, 'bottle.request', None) AttributeTaint.__init__(self, -1) self['GET'] = self['query'] = ConstAttributeTaint(Source.ALL) self['POST'] = self['forms'] = ConstAttributeTaint(Source.SQLI) self['params'] = ConstAttributeTaint(Source.ALL)
def __init__(self): """Rules for the Bottle framework.""" Sink.__init__(self, 'bottle', None) AttributeTaint.__init__(self, -1) self['route'] = DecoratedReturnSink(Sink.XSS)