Skip to content

Commit

Permalink
release v0.1 - ars0n-framework-dockerized - tribute to R-s0n - becaus…
Browse files Browse the repository at this point in the history
…e some people want to watch the clouds burn
  • Loading branch information
cocoonkid committed Nov 15, 2023
1 parent dfc789a commit 6b4e492
Show file tree
Hide file tree
Showing 193 changed files with 1,328,578 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Docker
16 changes: 16 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SLACK_TOKEN=x0xb-1337-123456789012-4bDeFgHiJk1mN0pR57uVwXyZ
GITHUB_PAT=ghp_1337dEaDbEeF1234567890aBcD3fGh1jK1mN0pQr57uV
GITHUB_TOKEN=ghp_1337dEaDbEeF1234567890aBcD3fGh1jK1mN0pQr57uV
SHODAN_API_KEY=AbCd3FgH1234567890
HACKERONE_USERNAME=j0hnD03
HACKERONE_API_KEY=aBcDeF1234567890aBcDeF1234567890

NODE_ENV=production
NODE_NO_WARNINGS=1







47 changes: 47 additions & 0 deletions .env.vpn
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# VPN Service Provider - Common Settings
VPNSP=
OPENVPN_USER=
OPENVPN_PASSWORD=
REGION=
COUNTRY=
CITY=
SERVER_HOSTNAME=
SERVER_NAME=
SERVER_VPN_PORT=
OPENVPN_IPV6=
OPENVPN_VERBOSITY=
OPENVPN_ROOT=
OPENVPN_CIPHER=
OPENVPN_AUTH=
OPENVPN_COMP_LZO=
OPENVPN_COMP_STUB=
OPENVPN_COMP_STUBV2=
OPENVPN_MUTE_REPLAY_WARNINGS=
OPENVPN_PRNG=
TZ=

# Private Internet Access Specific Settings
PIA_ENCRYPTION=

# WireGuard Specific Settings
WIREGUARD_PRIVATE_KEY=
WIREGUARD_ADDRESS=
WIREGUARD_ENDPOINT_PORT=
WIREGUARD_PRESHARED_KEY=
WIREGUARD_PUBLIC_KEY=
WIREGUARD_KEEPALIVE=

# Shadowsocks Specific Settings
SHADOWSOCKS_CIPHER=
SHADOWSOCKS_PASSWORD=
SHADOWSOCKS=
SHADOWSOCKS_LOG=

# HTTP Proxy Settings
HTTP_PROXY=
HTTP_PROXY_USER=
HTTP_PROXY_PASSWORD=
HTTP_PROXY_STEALTH=

# Firewall Settings
FIREWALL_OUTBOUND_SUBNETS=
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
server/node_modules
client/node_modules
client/public/screenshots/http*.png
toolkit/h1.json
toolkit/temp/*
toolkit/config/amass_*.yaml
toolkit/screenshots/http*.png
toolkit/toolkit/nuclei-stacktrace-*.dump
toolkit/nuclei-stacktrace-*.dump
toolkit/wordlists/*.tmp
toolkit/wordlists/cewl_*
toolkit/http*
toolkit/logs/*
toolkit/wordlists/live_servers.txt
toolkit/__pycache__
.env
.vscode
37 changes: 37 additions & 0 deletions Docker/Dockerfile.client
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
FROM python:bookworm
LABEL org.opencontainers.image.authors="rs0n <[email protected]>"

ENV NODE_OPTIONS=--no-network-family-autoselection
ENV HOME /home/ars0n

RUN groupadd --gid 1000 ars0n && useradd --uid 1000 --gid ars0n --shell /bin/bash --create-home ars0n

RUN \
echo "deb https://deb.nodesource.com/node_20.x bookworm main" > /etc/apt/sources.list.d/nodesource.list && \
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
apt-get update && \
apt-get upgrade -yqq && \
apt-get install -yqq nodejs yarn apt-utils && \
rm -rf /var/lib/apt/lists/*

RUN apt-get update && apt-get install -y \
awscli \
jq \
git \
wget \
unzip \
curl \
&& rm -rf /var/lib/apt/lists/*


COPY client $HOME/client

WORKDIR $HOME/client

RUN npm install --omit=dev


CMD ["sleep", "1000"]
CMD ["npm", "run", "start", "--silent"]
28 changes: 28 additions & 0 deletions Docker/Dockerfile.server
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM python:bookworm
LABEL org.opencontainers.image.authors="rs0n <[email protected]>"

ENV NODE_OPTIONS=--no-network-family-autoselection
ENV HOME /home/ars0n

RUN groupadd --gid 1000 ars0n && useradd --uid 1000 --gid ars0n --shell /bin/bash --create-home ars0n


RUN echo "deb https://deb.nodesource.com/node_20.x bookworm main" > /etc/apt/sources.list.d/nodesource.list && \
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
apt-get update && \
apt-get upgrade -yqq && \
apt-get install -yqq nodejs yarn apt-utils && \
rm -rf /var/lib/apt/lists/*

COPY server $HOME/server

WORKDIR $HOME/server

RUN npm install --omit=dev


CMD ["sleep", "1000"]

CMD ["node", "server.js", ">", "server.log", "2>&1"]
57 changes: 57 additions & 0 deletions Docker/Dockerfile.toolkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
FROM python:bookworm

LABEL org.opencontainers.image.authors="rs0n <[email protected]>"

ENV HOME=/home/ars0n \
TOOLS_DIR=/home/ars0n/Tools \
PATH=/usr/local/go/bin:/home/ars0n/go/bin:$PATH \
POETRY_HOME=/usr/local \
POETRY_VERSION=1.7.0 \
POETRY_NO_INTERACTION=1 \
GO111MODULE=on

RUN curl -sSL https://install.python-poetry.org | python -

RUN mkdir -p $TOOLS_DIR \
&& groupadd --gid 1000 ars0n \
&& useradd --uid 1000 --gid ars0n --shell /bin/bash --create-home ars0n \
&& apt-get update \
&& apt-get upgrade -yqq \
&& apt-get install -yqq --no-install-recommends \
apt-utils \
awscli \
jq \
git \
wget \
unzip \
curl \
cewl \
&& rm -rf /var/lib/apt/lists/*

RUN wget https://golang.org/dl/go1.21.4.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.21.4.linux-amd64.tar.gz \
&& rm go1.21.4.linux-amd64.tar.gz

RUN go install github.com/tomnomnom/httprobe@latest \
&& go install github.com/tomnomnom/assetfinder@latest \
&& go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest \
&& go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest \
&& go install github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest \
&& go install github.com/lc/gau@latest \
&& go install github.com/jaeles-project/gospider@latest \
&& go install github.com/incogbyte/shosubgo@latest \
&& go install -v github.com/owasp-amass/amass/v4/...@master

RUN git clone https://github.com/huntergregal/Sublist3r $TOOLS_DIR/Sublist3r \
&& git clone https://github.com/projectdiscovery/nuclei-templates $TOOLS_DIR/nuclei-templates \
&& git clone https://github.com/projectdiscovery/nuclei $TOOLS_DIR/nuclei \
&& git clone https://github.com/nsonaniya2010/SubDomainizer $TOOLS_DIR/SubDomainizer \
&& git clone https://github.com/prbinu/tls-scan $TOOLS_DIR/tls-scan

COPY toolkit $HOME

WORKDIR $HOME

RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi

CMD ["python", "toolkit-service.py"]
Loading

0 comments on commit 6b4e492

Please sign in to comment.