|
|
|
@ -11,19 +11,22 @@ docker build -t falsessh .
|
|
|
|
|
docker run -d --name falsessh -p 2269:22 falsessh:latest
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Try SSHing into the container.
|
|
|
|
|
Change the password immediately.
|
|
|
|
|
```bash
|
|
|
|
|
ssh user@localhost -p 2269
|
|
|
|
|
docker exec -it --user root falsessh /bin/sh
|
|
|
|
|
passwd user
|
|
|
|
|
exit
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Change the password immediately.
|
|
|
|
|
Try SSHing into the container.
|
|
|
|
|
```bash
|
|
|
|
|
passwd
|
|
|
|
|
ssh user@localhost -p 2269
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Port forward the SOCKS5 proxy to your local machine.
|
|
|
|
|
```bash
|
|
|
|
|
ssh -D 1080 -p 2269 user@localhost
|
|
|
|
|
ssh -D 1080 -p 2269 user@localhost
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Then you can configure your browser to use the SOCKS5 proxy on localhost:1080.
|
|
|
|
@ -32,7 +35,7 @@ You can also port-forward the SSH server from your home network to access the pr
|
|
|
|
|
|
|
|
|
|
To connect if you're doing above, run this:
|
|
|
|
|
```bash
|
|
|
|
|
ssh -D 1080 -p 2269 user@<your home network IP>
|
|
|
|
|
ssh -D 1080 -p 2269 user@<your home network IP>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You can then configure your browser to run the SOCKS5 proxy on localhost:1080. Have fun!
|