pre-1.7.1d update

This commit is contained in:
Dewalt 2023-06-26 04:49:16 -05:00
parent c07de1ca51
commit b35f819df0
1 changed files with 2 additions and 1 deletions

View File

@ -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