
Python script for privilege escalation for Python
Python script for privilege escalation for Linux
Original author is Mike Czumak (T_v3rn1x) -- @SecuritySift.
The --fast does not perform check for passwords in .sh files.
On Kali (or other Linux) install pyinstaller:
$ pip install pyinstaller
$ pip3 install pyinstaller
Then compile the script:
$ python -m PyInstaller --onefile linuxprivchecker.py
$ python3 -m PyInstaller --onefile linuxprivchecker3.py
Standalone ELF will be in ./dist/
If you need help with SUID and cronjob lists check this repo: https://github.com/cervoise/suid-bin/ or this project: https://github.com/TH3xACE/SUDO_KILLER.
If you need to find passwords you can look on https://github.com/AlessandroZ/LaZagne or https://github.com/0xmitsurugi/gimmecredz.