mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-22 08:03:19 +01:00
Merge branch 'feature/KASM-2153_create_tracelabs_image' into 'develop'
KASM-2153 Create Tracelabs image Closes KASM-2153 See merge request kasm-technologies/internal/workspaces-images!23
This commit is contained in:
commit
3f01864e50
@ -42,7 +42,7 @@ build:
|
||||
- aws-autoscale
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless, tracelabs ]
|
||||
|
||||
|
||||
|
||||
@ -73,7 +73,7 @@ build_dev:
|
||||
- aws-autoscale
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless, tracelabs ]
|
||||
|
||||
|
||||
|
||||
@ -101,7 +101,7 @@ build_schedules:
|
||||
- aws-autoscale
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless, tracelabs ]
|
||||
|
||||
|
||||
|
||||
@ -121,4 +121,4 @@ update_readmes:
|
||||
- $README_PASSWORD
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless, tracelabs ]
|
||||
|
26
dockerfile-kasm-tracelabs
Normal file
26
dockerfile-kasm-tracelabs
Normal file
@ -0,0 +1,26 @@
|
||||
ARG BASE_TAG="develop"
|
||||
FROM kasmweb/core-kali-rolling:$BASE_TAG
|
||||
USER root
|
||||
|
||||
ENV HOME /home/kasm-default-profile
|
||||
ENV STARTUPDIR /dockerstartup
|
||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||
WORKDIR $HOME
|
||||
|
||||
######### Customize Container Here ###########
|
||||
|
||||
|
||||
# Install Tracelabs utils
|
||||
COPY ./src/ubuntu/install/tracelabs $INST_SCRIPTS/tracelabs/
|
||||
RUN bash $INST_SCRIPTS/tracelabs/install_tracelabs.sh && rm -rf $INST_SCRIPTS/tracelabs/
|
||||
|
||||
######### End Customizations ###########
|
||||
|
||||
RUN chown 1000:0 $HOME
|
||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||
|
||||
ENV HOME /home/kasm-user
|
||||
WORKDIR $HOME
|
||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||
|
||||
USER 1000
|
7
docs/tracelabs/README.md
Normal file
7
docs/tracelabs/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
# About This Image
|
||||
|
||||
This Image contains an unofficial browser-accessible version of the [Trace Labs OSINT Image](https://www.tracelabs.org/initiatives/osint-vm).
|
||||
|
||||
![Screenshot][Image_Screenshot]
|
||||
|
||||
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/tracelabs.jpg "Image Screenshot"
|
1
docs/tracelabs/description.txt
Normal file
1
docs/tracelabs/description.txt
Normal file
@ -0,0 +1 @@
|
||||
Trace Labs OSINT Image for Kasm Workspaces
|
44
src/ubuntu/install/tracelabs/install_tracelabs.sh
Normal file
44
src/ubuntu/install/tracelabs/install_tracelabs.sh
Normal file
@ -0,0 +1,44 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
cd /tmp/
|
||||
git clone https://github.com/tracelabs/tlosint-live.git
|
||||
cd /tmp/tlosint-live/
|
||||
|
||||
#### Setup Desktop Icons, backgrounds, etc ####
|
||||
rsync -aviu kali-config/common/includes.chroot/etc/ /etc/
|
||||
rsync -aviu kali-config/common/includes.chroot/usr/ /usr/
|
||||
|
||||
mv /etc/skel/Desktop/*.pdf $HOME/Desktop/
|
||||
|
||||
#### Install all tracelabs image packages ####
|
||||
apt-get update
|
||||
# rm lines with # | Delete Empty lines |
|
||||
cat kali-config/variant-tracelabs/package-lists/kali.list.chroot | sed '/^#/d' | sed '/^$/d' | xargs --no-run-if-empty apt-get install -y
|
||||
|
||||
sh kali-config/common/hooks/normal/osint-packages.chroot
|
||||
|
||||
useradd kasm-user
|
||||
chown -R 1000:1000 \
|
||||
/usr/share/phoneinfoga \
|
||||
/usr/share/Spiderpig \
|
||||
/usr/share/DumpsterDiver \
|
||||
/usr/share/Infoga \
|
||||
/usr/share/LittleBrother \
|
||||
/usr/share/sn0int \
|
||||
/usr/share/buster \
|
||||
/usr/share/sherlock \
|
||||
/usr/share/reconspider \
|
||||
/usr/share/WhatsMyName \
|
||||
/usr/share/WikiLeaker \
|
||||
/usr/share/OnionSearch \
|
||||
/usr/share/toutatis
|
||||
|
||||
pip3 install --force-reinstall zope.event
|
||||
|
||||
sed -i 's/sudo //g' /usr/share/applications/tl*.desktop
|
||||
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
rm -rf /tmp/tlosint-live
|
Loading…
Reference in New Issue
Block a user