This project was inspired by LinEnum and uses many of its tests. Unlike LinEnum, lse gradually tries to expose the information from a privesc point of view. This script will display relevant information about the security of the local Linux system.
It has 3 levels so you can control the information you see.
At the default level, you will see very important security flaws in the system. Level 1 (./lse.sh -l1) displays interesting information to help you do privesc. Level 2 (./lse.sh -l2) will discard all system information it collects. \ R
By default, it will ask you a few questions: mainly the current user password (if you know it so it can do some extra testing.
git clone https://github.com/diego-treitos/linux-smart-enumeration.git
Use: ./lse.sh [options] OPTIONS -c Disable color -i Non interactive mode -h This help -l LEVEL Output verbosity level 0: Show highly important results. (default) 1: Show interesting results. 2: Show all gathered information. -s SELECTION Comma separated list of sections or tests to run. Available sections: usr: User related tests. sud: Sudo related tests. fst: File system related tests. sys: System related tests. sec: Security measures related tests. ret: Recurren tasks (cron, timers) related tests. net: Network related tests. srv: Services related tests. pro: Processes related tests. sof: Software related tests. ctn: Container (docker, lxc) related tests. Specific tests can be used with their IDs (i.e.: usr020,sud)
You can download the program from here.
Spread the news