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!


Popular posts from this blog

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

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

How to install a WhatsApp bot based on Python