Update README.md

This commit is contained in:
2024-03-18 00:30:27 +01:00
parent b588490b07
commit bccd2e1f55

View File

@@ -9,18 +9,27 @@
Torxi needs an up and running Docker environment and a non-default docker network. Let's create one: ## Requirements:
* A running docker daemon
* User must be member of docker group
## Instructions
1. Let's create a non-default docker network:
```
docker network create --driver=bridge --subnet=192.168.0.0/24 torxi_net docker network create --driver=bridge --subnet=192.168.0.0/24 torxi_net
```
## Gateway 2. Then build images for proxy and workstation machines
```
#GATEWAY
echo -e 'FROM alpine:latest \n'\ echo -e 'FROM alpine:latest \n'\
'RUN apk add --update tor iptables iproute2 curl' |\ 'RUN apk add --update tor iptables iproute2 curl' |\
docker build -t "torxi_gw" - docker build -t "torxi_gw" -
```
## Workstation ```
https://www.kali.org/news/kali-linux-metapackages/ #WORKSTATION
echo -e 'FROM kalilinux/kali-rolling:latest \n\n'\ echo -e 'FROM kalilinux/kali-rolling:latest \n\n'\
'RUN apt-get update \n\n'\ 'RUN apt-get update \n\n'\
'RUN apt-get dist-upgrade -y \n\n'\ 'RUN apt-get dist-upgrade -y \n\n'\
@@ -28,4 +37,8 @@ https://www.kali.org/news/kali-linux-metapackages/
'RUN apt-get install -y iproute2 curl firefox-esr vim autocutsel iputils-ping \n\n'\ 'RUN apt-get install -y iproute2 curl firefox-esr vim autocutsel iputils-ping \n\n'\
'RUN apt-get install -y apt-utils novnc dbus-x11 x11vnc tightvncserver ' |\ 'RUN apt-get install -y apt-utils novnc dbus-x11 x11vnc tightvncserver ' |\
docker build -t "torxi_ws" - docker build -t "torxi_ws" -
```
3. Run the script
```
./torxi.sh
```