breach/README.md

45 lines
923 B
Markdown
Raw Normal View History

2021-11-06 04:34:41 +00:00
# Breach
2021-11-06 04:09:54 +00:00
common ways to breach network. Including proxy, port forward, ssh tunnel, and backconnect in a single executable
## Install
```
2021-11-06 04:34:41 +00:00
sudo rm -f /usr/local/bin/breach
2021-11-06 04:09:54 +00:00
sudo sh -c "curl -fsSL RELEASE_URL | tar -C /usr/local/bin/ -xz"
```
## Usage
```shell
Usage:
2021-11-06 04:34:41 +00:00
breach [command]
2021-11-06 04:09:54 +00:00
Available Commands:
forward port forwarding for UDP->UDP / TCP->TCP
help Help about any command
proxy reverse proxy to url
tunnel ssh tunneling to access remote services
2021-11-06 04:34:41 +00:00
version Print the version number of breach
2021-11-06 04:09:54 +00:00
Flags:
2021-11-06 04:34:41 +00:00
-h, --help help for breach
2021-11-06 04:09:54 +00:00
-s, --silent silent log output
2021-11-06 04:34:41 +00:00
-v, --version version for breach
2021-11-06 04:09:54 +00:00
2021-11-06 04:34:41 +00:00
Use "breach [command] --help" for more information about a command.
2021-11-06 04:09:54 +00:00
```
## Systemd
```conf
[Unit]
2021-11-06 04:34:41 +00:00
Description=Breach
2021-11-06 04:09:54 +00:00
[Service]
2021-11-06 04:34:41 +00:00
ExecStart=/usr/local/bin/breach tunnel :8080 :80 user@example.com -i ~/.ssh/id_rsa
2021-11-06 04:09:54 +00:00
Restart=always
[Install]
WantedBy=multi-user.target
```