How to catch response of server in mitmproxy container and past it into file in json format?

Published: 14/01/2020
How to catch response of server in mitmproxy container and past it into file in json format?
Source: STACKOVERFLOW.COM

I need to catch and fill in separated file every response,request which is going through my mitmproxy container. Dockerfile FROM mitmproxy/mitmproxy:latest RUN mkdir url_catching WORKDIR /home/$USER/url_catching COPY ./url.py . EXPOSE 8080:8080 ENTRYPOINT ["/usr/bin/mitmdump","-s","./url.py"] Docker run sudo docker run --rm -it -p 8080:8080 mitmdump_url:latest My pyhton script(sry, i am novi

Read more
Related news
Comment
FACEBOOK