How to capture Android traffic throught Wireshark

An option is connect wireshark from your pc to your android throught ssh.
You can use sshdroid to enable ssh on your Android.
On your computer use the following commands:

mkfifo /tmp/remote
wireshark -k -i /tmp/remote &
ssh root@android_ip "tcpdump -s 0 -U -n -w - not port 22" > /tmp/remote

Now you could see you Android traffic
Enjoy it!

Comments

Popular posts from this blog

How to fix Android when developer options are not available for this user

from: can't read /var/mail/ in Python scripts

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04