(Legacy) Using Charles Proxy using-charles-proxy
Charles: http://charlesproxy.com
Download, Install and Get Started with Charles Proxy download-install-and-get-stared-with-charles-proxy
- Download - http://www.charlesproxy.com/download/
- Install - http://www.charlesproxy.com/documentation/installation/
- Getting Started - http://www.charlesproxy.com/documentation/getting-started/
Structure vs Sequence Tabs structure-vs-sequence-tabs
There are two different ways to view the traffic:
- Structure - Requests are grouped by host
- Sequence - Requests are listed in the order they are called
SSL and Certificates ssl-and-certificates
Enable SSL Proxying \[ *Proxy -\> Proxy Settings... -\> SSL* \]
Check the “Enable SSL Proxying” checkbox and add all of the HTTPS locations.
- SSL Proxying - http://www.charlesproxy.com/documentation/proxying/ssl-proxying/
- SSL Certificates - http://www.charlesproxy.com/documentation/using-charles/ssl-certificates/
- SSL Proxying from Mobile devices - See below.
Ignore / Exclude Hosts ignore-/-exclude-hosts
If your output becomes too cluttered you can choose to ignore or exclude locations You can ignore or exclude locations by doing either of the following:
- Right-click on the requests you wish to ignore and then select “Ignore”
- Manually add the locations to exclude from
\[ *Proxy -\> Recording Settings... -\> Exclude* \]
DNS Spoofing dns-spoffing
\[ *Tools -\> DNS Spoofing...* \]
DNS spoofing is very useful when trying to redirect a request to a different IP, especially when working with mobile devices:
http://www.charlesproxy.com/documentation/tools/dns-spoofing/
Map Remote map-remote
\[ *Tools -\> Map Remote...* \]
With map remote you can redirect an “incoming” request to a different endpoint. The most common use case for this feature is to “Map” AccessEnabler.swf
to AccessEnablerDebug.swf:
http://www.charlesproxy.com/documentation/tools/map-remote/
Reverse Proxy reverse-proxy
http://www.charlesproxy.com/documentation/proxying/reverse-proxy/
Mobile mobile
Use Charles on an iOS Device (iPhone / iPad) use-charles-on-an-ios-device-(iphone-/-ipad)
SSL Connection from iPhone ssl-connection-from-iphone
Browse to http://charlesproxy.com/charles.crt from your iOS device. This will start the certificate install dialog:
Click \[ *Install*... *Install*... *Done* \]
to complete installing the certificate.
http://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/
Using Charles from an iOS device using-charles-from-an-ios-device
On your iOS device select \[ *Settings* -\> *Wi-FI* -\> (*YOUR\_WIFI\_NETWORK)* \]
. Click on the little blue arrow next to your network, and then go down to HTTP Proxy and select “Manual”:
If you now open Safari on your iOS device and try to open a web page, you should get the following popup on the machine that's running Charles:
Click "Allow" to allow the device to use Charles to proxy all its requests.
http://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/
iOS - Trust any certificates ios-trust-any-certificates
iOS Authentication error - adobepass.ios.app cannot be found
https://tve.zendesk.com/entries/22135907-ios-authentication-error-adobepass-ios-app-cannot-be-found
Use Charles for Android
http://www.charlesproxy.com/documentation/configuration/browser-and-system-configuration
Browse to Charles proxy from your Android device.