Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def mark_rpc_tainted(env):
    env = env.copy()
    env[RPC_TAINTED] = True
    return env
        


src/w/h/whiff-1.1/whiff/middleware/Eval.py   whiff(Download)
    def __call__(self, env, start_response):
        # as a security precaution mark the environment as tainted
        env = whiffenv.mark_rpc_tainted(env)
        page = self.param_value(self.page, env)
        #pr "evalling page of len", len(page)

src/w/h/whiff-1.1/whiff/middleware/expandPostedTemplate.py   whiff(Download)
        if verbose: print >> sys.stderr,"binding url at", (responding_path, path_remainder)
        # as a security precaution mark the environment as tainted
        env = whiffenv.mark_rpc_tainted(env)
        # inject the cgi parameters QUOTED VALUES!
        for (k,v) in parameters: