charles-proxy

How to setup Android Lollipop emulator with Charles Proxy?

我是研究僧i 提交于 2019-12-03 06:30:53
问题 I've been following instructions from other questions such as How to configure SSL certificates with Charles Web Proxy and the latest Android Emulator on Windows? (I'm on a MAC though) and SSL Proxy/Charles and Android trouble and I'm able to use Charles Proxy to analyze the packets of Android emulators all the way up to Kitkat. Now I'm trying to do the same for Lollipop emulators. However, when I repeated the same steps I used to successfully setup the Kitkat emulators, Charles show nothing!

SSL Proxy with Genymotion and Charles?

佐手、 提交于 2019-12-03 04:34:36
I'm trying to get Genymotion (an x86 Android emulator hosted in Virtualbox) working with Charles proxy. I've managed to connect the device to the proxy in the device's wifi proxy settings, using the gateway ip (the vm is configured to use a host-only adapter fwiw) and http traffic is proxied just fine. I've got the charles cert installed on the vm, but all ssl connections still fail with "SSL: Unrecognized SSL message, plaintext connection?" errors. Has anyone been able to configure genymotion to work with Charles as an ssl proxy? Is there a more generic solution I can implement through the

Android: prevent sniffing (e.g. with CharlesProxy) of SSL traffic

若如初见. 提交于 2019-12-03 03:08:25
I use Charles to check what data is send throw my app to HTTPS. I installed the Charles CA cert on my phone and because of that, I'm able to decrypt every SSL traffic. But I found apps, where I'm not possible to see the SSL traffic. How can I implement this behavior into my own app? With this, no man in the middle attack would be possible. ...I installed the Charles CA cert on my phone and because of that, I'm able to decrypt every SSL traffic. But I found apps, where I'm not possible to see the SSL traffic. How can I implement this behavior into my own app? With this, no man in the middle

Is it possible to rewrite a status code with Charles Proxy?

老子叫甜甜 提交于 2019-12-03 02:55:48
问题 I'm using Charles Proxy to rewrite a response from an API for testing purpose. If I set a breakpoint, I am allowed to completely rewrite the raw response as I wish. However, if I want to automate it via the "Rewrite" tool, I'm stuck, it seems that you cannot modify the status code: Do you know if I'm missing something? 回答1: An Update: Version 3.8 of Charles Proxy was just released, with the ability to rewrite the status. From the release notes: Rewrite tool: allow rewriting of response status

Is it possible to rewrite a status code with Charles Proxy?

让人想犯罪 __ 提交于 2019-12-02 16:31:28
I'm using Charles Proxy to rewrite a response from an API for testing purpose. If I set a breakpoint, I am allowed to completely rewrite the raw response as I wish. However, if I want to automate it via the "Rewrite" tool, I'm stuck, it seems that you cannot modify the status code: Do you know if I'm missing something? An Update: Version 3.8 of Charles Proxy was just released, with the ability to rewrite the status. From the release notes : Rewrite tool: allow rewriting of response status This version's rewrite UI adds a new "Response Status" rule type: Using Charles 3.8+, you can rewrite the

How to inspect websocket traffic with charlesproxy for iOS simulator/devices

旧时模样 提交于 2019-12-02 16:14:22
I would like to inspect network traffic going through web sockets , I have no control over the networking code as this is a binary lib for which I do not have the source code, so I cannot do any log/breakpoint in the networking part of the code. I have tried using the latest version of CharlesProxy which claim to be able to sniff websockets however when I tried the url and apis using websockets were not even mentionned in the list of endpoints called from my iPhone. I have verified that CharlesProxy is configured correctly as I am able to inspect non-websocket traffic even under SSL. So my

How to configure SSL certificates with Charles Web Proxy and the latest Android Emulator on Windows?

99封情书 提交于 2019-11-30 06:09:37
问题 I would like to use Charles web proxy to work with the Android emulator in Windows. I've successfully set up charles and have started the emulator with the command line: emulator -http-proxy 127.0.0.1:8888 @NexusOne I can see traffic coming from the android emulator in Charles, but the problem is that I'm developing against a live API which uses SSL and I'm not sure how to configure Charles to let me play about the the data which is sent and received. I'm aware of two areas where SSL is set

iOS 8 / Xcode 6 Simulator is not using HTTP Proxy anymore

…衆ロ難τιáo~ 提交于 2019-11-30 04:50:22
My iOS 8 Simulator is not using my proxy settings anymore (I want to debug with Charles). The rest of the system does. The simulator somehow seems to get direct internet access. Have I missed some new setting? Caution: this is NO dup of How to use Charles Proxy on the Xcode 6 (iOS 8) Simulator? . I´m not trying to use SSL on the simulator in the first place. My simulator doesn´t even start to use the proxy. Charles: System: Restart the simulator between proxy changes This is correct. Proxy settings that are setup on the host are not necessarily usable by the simulated runtime. If your proxy

Charles Proxy SSL Certificate not working

狂风中的少年 提交于 2019-11-30 03:19:13
I want to modify the website www.moviestarplanet.com. The site got https secured 2-3 weeks ago and i could not use charles anymore.. I've tried so much,but everytime it comes: unknown. Could anyone help me? Instead of unknown there should be: Gateway. I already installed the certificate.. Maybe I'm doing something wrong? There is no clear information on whether this problem is with iOS or Mac. Mauricio has explained how to solve this problem on Mac. Let me take the liberty of how to fix this problem in iOS. So basically there is a SSL trust issue that's happening on device that's why the

How do I add -http-proxy to an android emulator launch from Android Studio 2.0

我的梦境 提交于 2019-11-29 22:33:53
问题 I have a local dev web server running on a machine sitting next to me. I use a hosts file locally on my laptop to map an url to the machine and apparently the android emulator uses NAT and can't resolve the url. I wanted to configure the emulator to use Charles Proxy for all Internet traffic so that it will go through my laptop and pick up my hosts file for name resolution. The instructions here say I need to set -http-proxy. How do I do that if I launch from Android Studio 2.0? 回答1: Run