diff --git a/kali-whoami b/kali-whoami index 6b4aef3..f123f95 100644 --- a/kali-whoami +++ b/kali-whoami @@ -4,22 +4,6 @@ #check source files source /usr/share/kali-whoami/assets/sources/config 2> /dev/null || { clear;echo -e "\e[31m [-] FATAL ERROR: MAIN CONFIG COULD NOT BE SOURCED!\e[0m";exit 1;} -support_youtube() { -youtube_val=`grep youtube= /usr/share/kali-whoami/assets/sources/config | cut -d'=' -f2` - -if [ "$youtube_val" != "FALSE" ]; then - warn "Whoami Project needs support to continue. You can subscribe to youtube channel to support." - msg "It's free and you can unsubscribe whenever you want." - msg "If you do not want to subscribe, close the tab :(" - msg "YouTube launching in 5 second. Do something nice today and subscribe :)" - nonroot_user=`who | awk '$1!="root"{print $1}' | head -1` - sleep 5 - sudo -u $nonroot_user firefox -new-tab "https://www.youtube.com/@reverseower" &> /dev/null - curl --silent "https://visitor-badge.glitch.me/badge?page_id=whoami_youtube_com3&left_color=black&right_color=red&left_text=Counter:" # please dont send spam. thanks :) - echo -e "\nyoutube=FALSE" >> /usr/share/kali-whoami/assets/sources/config -fi -} - banner # run with a root privilege [ $UID != 0 ] && err "Whoami must be run as root. ${GREEN}'sudo $(basename ${0})'${RESET}" @@ -172,7 +156,6 @@ fi case "$1" in --[sS][tT][aA][rR][tT]|-[sS][tT]) - support_youtube start ;; --[sS][tT][oO][pP]|-[sS][pP])