Android Network Capture with ADB
환경
Device : Android (Root)
OS : Kali-linux, Ubuntu Etc
방법 1 : 실시간 패킷 분석 (Real-time packet analysis)
$ adb exec-out "su -c tcpdump -i any -U -w - 2>/dev/null" | wireshark -k -S -i -
* 실시간 패킷 분석 시 프레임 에러가 발생할 땐 [방법 2]로 사용해보세요.
* If a frame error occurs during real-time packet analysis, use [방법 2].
방법 2 : 저장된 패킷 분석 (Analysis of stored packets)
$ adb exec-out "su -c tcpdump -i any -U -w {스마트폰 내에 저장할 위치}"
ex) adb exec-out "su -c tcpdump -i any -U -w /sdcard/capture.pcap"
$ adb pull {스마트폰 내에 저장된 위치}
ex) adb pull /sdcard/capture.pcap
'Android' 카테고리의 다른 글
Samsung Firmware Reference (0) | 2021.02.02 |
---|---|
scrcpy 명령어 (0) | 2021.01.05 |
Samsung Molibe Platform BugBounty Review (0) | 2020.08.15 |
Android Network Capture with ADB (0) | 2020.05.25 |
JLang Build (0) | 2019.12.02 |
VMware에서 Android X86 설치 (2) | 2019.11.23 |
댓글
이 글 공유하기
다른 글
-
scrcpy 명령어
scrcpy 명령어
2021.01.05 -
Samsung Molibe Platform BugBounty Review
Samsung Molibe Platform BugBounty Review
2020.08.15 -
Samsung Open Source Custom Build
Samsung Open Source Custom Build
2020.05.24 -
JLang Build
JLang Build
2019.12.02