You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I wanted to save the capture I got from my traffic as a mitmproxy capture file instead of a pcap file, so I can use https://github.com/alufers/mitmproxy2swagger to create a swagger file from it. From what I've seen this is not natively possible in the app? I tried to use the additional command line arguments for mitmdump to save it with e.G. -w test.cap-w /sdcard/test.cap-w /data/data/com.emanuelef.remote_capture/files/test.cap, but every time I start the capture via the app, it fails to start and tells me to look at the logs, but mitmdump is just not starting and not throwing any errors.
Is there a way to get the capture file here? If that was already asked, im sorry, I looked through the issues and didn't find anything.
Thanks :)
The text was updated successfully, but these errors were encountered:
Hello,
In Android apps need specific permissions to access basically any public folder (e.g. /sdcard). The mitm addon does not request these, so writing is limited to the app private dir, which requires root privileges in order to be read from outside the app (or the use of run-as if the app is built in debug mode).
The simpler way to achieve what you need is to use an external mitmproxy, running on your pc. Otherwise you will need to either rebuild the mitm addon in debug mode or modify it to request write access to the /sdcard folder.
Hi,
I wanted to save the capture I got from my traffic as a mitmproxy capture file instead of a pcap file, so I can use https://github.com/alufers/mitmproxy2swagger to create a swagger file from it. From what I've seen this is not natively possible in the app? I tried to use the additional command line arguments for mitmdump to save it with e.G.
-w test.cap
-w /sdcard/test.cap
-w /data/data/com.emanuelef.remote_capture/files/test.cap
, but every time I start the capture via the app, it fails to start and tells me to look at the logs, but mitmdump is just not starting and not throwing any errors.Is there a way to get the capture file here? If that was already asked, im sorry, I looked through the issues and didn't find anything.
Thanks :)
The text was updated successfully, but these errors were encountered: