Files
dependabot[bot] d8090053de build(deps): bump openssl-src in /ch_13/rat
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>
2023-02-08 22:27:30 +00:00
..
2022-06-09 10:00:20 +00:00
2021-10-15 18:42:40 +00:00
2021-10-15 18:42:40 +00:00
2021-10-15 18:42:40 +00:00
2021-10-15 18:42:40 +00:00
2022-06-09 09:18:32 +00:00
2021-10-15 18:42:40 +00:00

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