Save changes in /etc/passwd file
The command “:saveas!” is very useful to save changes in a sensitive files:
1
:saveas! /etc/passwd
Install Google Chrome
Steps to install Google Chrome in Linux:
1
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
1
sudo dpkg -i google-chrome-stable_current_amd64.deb
Locate path:
1
which google-chrome-stable
Compile GCC
Syntax:
1
gcc <file.c> -o <fileOutput> && chmod +x <fileOutput>
Example:
1
gcc <kernel_exploit.c> -o <kernel_exploit> && chmod +x <kernel_exploit>
1
./kernel_exploit