Expand description
Resolution of the ELF binary that sslsniff should attach its SSL uprobe to.
Three entry points are used by the CLI handlers in main.rs:
resolve_binary_pathturns a command name/path into the underlying ELF (PATH search, symlink canonicalization, shebang interpreter resolution).resolve_binary_path_for_sslfinds the concrete static TLS target.binary_embeds_ssldetects statically-linked TLS (Node.js/OpenClaw).resolve_container_binary_argmaps a container reference such asdocker://<container>ork8s://<namespace>/<pod>/<container>to an explicit host SSL attach target.
Functionsยง
- binary_
embeds_ ssl - Heuristic: does this ELF statically embed its own SSL implementation?
- parse_
container_ ref - Strip a
docker://<ref>ordocker:<ref>scheme from a--binary-pathvalue, returning the container reference (name or id). ReturnsNonefor ordinary filesystem paths, which are passed through to sslsniff unchanged. - resolve_
binary_ path - Resolve a command name/path to the real ELF binary that should be passed
to sslsniff as
--binary-path. - resolve_
binary_ path_ for_ ssl - Resolve a command to the concrete ELF path sslsniff should attach to, when one is needed for statically-linked TLS.
- resolve_
container_ binary_ arg - resolve_
container_ binary_ path - Resolve a Docker container reference to the explicit host path that sslsniff should attach its SSL uprobe to.