segfault/guest/Dockerfile

852 lines
34 KiB
Docker
Raw Permalink Normal View History

2023-02-19 17:15:42 +00:00
# FROM kalilinux/kali-rolling
# FROM kalilinux/kali-bleeding-edge
# 2023-02-19: kali-rolling has packages with dependencies for python <<3.11 but installs python 3.11.1-3
FROM kalilinux/kali-last-release
2023-03-09 16:34:16 +00:00
#FROM kalilinux/kali-rolling
2022-03-05 13:17:15 +00:00
WORKDIR /root/
2022-08-09 22:09:50 +00:00
2023-05-06 15:23:59 +00:00
# AARCH64: Some packages are not available for aarch64. In this case we try to
# install the x86_64 versoin for static binaries and skip the package otherwise.
2022-09-17 18:39:19 +00:00
# Valid options are:
2023-01-06 11:57:14 +00:00
# MINI BASE DEVEL NET WEB HACK LARGE HUGE GUI ALL
2023-02-19 17:15:42 +00:00
# SF_PACKAGES=ALL make # All
# SF_PACKAGES=ALLALL make # All _and_ kali-linux-everything
2022-09-28 09:49:46 +00:00
# Default is "MINI BASE NET" (see pkg-install.sh)
ARG SF_PACKAGES
2023-04-25 10:31:33 +00:00
ARG GITHUB_TOKEN
2023-06-09 09:22:58 +00:00
ARG BESTEFFORT
2022-09-09 14:19:46 +00:00
2023-02-21 06:49:57 +00:00
COPY fs-root/sf/bin/pkg-install.sh /
2022-08-09 22:09:50 +00:00
2022-12-06 14:15:57 +00:00
RUN sed 's/^deb \(.*\)/deb \1\ndeb-src \1/g' -i /etc/apt/sources.list \
&& apt-get update -y \
2022-09-09 14:19:46 +00:00
&& /pkg-install.sh MINI apt-get install -y --no-install-recommends \
iputils-ping \
iproute2 \
lsb-release \
2022-08-01 08:19:55 +00:00
locales \
2022-09-09 14:19:46 +00:00
net-tools \
procps \
psmisc \
2022-10-18 17:57:35 +00:00
rsync \
2022-09-09 14:19:46 +00:00
vim \
zsh \
zsh-autosuggestions \
2023-01-12 10:43:33 +00:00
zsh-syntax-highlighting
RUN /pkg-install.sh BASE apt-get install -y --no-install-recommends \
2022-12-07 18:07:50 +00:00
apt-src \
2022-09-09 14:19:46 +00:00
bc \
2022-09-28 09:49:46 +00:00
bsdmainutils \
2022-12-03 08:59:02 +00:00
ca-certificates \
curl \
2022-09-28 09:49:46 +00:00
dos2unix \
2023-02-19 17:15:42 +00:00
ed \
2022-10-12 16:45:46 +00:00
file \
2022-12-03 08:59:02 +00:00
git \
2023-04-25 10:31:33 +00:00
gnupg \
2022-12-03 08:59:02 +00:00
jq \
2022-09-17 18:39:19 +00:00
less \
2022-09-09 14:19:46 +00:00
openssh-sftp-server \
2023-11-07 08:17:51 +00:00
pipx \
2022-10-12 16:45:46 +00:00
python3-pip \
2022-09-09 14:19:46 +00:00
screen \
2022-09-28 09:49:46 +00:00
sharutils \
2023-03-28 23:09:31 +00:00
sshfs \
2023-05-30 17:57:54 +00:00
subversion \
2022-11-30 17:28:47 +00:00
supervisor \
2022-09-09 14:19:46 +00:00
tmux \
2023-02-19 17:15:42 +00:00
unrar \
2022-09-28 09:49:46 +00:00
unzip \
2023-01-07 23:11:19 +00:00
wget \
2023-01-12 10:43:33 +00:00
xxd
RUN /pkg-install.sh DEVEL apt-get install -y --no-install-recommends \
2022-09-09 14:19:46 +00:00
automake \
binutils \
bison \
build-essential \
byacc \
2023-05-30 17:57:54 +00:00
cmake \
2022-11-16 10:42:27 +00:00
dtach \
2022-09-09 14:19:46 +00:00
flex \
2022-05-19 11:17:21 +00:00
g++ \
2022-09-28 09:49:46 +00:00
gawk \
2022-09-09 14:19:46 +00:00
gcc \
gdb \
2022-11-27 13:17:00 +00:00
grc \
2022-09-09 14:19:46 +00:00
hexedit \
2022-10-08 08:30:59 +00:00
html2text \
2022-09-17 18:39:19 +00:00
libc-devtools \
libevent-dev \
2022-12-09 17:28:57 +00:00
libev-dev \
2023-03-09 16:34:16 +00:00
libfreetype6-dev `### ft2build.h missing otherwise` \
2023-02-19 17:15:42 +00:00
libsodium-dev \
2022-09-17 18:39:19 +00:00
libssl-dev \
2022-12-06 14:15:57 +00:00
lz4 \
2022-05-19 11:17:21 +00:00
make \
2023-02-19 17:15:42 +00:00
musl \
musl-tools \
2022-09-09 14:19:46 +00:00
patch \
2023-01-19 08:26:10 +00:00
perl-tk \
2022-11-27 13:17:00 +00:00
pv \
2022-12-09 17:28:57 +00:00
sbcl \
2022-11-27 13:17:00 +00:00
source-highlight \
2022-08-09 06:28:47 +00:00
strace \
2022-11-27 13:17:00 +00:00
wdiff \
2022-10-16 15:14:16 +00:00
whiptail \
2023-01-12 10:43:33 +00:00
xterm
2023-05-06 15:23:59 +00:00
# x86_64 only:
RUN /pkg-install.sh DEVEL apt-get install -y --no-install-recommends \
lib32z1 \
ltrace || { [ $(uname -m) != x86_64 ] && true; }
2023-01-12 10:43:33 +00:00
RUN /pkg-install.sh NET apt-get install -y --no-install-recommends \
2022-09-09 14:19:46 +00:00
dnsutils \
2022-09-28 09:49:46 +00:00
ftp \
2022-10-16 17:41:27 +00:00
iftop \
2023-02-19 17:15:42 +00:00
iperf \
iperf3 \
2022-09-09 14:19:46 +00:00
iputils-tracepath \
2022-05-19 11:17:21 +00:00
man-db \
manpages-dev \
2022-11-25 11:35:31 +00:00
mosh \
2022-11-27 13:17:00 +00:00
nano \
netcat-traditional \
ntpdate \
2022-12-03 08:59:02 +00:00
rpcbind \
2022-11-30 17:28:47 +00:00
sockstat \
2022-08-09 19:29:11 +00:00
sudo \
2022-10-16 17:41:27 +00:00
tcpdump \
2022-11-27 13:17:00 +00:00
tcpick \
2022-11-10 10:00:54 +00:00
telnet \
2022-09-09 14:19:46 +00:00
traceroute \
2022-10-16 17:41:27 +00:00
wireguard-tools \
2023-01-12 10:43:33 +00:00
whois
RUN /pkg-install.sh HACK apt-get install -y --no-install-recommends \
2023-02-19 17:15:42 +00:00
adb \
apktool \
2022-10-18 17:57:35 +00:00
assetfinder \
2022-10-16 17:41:27 +00:00
dnsmap \
2022-12-06 14:15:57 +00:00
dnsx \
2022-10-19 13:53:03 +00:00
ffuf \
2022-09-09 14:19:46 +00:00
hydra \
2022-10-18 17:57:35 +00:00
gobuster \
2022-12-03 08:59:02 +00:00
impacket-scripts \
2022-07-27 14:26:03 +00:00
irssi \
2023-01-08 13:43:32 +00:00
lshw \
2023-01-26 06:08:37 +00:00
massdns \
2023-01-19 08:26:10 +00:00
masscan \
2022-09-28 09:49:46 +00:00
nbtscan \
netdiscover \
2022-12-03 08:59:02 +00:00
ncrack \
2022-09-09 14:19:46 +00:00
nmap \
2022-12-03 08:59:02 +00:00
onesixtyone \
oscanner \
2022-09-09 14:19:46 +00:00
pagekite \
2023-02-19 17:15:42 +00:00
pwncat \
2023-03-09 16:34:16 +00:00
python3-shodan \
2022-09-28 09:49:46 +00:00
snmpcheck \
2022-09-09 14:19:46 +00:00
socat \
thc-ipv6 \
2022-12-03 08:59:02 +00:00
tnscmd10g \
2022-10-16 17:41:27 +00:00
tshark \
2023-11-01 11:03:49 +00:00
tsocks \
2022-12-06 14:15:57 +00:00
upx \
2022-09-28 09:49:46 +00:00
webshells \
2023-01-12 10:43:33 +00:00
weevely
2023-05-06 15:23:59 +00:00
# x86_64 only
RUN /pkg-install.sh HACK apt-get install -y --no-install-recommends \
oracle-instantclient-sqlplus || { [ $(uname -m) != x86_64 ] && true; }
2023-01-12 10:43:33 +00:00
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
2022-12-07 18:07:50 +00:00
aha \
2022-10-11 12:51:11 +00:00
altdns \
2022-12-07 18:07:50 +00:00
amass \
2022-10-11 12:51:11 +00:00
apache2-utils \
2022-11-27 13:17:00 +00:00
apt-file \
2022-12-06 14:15:57 +00:00
apt-utils \
backdoor-factory \
2022-10-11 12:51:11 +00:00
bat \
2022-12-22 22:24:16 +00:00
clang \
2022-10-11 12:51:11 +00:00
cmseek \
commix \
2023-03-09 16:34:16 +00:00
cython3 \
2022-10-11 12:51:11 +00:00
dirb \
dirsearch \
2022-12-03 08:59:02 +00:00
dnsenum \
2022-10-11 12:51:11 +00:00
dnsrecon \
2022-05-19 11:17:21 +00:00
dstat \
2022-10-11 12:51:11 +00:00
duf \
2022-11-30 17:28:47 +00:00
elinks \
2022-10-16 17:41:27 +00:00
emacs \
2022-10-11 12:51:11 +00:00
emailharvester \
enum4linux \
2022-12-03 08:59:02 +00:00
evil-winrm \
2024-04-13 19:29:03 +00:00
`### exa yanked from kali 2024.1` \
2022-10-11 12:51:11 +00:00
exiftool \
2022-11-27 13:17:00 +00:00
fd-find \
2023-02-19 17:15:42 +00:00
flatpak \
2022-12-22 21:42:09 +00:00
fossil \
2022-11-30 17:28:47 +00:00
fzf \
2022-10-11 12:51:11 +00:00
hashcat \
2022-11-27 13:17:00 +00:00
highlight \
2023-02-19 17:15:42 +00:00
httpie \
2022-10-11 12:51:11 +00:00
htop \
2022-12-22 22:24:16 +00:00
libcurl4-openssl-dev \
2023-01-08 13:43:32 +00:00
libdbus-glib-1-dev \
2022-12-22 22:24:16 +00:00
libedit2 \
libgcc-12-dev \
libstdc++-12-dev \
libicu-dev \
libxml2-dev \
2022-12-07 18:07:50 +00:00
libxml2-utils \
2022-12-22 22:24:16 +00:00
libz3-dev \
2022-10-11 12:51:11 +00:00
ldap-utils \
2022-12-07 18:07:50 +00:00
ldapscripts \
2023-02-19 17:15:42 +00:00
lolcat \
2022-12-07 18:07:50 +00:00
jsbeautifier \
2022-10-16 15:14:16 +00:00
joe \
2022-10-11 12:51:11 +00:00
john \
2022-08-13 15:10:26 +00:00
lsof \
2022-08-01 15:05:29 +00:00
lynx \
2022-10-11 12:51:11 +00:00
mc \
2022-12-22 21:42:09 +00:00
mercurial \
2022-10-18 17:57:35 +00:00
mg \
2022-10-11 12:51:11 +00:00
mtr \
2023-01-12 07:07:14 +00:00
mongodb-server-core \
2022-12-06 14:15:57 +00:00
mono-mcs \
mono-devel \
2022-10-11 12:51:11 +00:00
most \
2024-04-13 19:29:03 +00:00
mycli \
2022-12-03 08:59:02 +00:00
mypager \
nfs-common \
2022-10-16 17:41:27 +00:00
neofetch \
2022-11-25 11:35:31 +00:00
neovim \
2023-02-19 17:15:42 +00:00
nginx \
2022-10-11 12:51:11 +00:00
ngrep \
2022-12-03 08:59:02 +00:00
nikto \
2022-10-11 12:51:11 +00:00
openssh-client \
2022-10-31 18:10:03 +00:00
p7zip-full \
2022-10-11 12:51:11 +00:00
peass \
pip \
proxychains \
2022-12-06 14:15:57 +00:00
python2-minimal \
2022-10-11 12:51:11 +00:00
python-is-python3 \
2023-11-01 11:03:49 +00:00
python3-bitcoinlib \
2023-05-07 08:55:57 +00:00
python3-cheroot \
2023-11-01 11:03:49 +00:00
python3-confuse \
python3-decouple \
python3-dotenv \
python3-dotenv-cli \
2023-03-09 16:34:16 +00:00
python3-full \
python3-scapy \
2023-05-30 17:57:54 +00:00
python3-poetry \
2024-04-13 19:29:03 +00:00
`### python3-pwntools yanked from kali2024.1` \
2023-11-01 11:03:49 +00:00
python3-pyaudio \
2022-11-27 13:17:00 +00:00
python3-pygments \
2023-11-01 11:03:49 +00:00
python3-pyte \
python3-python-telegram-bot \
2022-10-31 18:10:03 +00:00
python3-venv \
python3-virtualenv \
2023-03-09 16:34:16 +00:00
python3-ipython \
2023-05-06 15:23:59 +00:00
python3-all-dev \
2023-11-01 11:03:49 +00:00
python3-schedule \
2023-05-06 15:23:59 +00:00
python3-setuptools \
2023-11-01 11:03:49 +00:00
python3-telethon \
2023-05-06 15:23:59 +00:00
python-all-dev \
2022-11-25 11:35:31 +00:00
radare2 \
2022-10-11 12:51:11 +00:00
recon-ng \
2022-12-03 08:59:02 +00:00
redis-tools \
2022-10-11 12:51:11 +00:00
rclone \
rlwrap \
2022-09-09 14:19:46 +00:00
smbclient \
smbmap \
2022-09-28 09:49:46 +00:00
snmp \
2022-10-16 15:14:16 +00:00
speedtest-cli \
2022-12-03 08:59:02 +00:00
sqsh \
2022-09-09 14:19:46 +00:00
sslscan \
sshpass \
ssh-audit \
2022-12-03 08:59:02 +00:00
sublist3r \
2022-12-06 14:15:57 +00:00
syncthing \
2023-02-19 17:15:42 +00:00
syncthing-relaysrv \
2022-09-09 14:19:46 +00:00
theharvester \
2022-11-25 11:35:31 +00:00
tmate \
2022-10-11 12:51:11 +00:00
tree \
2022-11-25 11:35:31 +00:00
torsocks \
2022-12-07 18:07:50 +00:00
urlcrazy \
2022-12-22 21:42:09 +00:00
uvicorn \
2022-10-11 12:51:11 +00:00
w3m \
2022-12-07 18:07:50 +00:00
wafw00f \
2022-10-16 17:41:27 +00:00
weechat weechat-plugins weechat-matrix \
2022-10-11 12:51:11 +00:00
whatweb \
wipe \
wpscan \
2022-10-18 17:57:35 +00:00
wrk \
2022-12-07 18:07:50 +00:00
xdg-utils \
2023-01-06 11:57:14 +00:00
xfce4 xfce4-goodies dbus-x11 x11-xserver-utils \
2022-12-07 18:07:50 +00:00
xmlstarlet \
xsltproc \
xvfb \
2022-12-22 21:42:09 +00:00
zlib1g-dev \
2023-01-12 10:43:33 +00:00
zoxide
2023-05-06 15:23:59 +00:00
# x86_64 only:
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
dotnet-runtime-6.0 \
eyewitness || { [ $(uname -m) != x86_64 ] && true; }
2024-04-13 19:29:03 +00:00
# yanked by kali2024.1
# RUN /pkg-install.sh WEB apt-get install -y --no-install-recommends \
# pelican
2023-01-12 10:43:33 +00:00
RUN /pkg-install.sh HUGE apt-get install -y --no-install-recommends \
2022-12-03 08:59:02 +00:00
bloodhound \
2022-12-07 18:07:50 +00:00
chromium \
cutycapt \
2022-09-17 18:39:19 +00:00
default-jdk \
exploitdb \
gem \
2022-12-07 18:07:50 +00:00
golang \
2022-09-09 14:19:46 +00:00
npm \
nodejs \
2022-09-17 18:39:19 +00:00
php \
2022-08-09 19:29:11 +00:00
pkg-config \
2022-11-25 11:35:31 +00:00
ripgrep \
2022-09-17 18:39:19 +00:00
rust-all \
ruby \
2023-05-06 15:23:59 +00:00
rubygems
# x86_64 only
RUN /pkg-install.sh HUGE apt-get install -y --no-install-recommends \
veil || { [ $(uname -m) != x86_64 ] && true; }
2023-02-19 17:15:42 +00:00
RUN /pkg-install.sh HUGE apt-get install -y --no-install-recommends \
seclists
RUN /pkg-install.sh HUGE apt-get install -y --no-install-recommends \
2023-11-01 11:03:49 +00:00
cloud-image-utils \
2023-02-19 17:15:42 +00:00
debootstrap \
2023-11-01 11:03:49 +00:00
libguestfs-tools \
2024-04-13 19:29:03 +00:00
`#qemu-efi ### yanked from Kali2023.4` \
qemu-efi-aarch64 \
2023-02-19 17:15:42 +00:00
qemu-efi-arm \
2023-11-01 11:03:49 +00:00
qemu-system \
2023-02-19 17:15:42 +00:00
qemu-user \
qemu-utils \
u-boot-qemu
RUN /pkg-install.sh ALLALL apt-get install -y kali-linux-everything
## Everything above here should be stable and not modified (or a full rebuild will occur)
#########################################################################################
RUN /pkg-install.sh HUGE bash -c 'mkdir /usr/muslcc; \
muslinstall() { \
local n; \
n="${1}-linux-musl${2}"; \
echo "[muslCC] Installing ${n}..."; \
curl -fsSL "https://musl.cc/${n}-cross.tgz" | tar xfz - -C /usr/muslcc || return; \
ln -s "../muslcc/${n}-cross/bin/${n}-gcc" "/usr/bin/${n}-gcc"; \
ln -s "${n}-gcc" "/usr/bin/gcc-${1}-linux"; \
ln -s "${n}-gcc" "/usr/bin/musl-gcc-${1}-linux"; \
}; \
muslinstall "aarch64" ""; \
muslinstall "arm" "eabi"; \
muslinstall "armv7l" "eabihf"; \
muslinstall "armv6" "eabi"; \
muslinstall "i686" ""; \
muslinstall "x86_64" ""; \
muslinstall "mips64" ""; \
muslinstall "mips64el" ""; \
muslinstall "mips" "sf"; \
muslinstall "mipsel" "sf"; \
muslinstall "powerpc" ""; \
muslinstall "powerpcle" ""; \
muslinstall "powerpc64" ""; \
muslinstall "powerpc64le" ""'
2023-01-12 10:43:33 +00:00
RUN /pkg-install.sh GUI bash -c '{ cd /tmp \
2023-01-07 23:11:19 +00:00
&& curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg \
2023-02-19 17:15:42 +00:00
&& wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg >/dev/null \
&& wget -qO - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg >/dev/null \
2023-05-06 15:23:59 +00:00
&& echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" >/etc/apt/sources.list.d/brave-browser-release.list \
2023-02-19 17:15:42 +00:00
&& echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list \
2023-05-06 15:23:59 +00:00
&& echo "deb https://packages.microsoft.com/repos/vscode stable main" | tee /etc/apt/sources.list.d/microsoft.list \
2023-01-07 23:11:19 +00:00
&& apt-get update; }' \
2023-01-06 11:57:14 +00:00
&& /pkg-install.sh GUI apt-get install -y --no-install-recommends \
2023-12-13 16:23:45 +00:00
alacritty \
2023-02-19 17:15:42 +00:00
aqemu \
2023-01-08 13:43:32 +00:00
awesome \
2023-01-07 23:11:19 +00:00
brave-browser \
2023-02-19 17:15:42 +00:00
evince \
2023-01-07 23:11:19 +00:00
eterm \
enlightenment-data \
2023-01-06 11:57:14 +00:00
fluxbox \
2023-02-19 17:15:42 +00:00
fonts-noto-color-emoji \
fonts-symbola \
2023-01-07 23:11:19 +00:00
geany \
2023-01-27 06:59:51 +00:00
gimp \
2023-02-19 17:15:42 +00:00
gnome \
gnome-terminal \
kate \
kitty \
konsole \
libreoffice \
ncurses-term \
pidgin \
qemu-system-gui \
2023-01-19 08:26:10 +00:00
remmina remmina-plugin-rdp remmina-plugin-vnc remmina-plugin-secret remmina-plugin-exec remmina-plugin-kwallet remmina-plugin-python remmina-plugin-www remmina-plugin-x2go \
2023-02-19 17:15:42 +00:00
qterminal `### needs RSS 80mb of memory` \
rxvt-unicode \
2023-01-08 13:43:32 +00:00
sublime-text \
2023-02-19 17:15:42 +00:00
syncthing-gtk \
terminator \
tigervnc-standalone-server \
tilix \
2023-01-07 23:11:19 +00:00
wireshark \
2023-01-06 11:57:14 +00:00
x11vnc \
2023-01-07 23:11:19 +00:00
x11-xserver-utils \
xterm \
2023-01-06 11:57:14 +00:00
xorg \
2023-02-19 17:15:42 +00:00
xrdp
2023-05-06 15:23:59 +00:00
# x86_64 only
RUN /pkg-install.sh GUI apt-get install -y --no-install-recommends \
code || { [ $(uname -m) != x86_64 ] && true; }
2023-02-19 17:15:42 +00:00
RUN /pkg-install.sh GUI apt-get install -y --no-install-recommends \
2023-03-09 16:34:16 +00:00
`### xpra ### Using Xpra repo instead` \
2023-12-13 16:23:45 +00:00
libavformat60 \
libavif16 \
2023-01-07 23:11:19 +00:00
libjs-jquery-ui \
2023-03-09 16:34:16 +00:00
`###libprocps8 ### yanked from Kali` \
2023-01-07 23:11:19 +00:00
libqrencode4 \
libxres1 \
libxtst6 \
2023-12-13 16:23:45 +00:00
libswscale7 \
2023-01-07 23:11:19 +00:00
libturbojpeg0 \
gir1.2-gtk-3.0 \
python3-cairo \
python3-gi \
python3-gi-cairo \
python3-opengl \
python3-pil \
python3-rencode \
xserver-xorg-video-dummy \
2023-02-19 17:15:42 +00:00
xvfb
# Everything below here will overwrite packages already installed by apt-get.
#############################################################################
2024-04-13 19:29:03 +00:00
### 2023-02: xpra has been yanked. the non-beta is broken on kali (and also conflicts with libprocps8)
2023-06-12 18:25:43 +00:00
# RUN /pkg-install.sh GUI bash -c '{ `### only Beta has no conflict with python 3.11.3 and libprocps8` \
# && wget -O "/usr/share/keyrings/xpra-2022.gpg" https://xpra.org/xpra-2022.gpg \
# && wget -O "/etc/apt/sources.list.d/xpra-beta.list" https://xpra.org/repos/bookworm/xpra-beta.list \
# && apt-get update \
# && pkg=("xpra" "xpra-html5") \
# && { [[ $HOSTTYPE != aarch64 ]] && pkg+=("xpra-x11"); true; `### x86_64 only`; } \
# && apt-get install -y --no-install-recommends "${pkg[@]}" \
# && rm -f /var/lib/apt/lists/xpra*; }'
2023-06-21 08:48:47 +00:00
### 2023-06: https://github.com/Xpra-org/xpra/issues/3863
2023-08-14 10:22:59 +00:00
# RUN /pkg-install.sh GUI bash -c '{ : \
# && wget -O "/usr/share/keyrings/xpra.asc" https://xpra.org/xpra-2023.asc \
# && wget -O "/etc/apt/sources.list.d/xpra-beta.sources" https://raw.githubusercontent.com/Xpra-org/xpra/master/packaging/repos/bookworm/xpra-beta.sources \
# && apt-get update \
# && pkg=("xpra" "xpra-html5") \
# && { [[ $HOSTTYPE != aarch64 ]] && pkg+=("xpra-x11"); true; `### x86_64 only`; } \
# && apt-get install -y --no-install-recommends "${pkg[@]}" \
# && rm -f /var/lib/apt/lists/xpra*; }'
### 2023-07: beta is badly synced
### E: Failed to fetch https://xpra.org/beta/bookworm/main/binary-amd64/Packages.gz File has unexpected size (41831 != 39348). Mirror sync in progress? [IP: 78.129.163.65 443]
2023-12-13 16:23:45 +00:00
# RUN /pkg-install.sh GUI bash -c '{ : \
# && wget -O "/usr/share/keyrings/xpra.asc" https://xpra.org/xpra-2023.asc \
# && wget -O "/etc/apt/sources.list.d/xpra.sources" https://raw.githubusercontent.com/Xpra-org/xpra/master/packaging/repos/bookworm/xpra.sources \
# && apt-get update \
# && pkg=("xpra" "xpra-x11" "xpra-html5") \
# && apt-get install -y --no-install-recommends "${pkg[@]}" \
# && rm -f /var/lib/apt/lists/xpra*; }'
2024-04-13 19:29:03 +00:00
# 2024-03-15 - xpra depends on version of libopenh264 which is not available on kali2024.1
RUN /pkg-install.sh GUI apt-get install -y xpra
2023-05-06 15:23:59 +00:00
### x86_64 only
RUN /pkg-install.sh GUI bash -c '{ [[ $HOSTTYPE != x86_64 ]] && exit 0; cd /usr/lib \
2023-02-19 17:15:42 +00:00
&& curl -sf https://download-installer.cdn.mozilla.net/pub/firefox/releases/108.0.1/linux-x86_64/en-US/firefox-108.0.1.tar.bz2 | tar xfvj - \
&& ln -s /usr/lib/firefox/firefox /usr/bin/firefox; }'
RUN /pkg-install.sh GUI bash -c '{ true; \
2023-08-14 10:22:59 +00:00
rm -f /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d/*.sources; \
2023-01-12 10:43:33 +00:00
apt-get update ; }'
2023-09-18 06:37:15 +00:00
RUN /pkg-install.sh HUGE ghbin SagerNet/sing-box 'linux-%arch:x86_64=amd64:aarch64=arm64%.' sing-box \
&& /pkg-install.sh HACK bin 'https://api.localxpose.io/api/v2/downloads/loclx-linux-%arch1%.zip' loclx \
&& /pkg-install.sh HACK bin 'https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-%arch1%.tgz' ngrok \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HUGE ghbin tomnomnom/waybackurls 'linux-amd64-' waybackurls \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/projectdiscovery/cdncheck/cmd/cdncheck@latest; }' \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh HACK ghbin projectdiscovery/httpx 'linux_%arch1%.zip$' httpx \
&& /pkg-install.sh HACK ghbin projectdiscovery/katana 'linux_%arch1%.zip$' katana \
&& /pkg-install.sh HACK ghbin projectdiscovery/naabu 'linux_amd64.zip$' naabu `### x86_64 only` \
&& /pkg-install.sh HACK ghbin projectdiscovery/nuclei 'linux_%arch1%.zip$' nuclei \
&& /pkg-install.sh HACK ghbin projectdiscovery/pdtm 'linux_%arch1%.zip$' pdtm \
&& /pkg-install.sh HACK ghbin projectdiscovery/proxify 'linux_%arch1%.zip$' proxify \
&& /pkg-install.sh HACK ghbin projectdiscovery/shuffledns '_linux_%arch1%.zip$' shuffledns \
&& /pkg-install.sh HACK ghbin projectdiscovery/subfinder 'linux_%arch1%.zip$' subfinder \
&& /pkg-install.sh HACK ghbin projectdiscovery/tlsx 'linux_%arch1%.zip$' tlsx \
&& /pkg-install.sh HACK ghbin projectdiscovery/uncover 'linux_%arch1%.zip$' uncover \
&& /pkg-install.sh HACK ghbin s0md3v/smap 'linux_%arch1%.tar.xz$' smap
2023-05-06 15:23:59 +00:00
RUN /pkg-install.sh LARGE ghbin Peltoche/lsd 'lsd_.*_%arch:x86_64=amd64:aarch64=arm64%.deb$' \
&& /pkg-install.sh LARGE ghbin cloudflare/cloudflared 'linux-%arch:x86_64=amd64:aarch64=arm64%.deb$' \
&& /pkg-install.sh LARGE ghbin filebrowser/filebrowser '^linux-%arch:x86_64=amd64:aarch64=arm64%-filebrowser.tar.gz$' filebrowser \
&& /pkg-install.sh LARGE ghbin cheat/cheat 'linux-%arch:x86_64=amd64:aarch64=arm64%.gz$' cheat \
&& /pkg-install.sh LARGE ghbin sensepost/gowitness 'linux-%arch:x86_64=amd64:aarch64=arm64%$' gowitness \
&& /pkg-install.sh LARGE ghbin t3rm1n4l/megacmd 'linux_%arch:x86_64=amd64:aarch64=arm64%.zip$' megacmd \
&& /pkg-install.sh HACK ghbin ropnop/kerbrute 'linux_amd64$' kerbrute `# x86_64 only` \
2023-06-09 09:22:58 +00:00
&& /pkg-install.sh HACK bash -c '{ git clone --depth 1 https://github.com/hmgle/graftcp.git \
&& make -C graftcp install; }' \
2023-05-06 15:23:59 +00:00
&& /pkg-install.sh HACK ghbin tomnomnom/anew 'linux-amd64' anew `# x86_64 only` \
&& /pkg-install.sh HACK ghbin lc/gau 'linux_amd64.tar.gz$' gau `# x86_64 only` \
&& /pkg-install.sh HACK ghbin praetorian-inc/fingerprintx 'linux_%arch:x86_64=amd64:aarch64=arm64%.tar.gz$' fingerprintx \
2023-06-09 09:22:58 +00:00
&& /pkg-install.sh HACK ghbin dwisiswant0/ppfuzz '-%arch%-unknown.*tar.gz' ppfuzz \
&& /pkg-install.sh HACK ghbin Edu4rdSHL/unimap 'unimap-%arch:x86_64=linux:aarch64=aarch64%' unimap \
2023-05-06 15:23:59 +00:00
&& /pkg-install.sh LARGE ghbin denisidoro/navi '%arch%-unknown-linux' navi \
&& /pkg-install.sh LARGE ghbin d3mondev/puredns 'inux-%arch:x86_64=amd64:aarch64=arm64%' puredns \
2023-02-19 17:15:42 +00:00
&& /pkg-install.sh LARGE bash -c '{ GOBIN=/usr/bin go install github.com/subfinder/goaltdns@latest; }' \
&& /pkg-install.sh LARGE bash -c '{ curl -sf https://gobinaries.com/asciimoo/wuzz | PREFIX=/usr/bin sh; }' \
&& /pkg-install.sh LARGE bash -c '{ curl -sf https://gobinaries.com/gwen001/github-subdomains | PREFIX=/usr/bin sh; }' \
2022-12-06 14:15:57 +00:00
&& /pkg-install.sh LARGE bash -c '{ mkdir -p /usr/share/cheatsheets/community \
&& git clone --depth 1 https://github.com/cheat/cheatsheets.git /usr/share/cheatsheets/community; }' \
2023-01-08 13:43:32 +00:00
&& /pkg-install.sh HACK bash -c '{ cd /usr/share/nmap/scripts \
2023-02-19 17:15:42 +00:00
&& git clone --depth 1 https://github.com/scipag/vulscan; }'
2024-04-13 19:29:03 +00:00
RUN /pkg-install.sh HUGE ghbin pwndbg/pwndbg '_%arch1%.deb$'
2023-05-06 15:23:59 +00:00
### x86_64 only
2024-04-13 19:29:03 +00:00
# RUN /pkg-install.sh HUGE bash -c '{ [[ $HOSTTYPE != x86_64 ]] && exit 0; cd /usr/share \
# && git clone --depth 1 https://github.com/pwndbg/pwndbg \
# && cd pwndbg \
# && apt-get install -y --no-install-recommends python3-dev python3-setuptools libglib2.0-dev libc6-dbg \
# && ./setup.sh \
# && echo "source /usr/share/pwndbg/gdbinit.py" >>/etc/gdb/gdbinit \
# && mkdir -p /usr/src/glibc \
# && cd /usr/src/glibc \
# && apt-src install glibc \
# && echo "directory \$cdir:\$cwd:$(find /usr/src/glibc -maxdepth 1 -type d | tail -n1)" >>/etc/gdb/gdbinit \
# && { dpkg --force-architecture --remove-architecture i386; \
# rm -f /var/lib/apt/lists/*-i386*; apt-get update; } \
# && echo DONE; }'
2023-03-09 16:34:16 +00:00
RUN /pkg-install.sh HACK apt-get install -y --no-install-recommends \
2023-06-09 09:22:58 +00:00
bloodhound.py \
2023-06-12 18:25:43 +00:00
`# python3-certipy CONFLICT with kali certipy4.0.1` \
2023-03-09 16:34:16 +00:00
python3-colorama \
crackmapexec \
python3-avahi \
python3-dnspython \
2022-09-28 09:49:46 +00:00
hashid \
2023-03-09 16:34:16 +00:00
python3-netaddr \
python3-pycryptodome \
python3-pyinotify \
python3-requests \
2022-09-28 09:49:46 +00:00
sqlmap \
2023-03-09 16:34:16 +00:00
python3-termcolor \
python3-tldextract \
python3-urllib3 \
python3-zeroconf \
&& /pkg-install.sh HACK bin https://raw.githubusercontent.com/fullhunt/log4j-scan/master/log4j-scan.py log4j-scan
RUN /pkg-install.sh HACK apt-get install -y --no-install-recommends \
python3-aiohttp \
2024-04-13 19:29:03 +00:00
`###python3-discord yanked kali2024.1` \
2023-09-18 06:37:15 +00:00
python3-irc
2023-05-30 17:57:54 +00:00
RUN /pkg-install.sh HACK pipx install aort \
&& /pkg-install.sh HACK pipx install arsenal-cli \
&& /pkg-install.sh HACK pipx install bbrf \
2023-03-09 16:34:16 +00:00
&& /pkg-install.sh HACK pipx install git+https://github.com/vortexau/dnsvalidator \
&& /pkg-install.sh HACK pipx install git-dumper \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HACK pipx install git+https://github.com/r0oth3x49/ghauri \
2023-06-09 09:22:58 +00:00
&& /pkg-install.sh HACK pipx install greynoise \
2023-03-09 16:34:16 +00:00
&& /pkg-install.sh HACK pipx install h8mail \
&& /pkg-install.sh HACK pipx install holehe \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HACK pipx install git+https://github.com/codingo/Interlace \
2023-03-09 16:34:16 +00:00
&& /pkg-install.sh HACK pipx install git+https://github.com/soxoj/maigret `### 2023-03-07 pipx repo fails on aiohttp/longintrepr.h` \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HACK pipx install raccoon-scanner \
2023-03-09 16:34:16 +00:00
&& /pkg-install.sh HACK pipx install git+https://github.com/EntySec/Shreder \
2023-11-01 11:03:49 +00:00
&& /pkg-install.sh HACK pipx install trevorspray \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HACK pipx install userefuzz \
2023-03-09 16:34:16 +00:00
&& /pkg-install.sh HACK pipx install webtech \
&& /pkg-install.sh DEVEL pipx install dulwich \
2023-11-01 11:03:49 +00:00
&& /pkg-install.sh DEVEL pipx install names \
&& /pkg-install.sh DEVEL pipx install Red-DiscordBot
2023-03-09 16:34:16 +00:00
RUN /pkg-install.sh WEB bash -c '{ apt-get remove -y pelican; true; }' \
2023-03-22 08:40:03 +00:00
&& /pkg-install.sh WEB pipx install 'grip' \
2023-03-15 08:06:26 +00:00
&& /pkg-install.sh WEB pipx install 'pelican[Markdown]' `### apt/pelican causes missing /onion/theme directory` \
&& /pkg-install.sh WEB pipx install 'tiny-http-server'
2023-03-09 16:34:16 +00:00
RUN /pkg-install.sh DEVEL pip install --break-system-packages \
2022-09-19 13:59:14 +00:00
cryptocode \
2022-12-07 18:07:50 +00:00
ipaddress \
2023-09-18 06:37:15 +00:00
mmh3 `# FavFreak` \
2023-03-09 16:34:16 +00:00
pyTelegramBotAPI \
2023-05-06 15:23:59 +00:00
tgcrypto \
2023-09-21 22:12:29 +00:00
uploadserver \
2023-11-01 11:03:49 +00:00
wsgidav \
&& /pkg-install.sh DEVEL pip install \
aiogram \
aospdtgen \
booru \
discum \
disnake \
donna25519 \
heroku3 \
jishaku \
lastversion \
libgen_api \
openai \
pyrogram \
python-json-logger \
python-nmap \
telegram \
timer
2023-06-21 08:48:47 +00:00
RUN /pkg-install.sh LARGE pipx install gdown \
&& /pkg-install.sh LARGE pipx install udocker
2024-04-13 19:29:03 +00:00
RUN /pkg-install.sh LARGE bin 'https://gitlab.com/api/v4/projects/32089582/packages/generic/geonet-rs/0.4.4/geonet_0.4.4_%arch:x86_64=x86_64:DEFAULT=SKIP%.deb' `# x86_64 only` \
2022-09-17 18:39:19 +00:00
&& /pkg-install.sh MINI bash -c "{ [[ -f /usr/share/locale/locale.alias ]] && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8; }" \
2023-05-06 15:23:59 +00:00
&& /pkg-install.sh DEVEL bash -c '{ arch=amd64; [[ $HOSTTYPE == "aarch64" ]] && arch=arm64; apt-get install -y --no-install-recommends linux-headers-${arch}; }'
### After 0.4.3a release
2023-02-21 06:49:57 +00:00
RUN /pkg-install.sh GAMES apt-get install -y --no-install-recommends \
2023-03-09 16:34:16 +00:00
pacman4console
2023-02-21 06:49:57 +00:00
RUN /pkg-install.sh EMU apt-get install -y --no-install-recommends \
dosbox \
fs-uae fs-uae-arcade \
vice
2023-03-09 16:34:16 +00:00
RUN /pkg-install.sh DEVEL apt-get install -y --no-install-recommends \
clojure \
leiningen
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
2023-03-22 08:40:03 +00:00
cron \
2023-03-09 16:34:16 +00:00
cups-client \
2023-03-24 08:21:47 +00:00
byobu \
2023-03-22 08:40:03 +00:00
fish \
2023-06-09 09:22:58 +00:00
krb5-user \
krb5-config \
2023-05-15 09:54:09 +00:00
parallel \
2023-11-01 11:03:49 +00:00
ranger \
2023-03-22 08:40:03 +00:00
sshuttle
2023-02-27 17:17:32 +00:00
RUN /pkg-install.sh HUGE apt-get install -y --no-install-recommends \
2023-03-22 17:21:02 +00:00
gopls \
golang-golang-x-tools \
2023-04-11 06:37:45 +00:00
gobjc++-mingw-w64-i686-posix gobjc++-mingw-w64-i686-win32 gobjc-mingw-w64-i686-posix gobjc-mingw-w64-i686-win32 \
2023-03-09 16:34:16 +00:00
maven \
rust-src
RUN /pkg-install.sh HACK ghbin shadow1ng/fscan 'fscan%arch:x86_64=:aarch64=_arm64%$' fscan \
2023-05-06 15:23:59 +00:00
&& /pkg-install.sh HACK ghbin 'theaog/spirit' 'spirit%arch:x86_64=:DEFAULT=SKIP%.tgz$' spirit `# x86_64 only, spirit-arm bad` \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/tomnomnom/gf@latest \
&& mkdir -p /usr/share/gf \
2024-01-20 20:44:05 +00:00
&& git clone --depth 1 https://github.com/tomnomnom/gf.git /tmp/gf \
2023-05-30 17:57:54 +00:00
&& mv /tmp/gf/examples/*.json /usr/share/gf \
&& mv /tmp/gf/gf-completion.* /usr/share/gf \
&& rm -rf /tmp/gf \
2024-01-20 20:44:05 +00:00
&& git clone --depth 1 https://github.com/1ndianl33t/Gf-Patterns.git /tmp/gf \
2023-05-30 17:57:54 +00:00
&& mv /tmp/gf/*.json /usr/share/gf; }' \
2023-02-27 17:17:32 +00:00
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/tomnomnom/hacks/inscope@latest; }' \
2023-05-15 09:54:09 +00:00
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/Emoe/kxss@latest; }' \
2023-02-27 17:17:32 +00:00
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/Josue87/analyticsrelationships@latest; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/Josue87/gotator@latest; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/Josue87/roboxtractor@latest; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/six2dez/ipcdn@latest; }' \
2023-05-30 17:57:54 +00:00
&& /pkg-install.sh HACK bash -c '{ git clone --depth 1 https://github.com/ameenmaali/urldedupe.git \
&& cd urldedupe \
&& cmake . \
&& make \
&& cp urldedupe /usr/bin; }' \
2024-01-20 20:44:05 +00:00
&& /pkg-install.sh HACK bash -c '{ git clone --depth 1 https://github.com/urbanadventurer/username-anarchy.git /opt/username-anarchy \
&& rm -rf /opt/username-anarchy/.git*; }' \
2023-02-27 17:17:32 +00:00
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/damit5/gitdorks_go@latest; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/trickest/dsieve@master; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/trickest/enumerepo@latest; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/lobuhi/byp4xx@latest; }' \
&& /pkg-install.sh HACK bash -c '{ GOBIN=/usr/bin go install github.com/Hackmanit/Web-Cache-Vulnerability-Scanner@latest && ln -s Web-Cache-Vulnerability-Scanner /usr/bin/wcvs; }' \
2023-06-09 09:22:58 +00:00
&& /pkg-install.sh HACK ghbin tomnomnom/qsreplace 'linux-amd64' qsreplace `# x86_64 only` \
&& /pkg-install.sh HACK ghbin tomnomnom/unfurl 'linux-amd64' unfurl `# x86_64 only` \
&& /pkg-install.sh HACK ghbin tomnomnom/gron 'linux-%arch:x86_64=amd64:aarch64=arm64%-' gron \
&& /pkg-install.sh HACK ghbin tomnomnom/meg 'linux-amd64-' meg `# x86_64 only` \
&& /pkg-install.sh HACK ghbin projectdiscovery/alterx '_linux_%arch:x86_64=amd64:aarch64=arm64%' alterx \
&& /pkg-install.sh HACK ghbin projectdiscovery/notify 'linux_%arch:x86_64=amd64:aarch64=arm64%' notify \
&& /pkg-install.sh HACK ghbin projectdiscovery/interactsh 'linux_%arch:x86_64=amd64:aarch64=arm64%' interactsh-client \
2023-11-01 11:03:49 +00:00
&& /pkg-install.sh HACK bin 'https://github.com/projectdiscovery/mapcidr/releases/download/v1.1.9/mapcidr_1.1.9_linux_%arch1%.zip' mapcidr `# often missing binary assets.` \
2023-06-09 09:22:58 +00:00
&& /pkg-install.sh HACK ghbin glebarez/cero 'linux-amd64' cero `# x86_64 only` \
&& /pkg-install.sh HACK ghbin dwisiswant0/crlfuzz 'inux_%arch:x86_64=amd64:aarch64=arm64%' crlfuzz \
&& /pkg-install.sh HACK ghbin hahwul/dalfox 'inux_%arch:x86_64=amd64:aarch64=arm64%' dalfox \
&& /pkg-install.sh HACK ghbin pwnesia/dnstake 'linux_%arch:x86_64=amd64:aarch64=arm64%' dnstake \
&& /pkg-install.sh HACK ghbin KathanP19/Gxss 'inux_x86_64' Gxss `# x86_64 only` \
&& /pkg-install.sh HACK ghbin qsocket/qs-netcat 'linux_%arch:x86_64=amd64:aarch64=arm64%' qs-netcat \
&& /pkg-install.sh HACK ghbin shenwei356/rush 'linux_%arch:x86_64=amd64:aarch64=arm64%' rush \
&& /pkg-install.sh HACK ghbin lc/subjs 'linux_amd64' subjs `# x86_64 only` \
2023-02-27 17:17:32 +00:00
&& /pkg-install.sh HACK bash -c '{ curl -sf https://gobinaries.com/gwen001/gitlab-subdomains | PREFIX=/usr/bin sh; }' \
2023-03-01 10:25:56 +00:00
&& /pkg-install.sh HACK bash -c '{ curl -sf https://gobinaries.com/gwen001/github-endpoints | PREFIX=/usr/bin sh; }'
2023-03-02 16:27:32 +00:00
RUN /pkg-install.sh GUI apt-get install -y --no-install-recommends \
2023-06-23 09:30:41 +00:00
hexchat \
2023-03-09 16:34:16 +00:00
i3 \
2023-04-25 10:31:33 +00:00
jupyter \
2023-03-09 16:34:16 +00:00
pavucontrol \
pulseaudio \
2023-06-23 09:30:41 +00:00
telegram-desktop \
2023-05-06 15:23:59 +00:00
tigervnc-tools \
&& /pkg-install.sh GUI npm install -g carbonyl
2023-03-15 08:06:26 +00:00
RUN /pkg-install.sh WEB apt-get install -y --no-install-recommends \
libnginx-mod-http-auth-pam \
libnginx-mod-http-brotli-filter \
libnginx-mod-http-brotli-static \
libnginx-mod-http-cache-purge \
libnginx-mod-http-dav-ext \
libnginx-mod-http-echo \
libnginx-mod-http-fancyindex \
libnginx-mod-http-geoip \
libnginx-mod-http-geoip2 \
libnginx-mod-http-headers-more-filter \
libnginx-mod-http-image-filter \
libnginx-mod-http-js \
libnginx-mod-http-lua \
libnginx-mod-http-memc \
libnginx-mod-http-modsecurity \
libnginx-mod-http-ndk \
libnginx-mod-http-ndk-dev \
libnginx-mod-http-perl \
libnginx-mod-http-set-misc \
libnginx-mod-http-srcache-filter \
libnginx-mod-http-subs-filter \
libnginx-mod-http-uploadprogress \
libnginx-mod-http-upstream-fair \
libnginx-mod-http-xslt-filter \
libnginx-mod-mail \
libnginx-mod-nchan \
libnginx-mod-rtmp \
libnginx-mod-stream \
libnginx-mod-stream-geoip \
libnginx-mod-stream-geoip2 \
libnginx-mod-stream-js \
njs
2023-04-11 06:37:45 +00:00
RUN /pkg-install.sh DEV apt-get install -y --no-install-recommends \
2023-08-15 09:08:24 +00:00
gengetopt \
libgmp3-dev \
libjson-c-dev \
libunistring-dev \
2023-04-25 10:31:33 +00:00
ninja-build \
repo
2023-05-15 09:54:09 +00:00
# Android build tools:
2023-03-28 19:24:58 +00:00
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
2023-04-11 06:37:45 +00:00
aria2 \
buildtorrent \
2023-04-25 10:31:33 +00:00
caddy \
ccache \
expat \
evilginx2 \
2023-04-11 06:37:45 +00:00
ffmpeg \
2023-04-25 10:31:33 +00:00
git-lfs \
icecream icecream-sundae icecc icecc-monitor \
2023-04-11 06:37:45 +00:00
lftp \
2023-05-06 15:23:59 +00:00
libmpc-dev libmpfr-dev libncurses-dev libsdl1.2-dev \
2023-04-25 10:31:33 +00:00
'^lzma.*' '^liblz4-.*' '^liblzma.*' \
2023-04-11 06:37:45 +00:00
libfdk-aac2 libdav1d-dev libvorbis-dev libopus-dev libmp3lame-dev libfdk-aac-dev libx264-dev libx265-dev libxvidcore-dev libvpx-dev libspeex-dev libsox-dev libsoxr-dev \
2023-04-25 10:31:33 +00:00
libxml-simple-perl libswitch-perl \
lzip \
lzop \
2023-04-11 06:37:45 +00:00
magic-wormhole \
mediainfo \
2023-04-25 10:31:33 +00:00
ncftp \
patchelf \
pngcrush \
pngquant \
re2c \
schedtool \
2023-04-11 06:37:45 +00:00
'softether-*' \
2023-05-30 17:57:54 +00:00
sysbench \
2023-04-25 10:31:33 +00:00
texinfo \
yt-dlp \
&& /pkg-install.sh LARGE bash -c '{ apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys B5A08F01796E7F521861B449372D1FF271F2DD50 \
2023-04-11 06:37:45 +00:00
&& echo "deb http://deb.ooni.org/ unstable main" | tee /etc/apt/sources.list.d/ooniprobe.list \
&& apt-get update \
2023-04-25 10:31:33 +00:00
&& apt-get install -y --no-install-recommends ooniprobe-cli \
2023-04-11 06:37:45 +00:00
&& rm /etc/apt/sources.list.d/ooniprobe.list \
&& apt-get update; }' \
2023-05-06 15:23:59 +00:00
&& /pkg-install.sh LARGE ghbin zellij-org/zellij '%arch%.*linux.*tar.gz$' zellij \
&& /pkg-install.sh LARGE ghbin jkfran/killport '%arch%-linux' killport
# x86_64 only
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
g++-multilib \
gcc-multilib \
lib32ncurses-dev lib32z1-dev || { [ $(uname -m) != x86_64 ] && true; }
2023-09-18 06:37:15 +00:00
RUN /pkg-install.sh HACK ghbin wader/fq '_linux_%arch1%' fq \
2024-01-16 13:47:48 +00:00
&& /pkg-install.sh HACK bin https://raw.githubusercontent.com/nitefood/asn/master/asn asn2 \
2023-11-01 11:03:49 +00:00
&& /pkg-install.sh HACK bin https://raw.githubusercontent.com/trustedsec/hardcidr/master/hardCIDR.sh hardcidr \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh HACK ghbin hahwul/dalfox '_linux_%arch1%' dalfox
2023-11-01 11:03:49 +00:00
RUN /pkg-install.sh NET ghbin hackerschoice/gsocket '_%arch%.deb' \
2023-06-23 09:30:41 +00:00
&& /pkg-install.sh NET ghbin ginuerzh/gost 'linux-%arch:x86_64=amd64:aarch64=armv8%.*gz$' gost \
2023-11-01 11:03:49 +00:00
&& /pkg-install.sh NET ghbin tulir/gomuks 'linux-%arch1%' gomuks \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh NET ghbin Snawoot/hola-proxy 'linux-%arch1%' hola-proxy \
2023-06-23 09:30:41 +00:00
&& /pkg-install.sh NET ghbin maxmind/mmdbinspect 'linux_amd64.tar.gz$' mmdbinspect `# x86_64 only` \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh NET ghbin shadowsocks/shadowsocks-rust '%arch%-unknown-linux-musl.tar' \
&& /pkg-install.sh NET ghbin shadowsocks/v2ray-plugin 'linux-%arch1%' 'v2ray-plugin_*' "" v2ray-plugin \
&& /pkg-install.sh NET ghbin teddysun/xray-plugin 'linux-%arch1%' 'xray-plugin_*' "" xray-plugin \
2023-06-23 09:30:41 +00:00
&& /pkg-install.sh NET ghbin KaranGauswami/socks-to-http-proxy 'sthp-linux' sthp `# x86_64 only` \
2024-04-13 19:29:03 +00:00
&& /pkg-install.sh NET ghbin schollz/croc 'Linux-%arch:x86_64=64bit:aarch64=ARM64%' croc \
2023-06-23 09:30:41 +00:00
&& /pkg-install.sh NET ghbin vi/websocat '%arch%.*linux-musl' websocat \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh NET ghbin ViRb3/wgcf 'linux_%arch1%$' wgcf \
2023-08-14 10:22:59 +00:00
&& /pkg-install.sh NET ghbin poscat0x04/wgcf-teams '-linux' wgcf-teams \
2023-04-11 06:37:45 +00:00
&& /pkg-install.sh NET apt-get install -y --no-install-recommends \
2024-01-16 13:47:48 +00:00
grepcidr \
2023-06-09 09:22:58 +00:00
hping3 \
2023-05-03 15:45:23 +00:00
ipcalc ipcalc-ng \
2023-04-25 10:31:33 +00:00
microsocks \
2023-04-11 06:37:45 +00:00
tinyproxy
2023-04-25 10:31:33 +00:00
# gophish vommits user-data into the system-wide install directory. Unix
# doesnt work like this. Impossible to install system-wide. Instead each user
# shall check out his own. No system-wide install for gophish. Sorry. Someone
# give gophish a helping hand or send them a Unix manual...
2023-05-06 15:23:59 +00:00
RUN /pkg-install.sh LARGE ghdir gophish/gophish 'linux-64bit.zip$' /usr/gophish `# x86_64 only` \
2023-04-25 10:31:33 +00:00
&& bash -c '{ [[ ! -d /usr/gophish ]] && exit 0; chmod 755 /usr/gophish/gophish \
&& echo -e "#! /bin/bash\ncd /usr/gophish && exec ./gophish \"\$@\"" >/usr/bin/gophish \
&& chmod 755 /usr/bin/gophish; }'
2023-06-21 08:48:47 +00:00
RUN /pkg-install.sh HUGE pipx install bbot
2023-04-25 10:31:33 +00:00
RUN /pkg-install.sh HUGE npm install -g wscat
2023-05-15 11:30:59 +00:00
RUN /pkg-install.sh HUGE bash -c 'mkdir -p /usr/share/wordlists; curl -fsSL https://crackstation.net/files/crackstation-human-only.txt.gz | gunzip >/usr/share/wordlists/crackstation-human-only.txt'
2023-06-21 08:48:47 +00:00
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
bpytop \
2023-08-14 10:22:59 +00:00
btop \
2023-11-01 11:03:49 +00:00
db-util \
2024-04-13 19:29:03 +00:00
haproxy \
2023-11-01 11:03:49 +00:00
ncdu \
pass
2023-08-14 10:22:59 +00:00
RUN /pkg-install.sh GUI apt-get install -y --no-install-recommends \
alsa-utils \
alsamixergui \
2024-04-13 19:29:03 +00:00
keepass2 \
`### libgtkglext1 # yanked kali2024, # Needed for AnyDesk` \
2023-08-14 10:22:59 +00:00
qasmixer
2024-04-13 19:29:03 +00:00
RUN /pkg-install.sh GUI bin 'http://ftp.de.debian.org/debian/pool/main/g/gtkglext/libgtkglext1_1.2.0-11_%arch1%.deb'
RUN /pkg-install.sh GUI bin 'https://download.anydesk.com/linux/anydesk_6.3.1-1_%arch1%.deb'
2023-08-14 10:22:59 +00:00
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
2024-04-13 19:29:03 +00:00
php-curl \
php-fpm \
php-xml
RUN /pkg-install.sh HACK ghbin ekzhang/bore '%arch:aarch64=arm%-unknown-linux' \
2023-11-01 11:03:49 +00:00
&& pipx install git+https://github.com/bluet/proxybroker2.git \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh HACK pipx install pwncat-cs \
2024-01-16 13:47:48 +00:00
&& /pkg-install.sh HACK ghbin praetorian-inc/noseyparker 'linux-' noseyparker \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh HACK bin 'https://gitlab.com/api/v4/projects/33695681/packages/generic/nrich/latest/nrich_latest_amd64.deb' `# x86_64 only` \
&& /pkg-install.sh HACK bin 'https://github.com/RustScan/RustScan/releases/download/2.0.1/rustscan_2.0.1_amd64.deb' `# x86_64 only` \
2024-01-18 08:33:18 +00:00
&& /pkg-install.sh HACK bin 'https://github.com/xaitax/SploitScan/raw/main/sploitscan.py' sploitscan \
2023-09-18 06:37:15 +00:00
&& /pkg-install.sh HACK ghbin hueristiq/xurlfind3r 'linux_%arch:x86_64=amd64:aarch64=arm64%' xurlfind3r
2024-04-13 19:29:03 +00:00
RUN /pkg-install.sh LARGE ghbin PaddiM8/kalker 'linux' kalker \
&& /pkg-install.sh LARGE ghbin obsidianmd/obsidian-releases '_amd64.deb' \
&& /pkg-install.sh LAREGE ghbin bvaisvil/zenith 'x86_64-unknown-linux-musl.tgz' zenith
2024-01-20 20:44:05 +00:00
## YANKED. Already in apt-get install powershell/pkg-install.sh LARGE ghbin PowerShell/PowerShell 'deb_%arch1%.deb'
2024-04-13 19:29:03 +00:00
RUN /pkg-install.sh LARGE bash -c '{ curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr bash; }'
RUN /pkg-install.sh HACK bash -c '{ wget -O "/usr/bin/favfreak.py" https://raw.githubusercontent.com/devanshbatham/FavFreak/master/favfreak.py \
2023-09-18 06:37:15 +00:00
&& chmod 755 /usr/bin/favfreak.py \
&& ln -s favfreak.py /usr/bin/FavFreak; }' \
&& /pkg-install.sh HACK bash -c '{ mkdir /usr/share/wordlists/meg \
&& wget -O /usr/share/wordlists/meg/openredirects "https://raw.githubusercontent.com/tomnomnom/meg/master/lists/openredirects" \
&& wget -O /usr/share/wordlists/meg/configfiles "https://raw.githubusercontent.com/tomnomnom/meg/master/lists/configfiles" \
&& wget -O /usr/share/wordlists/meg/crlfinjection "https://raw.githubusercontent.com/tomnomnom/meg/master/lists/crlfinjection"; }'
2023-12-13 16:23:45 +00:00
RUN /pkg-install.sh DEV ghbin helix-editor/helix '-%arch%-linux.tar.xz' hx \
2024-04-13 19:29:03 +00:00
&& /pkg-install.sh DEV ghbin dandavison/delta '_%arch1%.deb' \
&& /pkg-install.sh DEV ghbin watchexec/watchexec '%arch%-unknown-linux-musl.deb' '' '' '' --force-overwrite
RUN /pkg-install.sh HACK pipx install yxdump \
2024-04-20 15:19:29 +00:00
&& /pkg-install.sh HACK ghbin hackerschoice/dsniff 'linux-%arch%' dsniff "/usr/sbin" \
&& /pkg-install.sh HACK bin https://paste.c-net.org/pbenc pbenc \
&& /pkg-install.sh HACK pipx install xortool
2023-02-21 06:49:57 +00:00
RUN sed 's/deb-src.*//' -i /etc/apt/sources.list \
2023-04-25 10:31:33 +00:00
&& apt-get autoremove -y \
2023-02-21 06:49:57 +00:00
&& apt-get update
2022-09-18 11:42:52 +00:00
2022-09-17 18:39:19 +00:00
# Keep the apt/lists in case user does an apt update -y
2022-07-28 17:50:07 +00:00
#RUN rm -rf /var/lib/apt/lists/*
2022-03-05 13:17:15 +00:00
2022-12-03 08:59:02 +00:00
# Do fs-root last (on vmbox it messes with permissions on directories and setup.sh fixes it)
2024-04-13 19:29:03 +00:00
COPY setup.sh gitconfig-stub /fs-root/ /
2023-08-15 09:08:24 +00:00
# Some tools are pre-compiled on existing segfaults and supplied as binary
# (Mostly tools which are a bitch to build during 'docker build')
COPY /fs-root-amd64/ /
2022-09-18 11:42:52 +00:00
RUN /setup.sh \
2024-04-13 19:29:03 +00:00
&& rm -f /setup.sh /gitconfig-stub /pkg-install.sh
2022-09-18 11:42:52 +00:00
2022-05-19 11:17:21 +00:00
CMD ["zsh", "-il"]