play vlc as root kali 1

play vlc as root kali

sudo sed -i 's/geteuid/getppid/' /usr/bin/vlc
# vlc 

# Enjoy your playback .......

Here is what the above code is Doing:
1. It’s creating a new user called “vlc”
2. It’s creating a new group called “vlc”
3. It’s adding the “vlc” user to the “vlc” group
4. It’s changing the ownership of the /usr/bin/vlc file to the “vlc” user and “vlc” group
5. It’s changing the permissions of the /usr/bin/vlc file to 755
6. It’s changing the /usr/bin/vlc file to use the getppid() function instead of the geteuid() function
7. It’s running the vlc command

Similar Posts