Skip to main content

Module binary_resolver

Module binary_resolver 

Source
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:

Functionsยง

binary_embeds_ssl
Heuristic: does this ELF statically embed its own SSL implementation?
parse_container_ref
Strip a docker://<ref> or docker:<ref> scheme from a --binary-path value, returning the container reference (name or id). Returns None for 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.