]> gitweb.morketsmerke.org Git - immudex-testing.git/commitdiff
Usunięcie dotyczasowych plików wersji
authorxf0r3m <jakubstasinski@protonmail.com>
Wed, 16 Aug 2023 13:32:23 +0000 (15:32 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Wed, 16 Aug 2023 13:32:23 +0000 (15:32 +0200)
36 files changed:
versions/0/001.sh [deleted file]
versions/0/002.sh [deleted file]
versions/0/003.sh [deleted file]
versions/0/004.sh [deleted file]
versions/0/005.sh [deleted file]
versions/0/006.sh [deleted file]
versions/0/007.sh [deleted file]
versions/0/008.sh [deleted file]
versions/0/009.sh [deleted file]
versions/0/010.sh [deleted file]
versions/0/011.sh [deleted file]
versions/0/012.sh [deleted file]
versions/0/013.sh [deleted file]
versions/0/014.sh [deleted file]
versions/0/015.sh [deleted file]
versions/0/016.sh [deleted file]
versions/0/017.sh [deleted file]
versions/0/018.sh [deleted file]
versions/0/019.sh [deleted file]
versions/0/020.sh [deleted file]
versions/0/021.sh [deleted file]
versions/0/022.sh [deleted file]
versions/0/023.sh [deleted file]
versions/0/024.sh [deleted file]
versions/0/025.sh [deleted file]
versions/0/base.sh [deleted file]
versions/0/template.sh [deleted file]
versions/100.sh [deleted file]
versions/101.sh [deleted file]
versions/102.sh [deleted file]
versions/103.sh [deleted file]
versions/104.sh [deleted file]
versions/105.sh [deleted file]
versions/106.sh [deleted file]
versions/107.sh [deleted file]
versions/108.sh [deleted file]

diff --git a/versions/0/001.sh b/versions/0/001.sh
deleted file mode 100644 (file)
index 50c704a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-version=$(echo $0 | cut -d "." -f 1);
-if [ ! "$version" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-apt update
-apt upgrade -y
-
-if [ ! -d ~/immudex-testing ]; then
-  cd;
-  git clone https://github.com/xf0r3m/immudex-testing;
-fi
-
-cp -v ~/immudex-testing/tools/${version}/immudex_crypt /usr/local/bin;
-cp -v ~/immudex-testing/tools/${version}/morketsmerke /usr/local/bin;
-cp -v ~/immudex-testing/tools/${version}/ytplay /usr/local/bin;
-cp -v ~/immudex-testing/tools/${version}/padlock /usr/local/bin;
-
-chmod +x /usr/local/bin/*;
-
-mv /usr/share/images/desktop-base/padlock.png /usr/share/icons;
-mv /usr/share/images/desktop-base/unlocked.png /usr/share/icons;
-
-if [ ! -d xfcedebian ]; then
-  git clone -b testing https://github.com/xf0r3m/xfcedebian;
-  chmod +x xfcedebian/install.sh;
-  cd xfcedebian
-  bash install.sh;
-fi
-
-userdel -r user;
-userdel -r xf0r3m;
-
-useradd -m -s /bin/bash user;
-if [ ! -f /home/user/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/user;
-  chown -R user:user /home/user;
-fi
-echo "user:user1" | chpasswd;
-
-useradd -m -s /bin/bash xf0r3m;
-if [ ! -f /home/xf0r3m/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/xf0r3m;
-  chown -R xf0r3m:xf0r3m /home/xf0r3m;
-fi
-echo "xf0r3m:xf0r3m1" | chpasswd;
-
-echo "root:toor" | chpasswd;
-
-usermod -aG libvirt,libvirt-qemu xf0r3m;
-usermod -aG libvirt,libvirt-qemu user;
-
-rm -rf ~/immudex-testing;
-rm -rf ~/xfcedebian;
-apt-get clean;
-apt-get clean;
-apt-get autoremove;
-apt-get autoclean;
-echo > ~/.bash_history;
-history -c   
diff --git a/versions/0/002.sh b/versions/0/002.sh
deleted file mode 100644 (file)
index 5a380cc..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-version=$(echo $0 | cut -d "." -f 1);
-if [ ! "$version" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-apt update
-apt upgrade -y
-
-userdel -r user;
-userdel -r xf0r3m;
-
-useradd -m -s /bin/bash user;
-if [ ! -f /home/user/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/user;
-  chown -R user:user /home/user;
-fi
-echo "user:user1" | chpasswd;
-
-useradd -m -s /bin/bash xf0r3m;
-if [ ! -f /home/xf0r3m/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/xf0r3m;
-  chown -R xf0r3m:xf0r3m /home/xf0r3m;
-fi
-echo "xf0r3m:xf0r3m1" | chpasswd;
-
-echo "root:toor" | chpasswd;
-
-usermod -aG libvirt,libvirt-qemu xf0r3m;
-usermod -aG libvirt,libvirt-qemu user;
-
-apt-get clean;
-apt-get clean;
-apt-get autoremove -y;
-apt-get autoclean;
-echo > ~/.bash_history;
-history -c   
diff --git a/versions/0/003.sh b/versions/0/003.sh
deleted file mode 100644 (file)
index d1ada76..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-version=$(echo $0 | cut -d "." -f 1);
-if [ ! "$version" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-apt update
-apt upgrade -y
-
-if [ ! -d ~/immudex-testing ]; then
-  cd;
-  git clone https://github.com/xf0r3m/immudex-testing;
-fi
-
-cp -vv ~/immudex-testing/tools/${version}/* /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-cp -vv ~/immudex-testing/files/xfce4-panel.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml;
-
-userdel -r user;
-userdel -r xf0r3m;
-
-useradd -m -s /bin/bash user;
-if [ ! -f /home/user/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/user;
-  chown -R user:user /home/user;
-fi
-echo "user:user1" | chpasswd;
-
-useradd -m -s /bin/bash xf0r3m;
-if [ ! -f /home/xf0r3m/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/xf0r3m;
-  chown -R xf0r3m:xf0r3m /home/xf0r3m;
-fi
-echo "xf0r3m:xf0r3m1" | chpasswd;
-
-usermod -aG libvirt,libvirt-qemu xf0r3m;
-usermod -aG libvirt,libvirt-qemu user;
-
-apt-get clean;
-apt-get clean;
-apt-get autoremove -y;
-apt-get autoclean;
-rm -rf ~/immudex-testing;
-echo > ~/.bash_history;
-history -c   
diff --git a/versions/0/004.sh b/versions/0/004.sh
deleted file mode 100644 (file)
index b4ac5a5..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-version=$(echo $0 | cut -d "." -f 1);
-if [ ! "$version" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-apt update
-apt upgrade -y
-apt install irssi -y;
-
-if [ ! -d ~/immudex-testing ]; then
-  cd;
-  git clone https://github.com/xf0r3m/immudex-testing;
-fi
-
-mkdir /etc/skel/.irssi;
-cp -vv ~/immudex-testing/files/irssi/* /etc/skel/.irssi;
-
-userdel -r user;
-userdel -r xf0r3m;
-
-useradd -m -s /bin/bash user;
-if [ ! -f /home/user/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/user;
-  chown -R user:user /home/user;
-fi
-echo "user:user1" | chpasswd;
-
-useradd -m -s /bin/bash xf0r3m;
-if [ ! -f /home/xf0r3m/.vimrc ]; then
-  cp -rvv /etc/skel/.??* /home/xf0r3m;
-  chown -R xf0r3m:xf0r3m /home/xf0r3m;
-fi
-echo "xf0r3m:xf0r3m1" | chpasswd;
-
-usermod -aG libvirt,libvirt-qemu xf0r3m;
-usermod -aG libvirt,libvirt-qemu user;
-
-apt-get clean;
-apt-get clean;
-apt-get autoremove -y;
-apt-get autoclean;
-rm -rf ~/immudex-testing;
-echo > ~/.bash_history;
-history -c   
diff --git a/versions/0/005.sh b/versions/0/005.sh
deleted file mode 100644 (file)
index 0291a14..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-cp /usr/bin/youtube-dl /usr/bin/youtube-dl-orig;
-wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/youtube-dl;
-chmod +x /usr/bin/youtube-dl;
-
-install_packages grub-efi-ia32-bin;
-
-get_immudex_testing_project;
-
-cp -rvv ~/immudex-testing/files/${VERSION}/libreoffice /etc/skel/.config;
-cp -rvv ~/immudex-testing/files/${VERSION}/.irssi /etc/skel;
-
-recreate_users;
-
-cp -vv ~/immudex-testing/files/${VERSION}/irssi.desktop /home/xf0r3m/.config/autostart;
-chown -R 1001:1001 /home/xf0r3m;
-
-cp -vv ~/immudex-testing/images/${VERSION}/* /usr/share/images/desktop-base;
-sed -i 's/mark-korneev-pixelart-snow.jpg/no_trespass_abandon.jpeg/' /etc/lightdm/lightdm-gtk-greeter.conf;
-sed -i 's/avatar.jpg/immudex_xfce_greeter_logo.png/' /etc/lightdm/lightdm-gtk-greeter.conf;
-
-tidy;
diff --git a/versions/0/006.sh b/versions/0/006.sh
deleted file mode 100644 (file)
index f843109..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-install_packages nmap nfs-common remmina;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/ytplay /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_upgrade /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/motd2 /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-tidy;
diff --git a/versions/0/007.sh b/versions/0/007.sh
deleted file mode 100644 (file)
index 439b68a..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-install_packages gstreamer1.0-libav gstreamer1.0-plugins-good python3-pip ffmpeg libadwaita-1-0 gir1.2-adw-1;
-install_packages --no-install-recommends libgtk-4-bin libgtk-4-common libgtk-4-dev;
-
-rm /usr/bin/python3;
-ln -s /usr/bin/python3.10 /usr/bin/python3;
-
-install_packages python3.10-dev;
-
-cd;
-git clone https://gitlab.com/zehkira/myuzi.git;
-cd myuzi/source;
-pip install nuitka
-pip install ytmusicapi
-make install;
-cd;
-rm -rf myuzi;
-
-get_immudex_testing_project;
-
-rm -rf /etc/skel/.mozilla;
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-cp -vv ~/immudex-testing/files/${VERSION}/16608166085.desktop /etc/skel/.config/xfce4/panel/launcher-19/16608166085.desktop;
-
-recreate_users;
-
-cp -vv ~/immudex-testing/files/005/irssi.desktop /home/xf0r3m/.config/autostart;
-chown -R 1001:1001 /home/xf0r3m;
-
-tidy;
diff --git a/versions/0/008.sh b/versions/0/008.sh
deleted file mode 100644 (file)
index 48b44ca..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-install_packages openvpn netselect-apt;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/secured-firefox /usr/local/bin;
-chmod +x /usr/local/bin/secured-firefox;
-cp -vv ~/immudex-testing/files/${VERSION}/16608166085.desktop /etc/skel/.config/xfce4/panel/launcher-19/16608166085.desktop;
-cp -vv ~/immudex-testing/files/${VERSION}/firejail.config /etc/firejail;
-
-recreate_users;
-
-cp -vv ~/immudex-testing/files/005/irssi.desktop /home/xf0r3m/.config/autostart;
-chown -R 1001:1001 /home/xf0r3m;
-
-tidy;
diff --git a/versions/0/009.sh b/versions/0/009.sh
deleted file mode 100644 (file)
index bce2c50..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-get_immudex_testing_project;
-
-tar -xzvf ~/immudex-testing/files/${VERSION}/fonts.tgz -C /etc/skel;
-cp -vv ~/immudex-testing/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
-
-chmod +s /usr/bin/ping;
-
-recreate_users;
-
-tidy;
diff --git a/versions/0/010.sh b/versions/0/010.sh
deleted file mode 100644 (file)
index 4b54aa7..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-install_packages debootstrap squashfs-tools xorriso isolinux syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools dosfstools solaar chrony;
-
-apt purge yt-dlp -y
-apt autoremove -y
-pip install yt-dlp
-rm /usr/bin/youtube-dl
-ln -s $(which yt-dlp) /usr/bin/youtube-dl
-
-tidy;
diff --git a/versions/0/011.sh b/versions/0/011.sh
deleted file mode 100644 (file)
index 1a8dbf4..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ distro.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/images/${VERSION}/apply.png /usr/share/icons;
-cp -vv ~/immudex-testing/tools/${VERSION}/* /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-recreate_users;
-
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-
-tidy;
diff --git a/versions/0/012.sh b/versions/0/012.sh
deleted file mode 100644 (file)
index 1c3f1d4..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_upgrade /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/library.sh /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/motd2 /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-cp -vv ~/immudex-testing/files/${VERSION}/config /etc/skel/.irssi;
-rm -rf /etc/skel/.mozilla;
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-
-recreate_users;
-
-cp -vv ~/immudex-testing/files/011/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-
-tidy;
diff --git a/versions/0/013.sh b/versions/0/013.sh
deleted file mode 100644 (file)
index 20b9aff..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-set -e
-
-if [ ! "$1" ]; then exit 1; fi
-if [ ! -d ~/immudex-testing ]; then exit 1; fi
-if [ ! /sbin/debootstrap ]; then exit 1; fi
-
-if [ "$1" = "--amd64" ] || [ "$1" = "--i386" ]; then
-  if [ "$1" = "--amd64" ]; then arch="64"; else arch="32"; fi
-  sudo rm -rf ~/immudex-testing/${arch}/chroot;
-  sudo /sbin/debootstrap --arch=$(echo $1 | sed 's/-//g') bookworm ~/immudex-testing/${arch}/chroot http://ftp.icm.edu.pl/debian
-  sudo cat > 013_chroot.sh <<EOF
-dhclient;
-if [ "$arch" = "64" ]; then
-apt install --no-install-recommends linux-image-amd64 live-boot systemd-sysv -y;
-else
-apt install --no-install-recommends linux-image-686-pae live-boot systemd-sysv -y;
-fi
-apt install -y tzdata locales keyboard-configuration console-setup
-dpkg-reconfigure tzdata;
-dpkg-reconfigure locales;
-dpkg-reconfigure keyboard-configuration;
-dpkg-reconfigure console-setup;
-apt install -y task-desktop task-xfce-desktop;
-apt install -y git firejail ufw cryptsetup lsof extlinux grub-efi-amd64 efibootmgr bash-completion etherwake wakeonlan cifs-utils wget figlet chirp mpv youtube-dl vim-gtk3 redshift irssi nmap nfs-common remmina python3-pip ffmpeg debootstrap squashfs-tools xorriso syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools dosfstools chrony python3-venv;
-cd;
-if [ ! -x /usr/bin/git ]; then apt install git -y; fi
-git clone https://github.com/xf0r3m/xfcedebian -b testing;
-cd xfcedebian;
-bash install.sh;
-cd;
-git clone https://github.com/xf0r3m/immudex-testing;
-cp -vv ~/immudex-testing/tools/${VERSION}/* /usr/local/bin;
-chmod +x /usr/local/bin/*;
-mkdir /etc/skel/.irssi
-cp -vv ~/immudex-testing/files/${VERSION}/config /etc/skel/.irssi;
-cp -vv ~/immudex-testing/files/${VERSION}/default.theme /etc/skel/.irssi;
-cp -rvv ~/immudex-testing/files/${VERSION}/libreoffice /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/firejail.config /etc/firejail;
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ distro.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.conf /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.desktop /etc/skel/.config/autostart;
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-cp -vv ~/immudex-testing/images/${VERSION}/* /usr/share/icons;
-cat >> /etc/bash.bashrc << EOL
-if [ ! -f /tmp/.motd ]; then
-/usr/local/bin/motd2
-touch /tmp/.motd;
-fi
-EOL
-echo "alias chhome='export HOME=\\\$(pwd)'" >> /etc/bash.bashrc;
-echo "alias ytstream='mpv --ytdl-format=best[heigth=480]'" >> /etc/bash.bashrc;
-chmod u+s /usr/bin/ping;
-sed -i -e 's/chirpw/sudo chirpw/' -e 's/false/true/' /usr/share/applications/chirp.desktop;
-/usr/sbin/ufw default deny incoming;
-/usr/sbin/ufw default allow outgoing;
-/usr/sbin/ufw enable;
-echo "immudex" >> /etc/hostname;
-echo "127.0.1.1   immudex" >> /etc/hosts;
-echo "deb http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm main" > /etc/apt/source.list;
-echo "deb-src http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm main" >> /etc/apt/source.list;
-echo "deb http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/source.list;
-echo "deb-src http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/source.list;
-echo "deb http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm-updates main" >> /etc/apt/source.list;
-echo "deb-src http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm-updates main" >> /etc/apt/source.list;
-apt update;
-apt upgrade -y;
-useradd -m -s /bin/bash user;
-if [ ! -f /home/user/.vimrc ]; then
-cp -rvv /etc/skel/?* /home/user;
-cp -rvv /etc/skel/.??* /home/user;
-chown -R user:user /home/user;
-fi
-echo "user:user1" | chpasswd;
-useradd -m -s /bin/bash xf0r3m;
-if [ ! -f /home/xf0r3m/.vimrc ]; then
-cp -rvv /etc/skel/?* /home/xf0r3m;
-cp -rvv /etc/skel/.??* /home/xf0r3m;
-chown -R xf0r3m:xf0r3m /home/xf0r3m;
-fi
-echo "xf0r3m:xf0r3m1" | chpasswd;
-usermod -aG libvirt,libvirt-qemu xf0r3m;
-usermod -aG libvirt,libvirt-qemu user;
-echo "xf0r3m ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-echo "root:toor" | chpasswd;
-mkdir /home/user/.local
-tar -xvf ~/immudex-testing/files/${VERSION}/local_user.tar -C /home/user/.local;
-chown -R user:user /home/user/.local;
-mkdir /home/xf0r3m/.local;
-tar -xvf ~/immudex-testing/files/${VERSION}/local_xf0r3m.tar -C /home/xf0r3m/.local;
-chown -R xf0r3m:xf0r3m /home/xf0r3m/.local;
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart
-chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop
-
-rm -rf ~/immudex-testing;
-rm -rf ~/xfcedebian;
-apt-get clean;
-apt-get clean;
-apt-get autoclean;
-apt-get autoremove -y;
-echo > ~/.bash_history;
-history -c
-EOF
-  sudo cp 013_chroot.sh ~/immudex-testing/${arch}/chroot;
-  sudo chroot ~/immudex-testing/${arch}/chroot bash 013_chroot.sh;
-  sudo rm ~/immudex-testing/${arch}/chroot/013_chroot.sh;
-else
-  exit 1;
-fi 
diff --git a/versions/0/014.sh b/versions/0/014.sh
deleted file mode 100644 (file)
index 5b92e75..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/ytplay /usr/local/bin;
-chmod +x /usr/local/bin/ytplay;
-
-tidy;
diff --git a/versions/0/015.sh b/versions/0/015.sh
deleted file mode 100644 (file)
index c0f5f43..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-function set_default_wallpaper() {
-  rm /usr/share/images/desktop-base/default;
-  ln -s /usr/share/images/desktop-base/$1 /usr/share/images/desktop-base/default;
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian bookworm main" >> /etc/apt/sources.list;
-echo "deb http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list;
-echo "deb-src http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list;
-echo "deb http://deb.debian.org/debian bookworm-updates main" >> /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian bookworm-updates main" >> /etc/apt/sources.list;
-
-update_packages;
-install_packages openvpn netselect-apt;
-
-set_default_wallpaper altai_1920x1080.png;
-
-tidy;
diff --git a/versions/0/016.sh b/versions/0/016.sh
deleted file mode 100644 (file)
index 04de25a..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    cp -rvv /etc/skel/?* /home/user;
-    mkdir /home/user/.local;
-    tar -xvf ~/immudex-testing/files/013/local_user.tar -C /home/user/.local;
-    rm /home/user/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    cp -rvv /etc/skel/?* /home/xf0r3m;
-    mkdir /home/xf0r3m/.local;
-    tar -xvf ~/immudex-testing/files/013/local_xf0r3m.tar -C /home/xf0r3m/.local;
-    rm /home/xf0r3m/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-function set_default_wallpaper() {
-  rm /usr/share/images/desktop-base/default;
-  ln -s /usr/share/images/desktop-base/$1 /usr/share/images/desktop-base/default;
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
-cp -vv ~/immudex-testing/tools/${VERSION}/library.sh /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-recreate_users;
-
-cp -vv ~/immudex-testing/files/011/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-
-tidy;
diff --git a/versions/0/017.sh b/versions/0/017.sh
deleted file mode 100644 (file)
index 8317d13..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    cp -rvv /etc/skel/?* /home/user;
-    mkdir /home/user/.local;
-    tar -xvf ~/immudex-testing/files/017/local_user.tar -C /home/user/.local;
-    rm /home/user/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    cp -rvv /etc/skel/?* /home/xf0r3m;
-    mkdir /home/xf0r3m/.local;
-    tar -xvf ~/immudex-testing/files/017/local_xf0r3m.tar -C /home/xf0r3m/.local;
-    rm /home/xf0r3m/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-function set_default_wallpaper() {
-  rm /usr/share/images/desktop-base/default;
-  ln -s /usr/share/images/desktop-base/$1 /usr/share/images/desktop-base/default;
-}
-
-function set_notifier_packages() {
-  cp -vv ~/immudex-testing/files/011/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-  chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-install_packages thunderbird;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/files/${VERSION}/Klient\ poczty\ Thunderbird.desktop /etc/skel/Pulpit;
-cp -vv ~/immudex-testing/tools/${VERSION}/run-thunderbird /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-recreate_users;
-set_notifier_packages;
-tidy;
diff --git a/versions/0/018.sh b/versions/0/018.sh
deleted file mode 100644 (file)
index 690c60b..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    cp -rvv /etc/skel/?* /home/user;
-    mkdir /home/user/.local;
-    tar -xvf ~/immudex-testing/files/017/local_user.tar -C /home/user/.local;
-    rm /home/user/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    cp -rvv /etc/skel/?* /home/xf0r3m;
-    mkdir /home/xf0r3m/.local;
-    tar -xvf ~/immudex-testing/files/017/local_xf0r3m.tar -C /home/xf0r3m/.local;
-    rm /home/xf0r3m/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-function set_default_wallpaper() {
-  rm /usr/share/images/desktop-base/default;
-  ln -s /usr/share/images/desktop-base/$1 /usr/share/images/desktop-base/default;
-}
-
-function set_notifier_packages() {
-  cp -vv ~/immudex-testing/files/011/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-  chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-
-tidy;
diff --git a/versions/0/019.sh b/versions/0/019.sh
deleted file mode 100644 (file)
index 66c2505..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    cp -rvv /etc/skel/?* /home/user;
-    mkdir /home/user/.local;
-    tar -xvf ~/immudex-testing/files/017/local_user.tar -C /home/user/.local;
-    rm /home/user/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    cp -rvv /etc/skel/?* /home/xf0r3m;
-    mkdir /home/xf0r3m/.local;
-    tar -xvf ~/immudex-testing/files/017/local_xf0r3m.tar -C /home/xf0r3m/.local;
-    rm /home/xf0r3m/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-function set_default_wallpaper() {
-  rm /usr/share/images/desktop-base/default;
-  ln -s /usr/share/images/desktop-base/$1 /usr/share/images/desktop-base/default;
-}
-
-function set_notifier_packages() {
-  cp -vv ~/immudex-testing/files/011/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-  chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
-update_packages;
-install_packages gimp isolinux;
-
-get_immudex_testing_project;
-
-cp -vv ~/immudex-testing/images/${VERSION}/abandoned_hospital_bower.png /usr/share/images/desktop-base;
-
-sed -i 's/no_trespass_abandon.jpeg/abandoned_hospital_bower.png/' /etc/lightdm/lightdm-gtk-greeter.conf;
-
-rm /etc/apt/source.list;
-
-tidy;
diff --git a/versions/0/020.sh b/versions/0/020.sh
deleted file mode 100644 (file)
index c48a55d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-install_packages isolinux;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_install /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_crypt /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_upgrade /usr/local/bin;
-
-cp -vv ~/immudex-testing/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
-
-recreate_users;
-set_notifier_packages;
-
-tidy;
diff --git a/versions/0/021.sh b/versions/0/021.sh
deleted file mode 100644 (file)
index 298c341..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_install /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/create_media /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_upgrade /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/meteo /usr/local/bin;
-
-cp -vv ~/immudex-testing/files/${VERSION}/mimeapps.list /etc/skel/.config;
-cp -rvv ~/immudex-testing/files/${VERSION}/meteo /usr/share;
-
-recreate_users;
-set_notifier_packages;
-
-tidy;
diff --git a/versions/0/022.sh b/versions/0/022.sh
deleted file mode 100644 (file)
index 6e57c14..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-install_packages rsync;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_install /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/sync.sh /usr/local/bin;
-chmod +x /usr/local/bin/*
-
-cp -rvv ~/immudex-testing/files/${VERSION}/sync.sh /usr/share; 
-
-set_default_wallpaper altai_1920x1080.png;
-
-tidy;
diff --git a/versions/0/023.sh b/versions/0/023.sh
deleted file mode 100644 (file)
index 35e9710..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-
-set -e
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-
-if [ ! "$1" ]; then exit 1; fi
-if [ ! -d ~/immudex-testing ]; then exit 1; fi
-if [ ! /sbin/debootstrap ]; then exit 1; fi
-
-if [ "$1" = "--amd64" ] || [ "$1" = "--i386" ]; then
-  if [ "$1" = "--amd64" ]; then arch="64"; else arch="32"; fi
-  sudo rm -rf ~/immudex-testing/${arch}/chroot;
-  sudo /sbin/debootstrap --arch=$(echo $1 | sed 's/-//g') bookworm ~/immudex-testing/${arch}/chroot http://deb.debian.org/debian
-  sudo cat > 023_chroot.sh <<EOF
-dhclient;
-cd;
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing;
-else apt install git -y && git clone https://github.com/xf0r3m/immudex-testing;
-
-fi
-source ~/immudex-testing/versions/template.sh;
-
-echo "deb http://deb.debian.org/debian/ bookworm main" > /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian/ bookworm main" >> /etc/apt/sources.list;
-echo "deb http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list;
-echo "deb-src http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list;
-echo "deb http://deb.debian.org/debian/ bookworm-updates main" >> /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian/ bookworm-updates main" >> /etc/apt/sources.list;
-update_packages;
-
-
-if [ "$arch" = "64" ]; then
-install_packages --no-install-recommends linux-image-amd64 live-boot systemd-sysv -y;
-else
-install_packages --no-install-recommends linux-image-686-pae live-boot systemd-sysv -y;
-fi
-
-install_packages tzdata locales keyboard-configuration console-setup;
-
-dpkg-reconfigure tzdata;
-dpkg-reconfigure locales;
-dpkg-reconfigure keyboard-configuration;
-dpkg-reconfigure console-setup;
-
-install_packages task-desktop task-xfce-desktop;
-
-install_packages firejail ufw cryptsetup lsof extlinux grub-efi-amd64 efibootmgr bash-completion etherwake wakeonlan cifs-utils wget figlet mpv youtube-dl vim-gtk3 redshift irssi nmap nfs-common remmina python3-pip ffmpeg debootstrap squashfs-tools xorriso syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools dosfstools chrony python3-venv isolinux rsync thunderbird gimp openvpn netselect-apt;
-
-cd;
-
-git clone https://github.com/xf0r3m/xfcedebian -b testing;
-cd xfcedebian;
-bash install.sh;
-
-cd;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/* /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-mkdir /etc/skel/.irssi
-
-cp -vv ~/immudex-testing/files/${VERSION}/config /etc/skel/.irssi;
-cp -vv ~/immudex-testing/files/${VERSION}/default.theme /etc/skel/.irssi;
-cp -rvv ~/immudex-testing/files/${VERSION}/libreoffice /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/firejail.config /etc/firejail;
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ distro.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.conf /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/Klient\ poczty\ Thunderbird.desktop /etc/skel/Pulpit;
-cp -vv ~/immudex-testing/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
-cp -vv ~/immudex-testing/files/${VERSION}/mimeapps.list /etc/skel/.config;
-cp -rvv ~/immudex-testing/files/${VERSION}/meteo /usr/share;
-cp -rvv ~/immudex-testing/files/${VERSION}/sync.sh /usr/share;
-cp -vv ~/immudex-testing/files/${VERSION}/conkyrc /etc/skel/.conkyrc;
-
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-cp -vv ~/immudex-testing/images/${VERSION}/* /usr/share/icons;
-
-rm /usr/share/images/desktop-base/no_trespass_abandon.jpeg;
-
-cat >> /etc/bash.bashrc << EOL
-if [ ! -f /tmp/.motd ]; then
-/usr/local/bin/motd2
-touch /tmp/.motd;
-fi
-EOL
-
-echo "alias chhome='export HOME=\\\$(pwd)'" >> /etc/bash.bashrc;
-echo "alias ytstream='mpv --ytdl-format=best[heigth=480]'" >> /etc/bash.bashrc;
-
-chmod u+s /usr/bin/ping;
-
-/usr/sbin/ufw default deny incoming;
-/usr/sbin/ufw default allow outgoing;
-/usr/sbin/ufw enable;
-
-echo "immudex" > /etc/hostname;
-echo "127.0.1.1   immudex" >> /etc/hosts;
-
-recreate_users;
-echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-echo "xf0r3m ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-set_notifier_packages;
-
-tidy;
-EOF
-  sudo cp 023_chroot.sh ~/immudex-testing/${arch}/chroot;
-  sudo chroot ~/immudex-testing/${arch}/chroot bash 023_chroot.sh;
-  sudo rm ~/immudex-testing/${arch}/chroot/023_chroot.sh;
-else
-  exit 1;
-fi 
diff --git a/versions/0/024.sh b/versions/0/024.sh
deleted file mode 100644 (file)
index 3dd4122..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-install_packages gvfs-backends;
-
-head -1 /etc/apt/sources.list | tee /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-sed -i 's/bookworm/experimental/' /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-apt update;
-apt install xfce4-notes-plugin -y;
-rm /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-apt update;
-
-cp ~/immudex-testing/files/${VERSION}/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0/;
-cp ~/immudex-testing/images/${VERSION}/notes-background.jpg /usr/share/images/desktop-base;
-cp ~/immudex-testing/tools/${VERSION}/autostart-x4notes /usr/local/bin;
-chmod +x /usr/local/bin/autostart-x4notes;
-
-set_xfce4_notes_autostart;
-
-tidy;
diff --git a/versions/0/025.sh b/versions/0/025.sh
deleted file mode 100644 (file)
index 4010f66..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_crypt /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_hostname /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/meteo /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/ytplay /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/pl /usr/local/bin;
-
-cp -vv ~/immudex-testing/files/${VERSION}/immudex_hostname.service /etc/systemd/system;
-systemctl enable immudex_hostname.service;
-
-echo "root:toor" | chpasswd;
-tidy;
diff --git a/versions/0/base.sh b/versions/0/base.sh
deleted file mode 100644 (file)
index 21205ac..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/bash
-
-set -e;
-
-if [ "$1" = "64" ]; then
-  apt install --no-install-recommends linux-image-amd64 live-boot systemd-sysv -y;
-else
-  apt install --no-install-recommends linux-image-686-pae live-boot systemd-sysv -y;
-fi
-
-apt install -y tzdata locales keyboard-configuration console-setup
-dpkg-reconfigure tzdata;
-dpkg-reconfigure locales;
-dpkg-reconfigure keyboard-configuration;
-dpkg-reconfigure console-setup;
-
-apt install -y task-desktop task-xfce-desktop;
-
-apt install -y git firejail ufw cryptsetup lsof extlinux grub-efi-amd64 efibootmgr bash-completion etherwake wakeonlan cifs-utils wget figlet chirp mpv youtube-dl vim-gtk3 redshift 
-
-#apt install -y libssl-dev libbz2-dev libnss3-dev libgdbm-dev libncurses5-dev libffi-dev libreadline-dev libsqlite3-dev zlib1g-dev build-essential;
-
-#apt install --no-install-recommends software-properties-common -y;
-
-#wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz -O Python-3.11.0.tar.xz;
-#tar -xvf Python-3.11.0.tar.xz;
-#cd Python-3.11.0;
-
-#./configure --prefix=/usr/local --enable-optimizations
-#make
-#make altinstall
-
-cp /usr/bin/youtube-dl /usr/bin/youtube-dl-orig;
-wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/youtube-dl;
-chmod +x /usr/bin/youtube-dl;
-
-cd;
-git clone https://github.com/xf0r3m/xfcedebian.git;
-cd xfcedebian;
-chmod +x install.sh;
-sed -i 's/sudo//g' install.sh;
-bash install.sh;
-
-cd;
-git clone https://github.com/xf0r3m/immudex-testing.git;
-cd immudex-testing;
-
-tar -xzvf mozilla.tgz -C /etc/skel;
-chown -R root:root /etc/skel/.mozilla;
-
-cp -vv tools/* /usr/local/bin;
-#cp tools/protected /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-cp -v launchers/16608166085.desktop /etc/skel/.config/xfce4/panel/launcher-19/
-cp -v launchers/16674118881.desktop /etc/skel/.config/xfce4/panel/launcher-32/
-rm /etc/skel/.config/xfce4/panel/launcher-32/16608177609.desktop
-cp -rv launchers/launcher-29 /etc/skel/.config/xfce4/panel;
-cp -v files/xfce4-panel.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml;
-
-#sed -i '26s/1/0' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml;
-#sed -i '64i\\\t<property name="disable-struts" type=bool value="false"/>' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml;
-
-cp -v images/padlock.png /usr/share/images/desktop-base;
-cp -v images/unlocked.png /usr/share/images/desktop-base;
-cp -v images/rss.png  /usr/share/icons;
-cp -v files/redshift.conf /etc/skel/.config;
-mkdir -v /etc/skel/.config/autostart;
-cp -vv files/redshift.desktop /etc/skel/.config/autostart;
-
-#echo "/usr/local/bin/motd2" >> /etc/bash.bashrc;
-
-echo "if [ ! -f /tmp/.motd ]; then" >> /etc/bash.bashrc;
-echo "  /usr/local/bin/motd2;" >> /etc/bash.bashrc;
-echo "  touch /tmp/.motd;" >> /etc/bash.bashrc;
-echo "fi;" >> /etc/bash.bashrc;
-
-echo "alias chhome='export HOME=\$(pwd)'" >> /etc/bash.bashrc;
-echo "alias ytstream='mpv --ytdl-format=best[height=480]'" >> /etc/bash.bashrc;
-
-chmod u+s /usr/bin/ping;
-sed -i -e 's/chirpw/sudo chirpw/' -e 's/false/true/' /usr/share/applications/chirp.desktop;
-
-ufw default deny incoming;
-ufw default allow outgoing;
-ufw enable;
-echo "immudex" > /etc/hostname;
-echo "127.0.1.1    immudex" >> /etc/hosts;
-echo "deb http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm main" > /etc/apt/sources.list;
-echo "deb-src http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm main" >> /etc/apt/sources.list;
-echo "deb http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list;
-echo "deb-src http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list;
-echo "deb http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm-updates main" >> /etc/apt/sources.list;
-echo "deb-src http://ftp.icm.edu.pl/pub/Linux/debian/ bookworm-updates main" >> /etc/apt/sources.list;
-apt update;
-apt upgrade -y;
-cd;
-
-useradd -m -s /bin/bash user;
-if [ ! -f /home/user/.bashrc ]; then
-  cp -rvv /etc/skel/.??* /home/user;
-  chown -R user:user /home/user;
-fi
-echo "user:user1" | chpasswd;
-
-useradd -m -s /bin/bash xf0r3m;
-if [ ! -f /home/xf0r3m/.bashrc ]; then
-  cp -rvv /etc/skel/.??* /home/xf0r3m;
-  chown -R xf0r3m:xf0r3m /home/xf0r3m;
-fi
-echo "xf0r3m:xf0r3m1" | chpasswd;
-
-echo "xf0r3m ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-echo "root:toor" | chpasswd;
-usermod -aG libvirt,libvirt-qemu xf0r3m;
-usermod -aG libvirt,libvirt-qemu user;
-rm -rf immudex-testing/
-rm -rf xfcedebian/
-#rm -rf /Python-3.11.0;
-#rm /Python-3.11.0.tar.xz;
-apt-get clean;
-apt-get clean;
-apt-get autoclean;
-#apt remove -y libssl-dev libbz2-dev libnss3-dev libgdbm-dev libncurses5-dev libffi-dev libreadline-dev libsqlite3-dev zlib1g-dev build-essential software-properties-common ;
-apt-get autoremove -y;
-echo > ~/.bash_history
-history -c
diff --git a/versions/0/template.sh b/versions/0/template.sh
deleted file mode 100644 (file)
index 56f730c..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/bash
-
-function update_packages() {
-  dhclient; 
-  apt update;
-  apt upgrade -y;
-}
-
-function install_packages() {
-  apt install $@ -y;
-}
-
-function get_immudex_testing_project() {
-  if [ ! -d ~/immudex-testing ]; then
-    cd;
-    git clone https://github.com/xf0r3m/immudex-testing.git;
-  fi
-}
-
-function recreate_users() {
-  userdel -r user;
-  userdel -r xf0r3m;
-
-  useradd -m -s /bin/bash user;
-  if [ ! -f /home/user/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/user;
-    cp -rvv /etc/skel/?* /home/user;
-    mkdir /home/user/.local;
-    tar -xvf ~/immudex-testing/files/017/local_user.tar -C /home/user/.local;
-    rm /home/user/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face;
-    chown -R user:user /home/user;
-  fi
-  echo "user:user1" | chpasswd;
-
-  useradd -m -s /bin/bash xf0r3m;
-  if [ ! -f /home/xf0r3m/.vimrc ]; then
-    cp -rvv /etc/skel/.??* /home/xf0r3m;
-    cp -rvv /etc/skel/?* /home/xf0r3m;
-    mkdir /home/xf0r3m/.local;
-    tar -xvf ~/immudex-testing/files/017/local_xf0r3m.tar -C /home/xf0r3m/.local;
-    rm /home/xf0r3m/.face;
-    cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face;
-    chown -R xf0r3m:xf0r3m /home/xf0r3m;
-  fi
-  echo "xf0r3m:xf0r3m1" | chpasswd;
-
-  usermod -aG libvirt,libvirt-qemu xf0r3m;
-  usermod -aG libvirt,libvirt-qemu user;
-
-  echo "root:toor" | chpasswd;
-}
-
-function tidy() {
-  apt-get clean;
-  apt-get clean;
-  apt-get autoremove -y;
-  apt-get autoclean;
-  rm -rf ~/immudex-testing;
-  if [ -d ~/xfcedebian ]; then rm -rf ~/xfcedebian; fi
-  rm /var/cache/apt/*.bin;
-  echo > ~/.bash_history;
-  history -c   
-}
-
-function set_default_wallpaper() {
-  rm /usr/share/images/desktop-base/default;
-  ln -s /usr/share/images/desktop-base/$1 /usr/share/images/desktop-base/default;
-}
-
-function set_notifier_packages() {
-  cp -vv ~/immudex-testing/files/011/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
-  chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
-}
-
-function set_xfce4_notes_autostart() {
-  cp -vv ~/immudex-testing/files/024/autostart-x4notes.desktop /home/xf0r3m/.config/autostart;
-  chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/autostart-x4notes.desktop;
-}
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-if [ ! "$VERSION" ]; then echo -e "\e[31mUpdate failed!\e[0m"; exit 1; fi;
-
diff --git a/versions/100.sh b/versions/100.sh
deleted file mode 100644 (file)
index 4f78295..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/bin/bash
-
-set -e
-
-VERSION=$(echo $0 | cut -d "." -f 1);
-#export $VERSION;
-
-if [ ! "$1" ]; then exit 1; fi
-if [ ! -d ~/immudex-testing ]; then exit 1; fi
-if [ ! /sbin/debootstrap ]; then exit 1; fi
-
-if [ "$1" = "--amd64" ] || [ "$1" = "--i386" ]; then
-  if [ "$1" = "--amd64" ]; then arch="64"; else arch="32"; fi
-  sudo rm -rf ~/immudex-testing/${arch}/chroot;
-  sudo /sbin/debootstrap --arch=$(echo $1 | sed 's/-//g') testing ~/immudex-testing/${arch}/chroot http://deb.debian.org/debian
-  sudo cat > base_chroot.sh <<EOF
-cd;
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing;
-else apt install git -y && git clone https://github.com/xf0r3m/immudex-testing;
-
-fi
-export VERSION=$VERSION;
-source ~/immudex-testing/versions/template.sh;
-
-echo "deb http://deb.debian.org/debian/ testing main" > /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian/ testing main" >> /etc/apt/sources.list;
-echo "deb http://security.debian.org/debian-security testing-security main" >> /etc/apt/sources.list;
-echo "deb-src http://security.debian.org/debian-security testing-security main" >> /etc/apt/sources.list;
-echo "deb http://deb.debian.org/debian/ testing-updates main" >> /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian/ testing-updates main" >> /etc/apt/sources.list;
-update_packages;
-
-
-if [ "$arch" = "64" ]; then
-install_packages --no-install-recommends linux-image-amd64 live-boot systemd-sysv -y;
-else
-install_packages --no-install-recommends linux-image-686-pae live-boot systemd-sysv -y;
-fi
-
-install_packages tzdata locales keyboard-configuration console-setup;
-
-dpkg-reconfigure tzdata;
-dpkg-reconfigure locales;
-dpkg-reconfigure keyboard-configuration;
-dpkg-reconfigure console-setup;
-
-install_packages task-desktop task-xfce-desktop;
-
-install_packages firejail ufw cryptsetup lsof extlinux grub-efi-amd64 efibootmgr bash-completion etherwake wakeonlan cifs-utils wget figlet mpv youtube-dl vim-gtk3 redshift irssi nmap nfs-common remmina python3-pip ffmpeg debootstrap squashfs-tools xorriso syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools dosfstools chrony python3-venv isolinux rsync mutt gimp openvpn netselect-apt gvfs-backends dnsutils;
-
-head -1 /etc/apt/sources.list | tee /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-sed -i 's/testing/experimental/' /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-apt update;
-apt install xfce4-notes-plugin -y;
-rm /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-apt update;
-
-cd;
-
-git clone https://github.com/xf0r3m/xfcedebian -b d13; 
-cd xfcedebian;
-bash install.sh;
-
-cd;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/* /usr/local/bin;
-chmod +x /usr/local/bin/*;
-
-mkdir /etc/skel/.irssi
-
-cp -vv ~/immudex-testing/files/${VERSION}/config /etc/skel/.irssi;
-cp -vv ~/immudex-testing/files/${VERSION}/default.theme /etc/skel/.irssi;
-cp -rvv ~/immudex-testing/files/${VERSION}/libreoffice /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/firejail.config /etc/firejail;
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ distro.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.conf /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
-# Instalacja odpowienich MIME jest teraz częścia projektu 'xfcedebian';
-#cp -vv ~/immudex-testing/files/${VERSION}/mimeapps.list /etc/skel/.config;
-#cp -vv ~/immudex-testing/files/${VERSION}/mimeinfo.cache /usr/share/applications;
-cp -rvv ~/immudex-testing/files/${VERSION}/sync.sh /usr/share;
-cp -vv ~/immudex-testing/files/${VERSION}/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0/;
-cp -vv ~/immudex-testing/files/${VERSION}/immudex_hostname.service /etc/systemd/system;
-
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-cp -vv ~/immudex-testing/images/${VERSION}/apply.png /usr/share/icons;
-cp -vv ~/immudex-testing/images/${VERSION}/rss.png /usr/share/icons;
-cp -vv ~/immudex-testing/images/${VERSION}/notes-background.jpg /usr/share/images/desktop-base;
-
-cp -vv ~/immudex-testing/launchers/${VERSION}/16844254192.desktop /etc/skel/.config/xfce4/panel/launcher-5;
-
-systemctl enable immudex_hostname.service;
-
-cat >> /etc/bash.bashrc << EOL
-if [ ! -f /tmp/.motd ]; then
-/usr/local/bin/motd2
-touch /tmp/.motd;
-fi
-EOL
-
-echo "alias chhome='export HOME=\\\$(pwd)'" >> /etc/bash.bashrc;
-echo "alias ytstream='mpv --ytdl-format=best[heigth=480]'" >> /etc/bash.bashrc;
-
-chmod u+s /usr/bin/ping;
-
-/usr/sbin/ufw default deny incoming;
-/usr/sbin/ufw default allow outgoing;
-/usr/sbin/ufw enable;
-
-echo "immudex" > /etc/hostname;
-echo "127.0.1.1   immudex" >> /etc/hosts;
-
-recreate_users;
-echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-echo "xf0r3m ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-set_notifier_packages;
-set_xfce4_notes_autostart;
-
-tidy;
-EOF
-  sudo cp base_chroot.sh ~/immudex-testing/${arch}/chroot;
-  sudo chroot ~/immudex-testing/${arch}/chroot bash base_chroot.sh;
-  sudo rm ~/immudex-testing/${arch}/chroot/base_chroot.sh;
-else
-  exit 1;
-fi 
diff --git a/versions/101.sh b/versions/101.sh
deleted file mode 100644 (file)
index d844e3c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_addons /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_hostname /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/pl /usr/local/bin;
-
-set_mime;
-
-tidy;
-
-rm $0;
diff --git a/versions/102.sh b/versions/102.sh
deleted file mode 100644 (file)
index 13f40d8..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-rm /usr/share/appliacations;
-
-set_mime;
-
-tidy;
diff --git a/versions/103.sh b/versions/103.sh
deleted file mode 100644 (file)
index 3f9fe6b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/newsfeed /usr/local/bin/
-
-set_mime;
-
-tidy;
diff --git a/versions/104.sh b/versions/104.sh
deleted file mode 100644 (file)
index 0ae87a7..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/files/${VERSION}/xfce4-keyboard-shortcuts.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml;
-cp -vv ~/immudex-testing/files/${VERSION}/whiskermenu-1.rc /etc/skel/.config/xfce4/panel; 
-
-recreate_users;
-
-set_default_wallpaper d13_wallpaper.png;
-
-set_mime;
-
-tidy;
diff --git a/versions/105.sh b/versions/105.sh
deleted file mode 100644 (file)
index 31c52ca..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/pl /usr/local/bin; 
-
-set_mime;
-
-tidy;
diff --git a/versions/106.sh b/versions/106.sh
deleted file mode 100644 (file)
index c5a7160..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/create_media /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/immudex_hostname /usr/local/bin;
-
-rm -rf /etc/skel/.mozilla;
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-recreate_users;
-
-set_mime;
-
-tidy;
diff --git a/versions/107.sh b/versions/107.sh
deleted file mode 100644 (file)
index e68daaa..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-apt purge -y xpra;
-
-cp -vv ~/immudex-testing/files/${VERSION}/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0;
-cp -vv ~/immudex-testing/files/${VERSION}/xfce4-keyboard-shortcuts.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml;
-
-recreate_users;
-
-set_mime;
-
-tidy;
diff --git a/versions/108.sh b/versions/108.sh
deleted file mode 100644 (file)
index f7c7354..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-dhclient;
-cd
-if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing.git;
-else apt install git && git clone https://github.com/xf0r3m/immudex-testing.git;
-fi
-source ~/immudex-testing/versions/template.sh;
-
-update_packages;
-
-cp -vv ~/immudex-testing/tools/${VERSION}/idle-clic /usr/local/bin;
-cp -vv ~/immudex-testing/tools/${VERSION}/pl /usr/local/bin;
-
-cp -vv ~/immudex-testing/files/${VERSION}/xfwm4.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml;
-
-recreate_users;
-
-set_mime;
-
-tidy;