Replies: 2 comments 1 reply
-
add like this: refer: ecapture/user/module/probe_mysqld.go Lines 131 to 137 in b73a099 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Similarly, a clear offset for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to hook an HTTPS communication from a docker container (the server is in the container and clients are connecting to it). I followed the wiki page: https://github.com/gojue/ecapture/wiki/trace-TLS-in-container
This gives me two libraries:
/var/lib/docker/overlay2/29e24959ba4c313d1e9a5b1b249849b4ed37c21a4de0cbc0f3f9d336bd4b4d06/merged/usr/lib/x86_64-linux-gnu/libssl.so.3
/var/lib/docker/overlay2/29e24959ba4c313d1e9a5b1b249849b4ed37c21a4de0cbc0f3f9d336bd4b4d06/merged/usr/lib/python3.10/lib-dynload/_ssl.cpython-310-x86_64-linux-gnu.so
The first one can correctly be hooked but no traffic is being captured so I suppose the traffic is actually going through the second one. However, no symbols are available on the binary but I can get the offset of the functions through
gdb
.How would I specify the offset of these functions (SSL_get_wbio, ...) when invoking the program (or directly in the source code).
Beta Was this translation helpful? Give feedback.
All reactions