pre-update 1.7.1d

This commit is contained in:
Dewalt 2023-06-26 04:35:28 -05:00
parent f847b1cd06
commit c07de1ca51
1 changed files with 11 additions and 1 deletions

View File

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