4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Android端末でTCPDUMPする

Posted at

Androidでtcpdumpしてwiresharkで確認する

Android端末でもtcpdumpは使える

Android端末のWiFiの通信をダンプする

adb shell
su
tcpdump -s 0 -i wlan0 -v -w /sdcard/dump.pcap

Android端末から引っこ抜く

adb pull sdcard/dump.pcap

wiresharkでdump.pcapを開く

スクリーンショット 2018-07-20 19.41.37.png

参考

メモ

通常のtcpdumpの使い方

# ポート10410へのudpのパケットを確認する
$ sudo tcpdump udp port 10410

特定のMACアドレスのログを表示する

eth.addr == BC:XX:XX:XX:XX:XX
4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?