mirror of
https://github.com/skerkour/black-hat-rust
synced 2026-06-08 17:29:34 +00:00
d8090053de
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.22.0+1.1.1q to 111.25.0+1.1.1t. - [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases) - [Commits](https://github.com/alexcrichton/openssl-src-rs/commits) --- updated-dependencies: - dependency-name: openssl-src dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Setup
$ docker build -t black_hat_rust/ch13:latest .
$ make bundle
Usage
$ docker run -d -p 1322:22 --name bhr_ch13_ssh black_hat_rust/ch13:latest
$ cargo run -p agent -- 127.0.0.1:1322
On Linux, the agent will be installed in $XDG_DATA_HOME/bhr_ch13 or $HOME/.local/share/bhr_ch13
Inspect container
$ docker exec -ti bhr_ch13_ssh bash
$ ls -lah /tmp
$ ls -lahR /root/.local/share/
Cleanup
$ docker rm -f bhr_ch13_ssh
# on linux
$ rm -rf ~/.local/share/bhr_ch13/
# on macOS
$ rm -rf $HOME/Library/Application Support/bhr_ch13/
Build for Linux
make agent_linux
Build for Windows
make agent_windows