From b35f819df0332e5482ed1bf9cd894fc169c910f9 Mon Sep 17 00:00:00 2001 From: Dewalt <> Date: Mon, 26 Jun 2023 04:49:16 -0500 Subject: [PATCH] pre-1.7.1d update --- pimpmykali.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pimpmykali.sh b/pimpmykali.sh index 72e6f58..0ce71a6 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -111,8 +111,9 @@ check_distro() { fi findhostname=$(hostname) + findrelease=$(cat /etc/os-release | grep -i -c -m1 "2022.1") # check for tracelabs osint vm, if found exit - if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ -f /var/share/icons/hicolor/scaleable/categories/tracelabs.svg ]] + if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ $findrelease -ge 1 ]] then echo -e "\n $redexclaim Tracelabs Osint VM Detected, exiting" exit