2023-03-13, 18:12
if you want to capture SSL traffic @27hectormanuel you need more than raw packets
see - https://www.charlesproxy.com
proxying the connections you can see the ssl traffic IF:
the ssl cert is installed on the android device
newer android devices need to have the cert installed to system as user certs are not used by apps (as of android 7-8 i think)
unless those apps are compiled to use user certs, see - https://gist.github.com/luciopaiva/aa9cb...ccd11c95c7
in order to install the cert to the "system" certs you will need to be root
you can set a system proxy on android via adb like this
adb shell settings put global http_proxy <proxyserver>:8008
adb shell settings put global global_http_proxy_host <proxyserver>
adb shell settings put global global_http_proxy_port 8008
to completely disable proxy settings
adb shell settings delete global http_proxy
adb shell settings delete global global_http_proxy_host
adb shell settings delete global global_http_proxy_port
adb shell settings delete global global_http_proxy_username
adb shell settings delete global global_http_proxy_password
adb shell settings delete global global_http_proxy_exclusion_list
adb shell settings delete global global_proxy_pac_url
see - https://www.charlesproxy.com
proxying the connections you can see the ssl traffic IF:
the ssl cert is installed on the android device
newer android devices need to have the cert installed to system as user certs are not used by apps (as of android 7-8 i think)
unless those apps are compiled to use user certs, see - https://gist.github.com/luciopaiva/aa9cb...ccd11c95c7
in order to install the cert to the "system" certs you will need to be root
you can set a system proxy on android via adb like this
adb shell settings put global http_proxy <proxyserver>:8008
adb shell settings put global global_http_proxy_host <proxyserver>
adb shell settings put global global_http_proxy_port 8008
to completely disable proxy settings
adb shell settings delete global http_proxy
adb shell settings delete global global_http_proxy_host
adb shell settings delete global global_http_proxy_port
adb shell settings delete global global_http_proxy_username
adb shell settings delete global global_http_proxy_password
adb shell settings delete global global_http_proxy_exclusion_list
adb shell settings delete global global_proxy_pac_url