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

pkg: support android on docker(redroid). #453

Merged
merged 2 commits into from
Dec 23, 2023
Merged

pkg: support android on docker(redroid). #453

merged 2 commits into from
Dec 23, 2023

Conversation

cfc4n
Copy link
Member

@cfc4n cfc4n commented Dec 23, 2023

fix: #445

Added detection of Android running on containers

cda5a878a8c4:/ # ./ecapture tls
2023/12/23 14:37:30 Your environment is like a container. We won't be able to detect the BTF configuration.
tls_2023/12/23 14:37:30 ECAPTURE :: ecapture Version : androidgki_x86_64:--:5.15.0-91-generic
tls_2023/12/23 14:37:30 ECAPTURE :: Pid Info : 1717
tls_2023/12/23 14:37:30 ECAPTURE :: Kernel Info : 5.15.126
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	module initialization
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	master key keylogger:
tls_2023/12/23 14:37:30 ECAPTURE ::	Module.Run()
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	Text MODEL
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	OpenSSL/BoringSSL version not found, used default version :android_default
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	HOOK type:2, binrayPath:/apex/com.android.conscrypt/lib64/libssl.so
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	Hook masterKey function:SSL_in_init
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	libPthread:/apex/com.android.runtime/lib64/bionic/libc.so
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	target all process.
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	target all users.
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	BPF bytecode filename:user/bytecode/boringssl_a_13_kern.o
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	perfEventReader created. mapSize:4 MB
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	perfEventReader created. mapSize:4 MB
tls_2023/12/23 14:37:30 EBPFProbeOPENSSL	module started successfully.
tls_2023/12/23 14:37:30 ECAPTURE :: 	start 1 modules
^Ctls_2023/12/23 14:37:41 EBPFProbeOPENSSL	close.
tls_2023/12/23 14:37:41 EBPFProbeOPENSSL	close

Added detection of Android running on containers

Signed-off-by: cfc4n <cfc4n.cs@gmail.com>
@cfc4n cfc4n added the enhancement New feature or request label Dec 23, 2023
@cfc4n cfc4n linked an issue Dec 23, 2023 that may be closed by this pull request
Signed-off-by: cfc4n <cfc4n.cs@gmail.com>
@cfc4n cfc4n merged commit c95e1b7 into master Dec 23, 2023
6 checks passed
@cfc4n cfc4n deleted the docker-redroid branch December 23, 2023 14:56
@cfc4n cfc4n changed the title pkg: support android on docker. pkg: support android on docker(redroid). Dec 23, 2023
@XiaoliChan
Copy link

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not working with redroid
2 participants