Skip to content

Commit

Permalink
Update kali-whoami
Browse files Browse the repository at this point in the history
  • Loading branch information
owerdogan authored Jan 15, 2023
1 parent 6969432 commit 4650924
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kali-whoami
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ support_youtube() {
youtube_val=`grep youtube= /usr/share/kali-whoami/assets/sources/config | cut -d'=' -f2`

if [ "$youtube_val" != "FALSE" ]; then
warn "FOR THE WHOAMI PROJECT TO CONTINUE, 1 YOUTUBE VIDEO WILL BE OPEN AUTOMATICALLY."
msg "AFTER THEN YOU ARE FREE TO CLOSE. THIS MESSAGE WON'T APPEAR AGAIN."
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 but do something nice today and subscribe :)"
nonroot_user=`who | awk '$1!="root"{print $1}' | head -1`
sleep 3
sudo -u $nonroot_user firefox -new-tab "https://youtu.be/Ml59DK5ADqs"
curl --silent "https://visitor-badge.glitch.me/badge?page_id=whoami_youtube_com2&left_color=black&right_color=red&left_text=Counter:" # please dont send spam. thanks :)
sleep 5
sudo -u $nonroot_user firefox -new-tab "https://www.youtube.com/@reverseower"
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 "youtube=FALSE" >> /usr/share/kali-whoami/assets/sources/config
fi
}
Expand Down

0 comments on commit 4650924

Please sign in to comment.