-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mach1el
committed
Jul 10, 2020
1 parent
c73c01f
commit e1bdd70
Showing
2 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,67 @@ | ||
FROM archlinux:latest | ||
|
||
WORKDIR /tmp/ | ||
RUN curl -O https://blackarch.org/strap.sh | ||
RUN chmod +x strap.sh | ||
RUN ./strap.sh | ||
|
||
WORKDIR /root/ | ||
RUN echo '[multilib]' >> /etc/pacman.conf | ||
RUN echo 'Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf | ||
RUN pacman -Syu --needed --noconfirm | ||
RUN pacman -S base base-devel --needed --noconfirm | ||
|
||
RUN pacman -Sy --noconfirm net-tools zip unrar sslsplit sqlmap john hydra\ | ||
zsh git wget vim nano gdb python python-pip python2 python2-pip rpcbind\ | ||
binutils openssl libffi python2-paramiko python-paramiko mlocate\ | ||
nmap nikto openssh sshpass openvpn samba smbclient openldap\ | ||
metasploit exploitdb mitmproxy binwalk gnu-netcat | ||
|
||
RUN wget https://raw.githubusercontent.com/samba-team/samba/master/examples/smb.conf.default -O /etc/samba/smb.conf | ||
|
||
RUN wget https://raw.githubusercontent.com/evyatarmeged/stegextract/master/stegextract -O /usr/bin/stegextract &&\ | ||
chmod +x /usr/bin/stegextract | ||
|
||
RUN wget https://raw.githubusercontent.com/AonCyberLabs/PadBuster/master/padBuster.pl -O /usr/bin/padbuster &&\ | ||
chmod +x /usr/bin/padbuster | ||
RUN pacman -Syy --noconfirm \ | ||
base \ | ||
base-devel \ | ||
zip \ | ||
unrar \ | ||
sslsplit \ | ||
sqlmap \ | ||
john \ | ||
hydra \ | ||
zsh \ | ||
git \ | ||
wget \ | ||
vim \ | ||
nano \ | ||
gdb \ | ||
python \ | ||
python-pywinrm \ | ||
python-pip \ | ||
python2 \ | ||
python2-pip \ | ||
rpcbind \ | ||
binutils \ | ||
openssl \ | ||
libffi \ | ||
mlocate \ | ||
nmap \ | ||
nikto \ | ||
openssh \ | ||
sshpass \ | ||
samba \ | ||
smbclient \ | ||
openldap \ | ||
metasploit \ | ||
mitmproxy \ | ||
binwalk \ | ||
gnu-netcat \ | ||
evil-winrm \ | ||
padbuster \ | ||
wfuzz \ | ||
dirb \ | ||
gobuster \ | ||
enum4linux \ | ||
stegsolve \ | ||
steghide | ||
|
||
RUN git clone https://github.com/danielmiessler/SecLists.git /usr/share/seclists | ||
RUN wget https://raw.githubusercontent.com/evyatarmeged/stegextract/master/stegextract -O /usr/bin/stegextract \ | ||
&& chmod +x /usr/bin/stegextract | ||
|
||
RUN gem install evil-winrm | ||
RUN pip install impacket stegcracker shodan BeautifulSoup4 -U --force-reinstall | ||
|
||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | ||
|
||
RUN chmod 640 /etc/sudoers && echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && chmod 440 /etc/sudoers && useradd -m -pyay -G wheel yay | ||
RUN rm -rf /tmp/yay &&\ | ||
sudo -u yay git clone https://aur.archlinux.org/yay.git /tmp/yay &&\ | ||
cd /tmp/yay &&\ | ||
pacman -Syy &&\ | ||
yes | sudo -u yay makepkg -sci &&\ | ||
cd /root/ | ||
RUN wget https://raw.githubusercontent.com/samba-team/samba/master/examples/smb.conf.default -O /etc/samba/smb.conf | ||
|
||
RUN sudo -u yay yay -S --overwrite='*' smbmap enum4linux stegsolve steghide perl-image-exiftool masscan dirbuster dirb jre11-openjdk --noconfirm | ||
RUN go get github.com/OJ/gobuster | ||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | ||
|
||
COPY .zshrc /root/ | ||
ENV PATH="${PATH}:/root/.gem/ruby/2.7.0/bin:/root/go/bin" | ||
CMD ["/bin/zsh"] | ||
CMD ["/bin/zsh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters