From bccd2e1f554c8df4355aca8e82abfd1abc40dc7f Mon Sep 17 00:00:00 2001 From: Nicola Rossello Date: Mon, 18 Mar 2024 00:30:27 +0100 Subject: [PATCH] Update README.md --- README.md | 47 ++++++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index f20847d..3bcdc84 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,36 @@ -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 - docker network create --driver=bridge --subnet=192.168.0.0/24 torxi_net - -## Gateway - echo -e 'FROM alpine:latest \n'\ - 'RUN apk add --update tor iptables iproute2 curl' |\ - docker build -t "torxi_gw" - - -## Workstation -https://www.kali.org/news/kali-linux-metapackages/ +1. Let's create a non-default docker network: - echo -e 'FROM kalilinux/kali-rolling:latest \n\n'\ - 'RUN apt-get update \n\n'\ - 'RUN apt-get dist-upgrade -y \n\n'\ - 'RUN apt-get install -y apt-utils xfce4 xfce4-terminal kali-linux-core metasploit-framework \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 ' |\ - docker build -t "torxi_ws" - +``` +docker network create --driver=bridge --subnet=192.168.0.0/24 torxi_net +``` +2. Then build images for proxy and workstation machines +``` +#GATEWAY +echo -e 'FROM alpine:latest \n'\ +'RUN apk add --update tor iptables iproute2 curl' |\ +docker build -t "torxi_gw" - +``` +``` +#WORKSTATION +echo -e 'FROM kalilinux/kali-rolling:latest \n\n'\ +'RUN apt-get update \n\n'\ +'RUN apt-get dist-upgrade -y \n\n'\ +'RUN apt-get install -y apt-utils xfce4 xfce4-terminal kali-linux-core metasploit-framework \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 ' |\ +docker build -t "torxi_ws" - +``` +3. Run the script +``` +./torxi.sh +``` \ No newline at end of file