32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
|
|
|
|
████████╗ ██████╗ ██████╗ ██╗ ██╗██╗
|
|
╚══██╔══╝██╔═══██╗██╔══██╗╚██╗██╔╝██║
|
|
██║ ██║ ██║██████╔╝ ╚███╔╝ ██║
|
|
██║ ██║ ██║██╔══██╗ ██╔██╗ ██║
|
|
██║ ╚██████╔╝██║ ██║██╔╝ ██╗██║
|
|
╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝
|
|
|
|
|
|
|
|
Torxi needs an up and running Docker environment and a non-default docker network. Let's create one:
|
|
|
|
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/
|
|
|
|
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" -
|
|
|