You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
314 B
17 lines
314 B
from pappyproxy.session import Session |
|
|
|
MACRO_NAME = '{{macro_name}}' |
|
SHORT_NAME = '{{short_name}}' |
|
runargs = [] |
|
|
|
def init(args): |
|
global runargs |
|
runargs = args |
|
|
|
def mangle_request(request): |
|
global runargs |
|
return request |
|
|
|
def mangle_response(request): |
|
global runargs |
|
return request.response
|
|
|