![]() Requirement already satisfied: Werkzeug>=2.0 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from flask=1.1.1->mitmproxy=7.0.4) (2.0.2) ![]() Requirement already satisfied: cffi>=1.12 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from cryptography=3.3->mitmproxy=7.0.4) (1.15.0) Requirement already satisfied: colorama in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from click=7.0->mitmproxy=7.0.4) (0.4.4) Requirement already satisfied: wsproto=1.0 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from mitmproxy=7.0.4) (1.0.0) ![]() Requirement already satisfied: certifi>=2019.9.11 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from mitmproxy=7.0.4) (2021.10.8) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='.cn', port=443): Read timed out. Requirement already satisfied: sortedcontainers=2.3 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from mitmproxy=7.0.4) (2.4.0) Using cached pyperclip-1.8.2-p圓-none-any.whl Requirement already satisfied: flask=1.1.1 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from mitmproxy=7.0.4) (2.0.2) Requirement already satisfied: click=7.0 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from mitmproxy=7.0.4) (8.0.3) ![]() Requirement already satisfied: h11=0.11 in c:\users\hli211\pycharmprojects\mobileapp\venv\lib\site-packages (from mitmproxy=7.0.4) (0.12.0) PS: The target URL is definitely correct, plus I'm using it with a registered account from the client application that is being sniffed with mitmproxy.C:\Users\HLI211\PycharmProjects\MobileApp\venv\Scripts>pip install mitmproxy=7.0.4 How can I get the if statement to succeed ? Now here is the whole python script I wrote so as to tamper with this packet data, based upon the aforementioned sources : from mitmproxy import ctxĬtx.log.info("RespModif triggered - In the if statement")Ĭtx.log.info("RespModif - Proceeded to %d response modifications "Ĭhecking out the events log, I'm able to see that the first log information (" RespModif triggered") is being reported onto the log, but the two other log infos (done from inside the if statement) are never reported, which means I think that the if statement does never succeed. I am following this Stack Overflow answer to a rather similar question, as well as this tutorial from the mitmproxy docs, but without any success so far. ![]() I am trying to implement an mitmproxy addon script, in order to tamper with a particular https packet data - which is by the way decrypted on the fly through mitmproxy's certificate injection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |