From c07de1ca51e0abb3c9e79499ee9d985e3cce75de Mon Sep 17 00:00:00 2001 From: Dewalt <> Date: Mon, 26 Jun 2023 04:35:28 -0500 Subject: [PATCH] pre-update 1.7.1d --- pimpmykali.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pimpmykali.sh b/pimpmykali.sh index 5480972..72e6f58 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -109,7 +109,17 @@ check_distro() { if [ $distro -ne 1 ] then echo -e "\n $blinkexclaim Kali Linux Not Detected - WSL/WSL2/Anything else is unsupported $blinkexclaim \n"; exit fi - } + + findhostname=$(hostname) + # check for tracelabs osint vm, if found exit + if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ -f /var/share/icons/hicolor/scaleable/categories/tracelabs.svg ]] + then + echo -e "\n $redexclaim Tracelabs Osint VM Detected, exiting" + exit + else + echo > /dev/null + fi + } check_for_root() { if [ "$EUID" -ne 0 ]