Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在谷歌手机下运行报错, 也无法抓到包 #122

Closed
wolftail opened this issue Jul 5, 2022 · 1 comment · Fixed by #124
Closed

在谷歌手机下运行报错, 也无法抓到包 #122

wolftail opened this issue Jul 5, 2022 · 1 comment · Fixed by #124

Comments

@wolftail
Copy link

wolftail commented Jul 5, 2022

系统 Linux localhost 5.10.81-android12-9-00071-g64099431c232-ab8394429 #1 SMP PREEMPT Fri Apr 1 02:09:27 UTC 2022 aarch64

./ecapture tls --hex
tls_2022/07/05 10:03:28 pid info :18118
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL module initialization
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL module started successfully.
tls_2022/07/05 10:03:28 EBPFProbeGNUTLS module initialization
tls_2022/07/05 10:03:28 EBPFProbeGNUTLS module started successfully.
tls_2022/07/05 10:03:28 EBPFProbeNSPR module initialization
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL Module.Run()
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL HOOK type:2, binrayPath:/apex/com.android.conscrypt/lib64/libssl.so
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL libPthread so Path:/apex/com.android.runtime/lib64/bionic/libc.so
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL target all process.
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL target all users.
tls_2022/07/05 10:03:28 EBPFProbeOPENSSL module run failed, [skip it]. error:error:unknown EbpfFuncName , couldn't find program at probe_entry_SSL_write
couldn't init manager
ecapture/user.(*MOpenSSLProbe).start
/source_code/user/probe_openssl.go:65
ecapture/user.(*MOpenSSLProbe).Start
/source_code/user/probe_openssl.go:43
ecapture/user.(*Module).Run
/source_code/user/imodule.go:92
ecapture/cli/cmd.openSSLCommandFunc.func1
/source_code/cli/cmd/tls.go:119
runtime.goexit
/usr/lib/go-1.18/src/runtime/asm_arm64.s:1259
tls_2022/07/05 10:03:28 EBPFProbeNSPR module started successfully.
tls_2022/07/05 10:03:28 EBPFProbeGoSSL module initialization
tls_2022/07/05 10:03:28 EBPFProbeGoSSL module initialization failed. [skip it]. error:go binary not found
tls_2022/07/05 10:03:28 EBPFProbeNSPR Module.Run()
tls_2022/07/05 10:03:28 EBPFProbeNSPR module run failed, [skip it]. error:stat /apex/com.android.conscrypt/lib64/libnspr4.so: no such file or directory
tls module couldn't find binPath.
ecapture/user.(*MNsprProbe).start
/source_code/user/probe_nspr.go:53
ecapture/user.(*MNsprProbe).Start
/source_code/user/probe_nspr.go:36
ecapture/user.(*Module).Run
/source_code/user/imodule.go:92
ecapture/cli/cmd.openSSLCommandFunc.func1
/source_code/cli/cmd/tls.go:119
runtime.goexit
/usr/lib/go-1.18/src/runtime/asm_arm64.s:1259
tls_2022/07/05 10:03:28 EBPFProbeGNUTLS Module.Run()
tls_2022/07/05 10:03:28 EBPFProbeGNUTLS module run failed, [skip it]. error:stat /apex/com.android.conscrypt/lib64/libgnutls: no such file or directory
tls(gnutls) module couldn't find binPath.
ecapture/user.(*MGnutlsProbe).start
/source_code/user/probe_gnutls.go:53
ecapture/user.(*MGnutlsProbe).Start
/source_code/user/probe_gnutls.go:36
ecapture/user.(*Module).Run
/source_code/user/imodule.go:92
ecapture/cli/cmd.openSSLCommandFunc.func1
/source_code/cli/cmd/tls.go:119
runtime.goexit
/usr/lib/go-1.18/src/runtime/asm_arm64.s:1259

@cfc4n
Copy link
Member

cfc4n commented Jul 5, 2022

I'll release a new version . but I dont have Android device to Test, Can you help me ?

(加一下QQ群,帮测试一下内测版本哈,群二维码在公众号内)

@cfc4n cfc4n linked a pull request Jul 5, 2022 that will close this issue
@cfc4n cfc4n closed this as completed in #124 Jul 5, 2022
cfc4n added a commit that referenced this issue Jul 5, 2022
user : Clean up unnecessary information.  fix #122
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants