benötigt wird Ich muss tcpdump Ablaufverfolgung auf meinen Android-Geräten tun.Tcpdump Ablaufverfolgung auf Android - konnte Bibliothek "libssl.so" nicht laden, die von "/ system/bin/tcpdump"
Mein Setup:
Push-tcpdump-Datei
adb push filepath/tcpdump /sdcard/tcpdump
Kopieren Sie die Datei auf/system/bin
Give Root-Rechte zu tcpdump-Datei sdcard
adb shell
cd /system/bin
su
chmod 777 tcpdump
Installieren
tcpdump Spur
tcpdump -vv -s 0 -w /sdcard/filename.pcap
Ich habe bereits geschafft zu tun, dass auf dem Samsung Galaxy S4 - es funktioniert gut. Es funktioniert jedoch nicht auf meinem Samsung Galaxy Tab. Nach tcpdump Befehl bekam ich Fehler:
tcpdump
soinfo_link_image(linker.cpp:1635): could not load library "libssl.so" needed by
"/system/bin/tcpdump"; caused by load_library(linker.cpp:761): not a valid ELF
executable: libssl.soCANNOT LINK EXECUTABLE
Beide Geräte sind verwurzelt und sie haben die gleiche tcpdump-Konfiguration. Ich habe libssl.so in/system/lib/
Samsung Galaxy S4
C:\Windows\System32>adb shell
[email protected]:/ $ su
su
[email protected]:/ # cd system/bin
cd system/bin
[email protected]:/system/bin # tcpdump
tcpdump
tcpdump: WARNING: arptype 530 not supported by libpcap - falling back to cooked
socket
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rmnet_usb0, link-type LINUX_SLL (Linux cooked), capture size 96 byt
es
Samsung Galaxy Tab
C:\Windows\System32>adb shell
[email protected]:/ # su
su
[email protected]:/ # cd system/bin
cd system/bin
[email protected]:/system/bin # tcpdump
tcpdump
soinfo_link_image(linker.cpp:1635): could not load library "libssl.so" needed by
"/system/bin/tcpdump"; caused by load_library(linker.cpp:761): not a valid ELF
executable: libssl.soCANNOT LINK EXECUTABLE
255|[email protected]:/system/bin #
Ich arbeite an gerooteten Geräten und ich benutze dies: http://www.tcpdump.org/. Es funktioniert gut – KnightWhoSayNi