This project was inspired by LinEnum and uses many of his tests. Unlike LinEnum, lse tries to gradually expose the information from a privesc point of view. This script will display relevant information about the better safety of the local Linux system.
Specifications
It has 3 levels so you can control the information you see.
At the default level, you will see the very important defects security in the system. Level 1 (./lse.sh -l1) displays interesting information to help you privesc. Level 2 (./lse.sh -l2) will discard all information it collects about the system.r
By default, it will ask you a few questions: mainly the current password access user (if you know him so he can do some extra testing.
Download
[pastacode manual=”git%20clone%20https%3A%2F%2Fgithub.com%2Fdiego-treitos%2Flinux-smart-enumeration.git” provider=”manual” lang=”php”/]Use
[pastacode manual=”Use%3A%20.%2Flse.sh%20%5Boptions%5D%0D%0A%0D%0AOPTIONS%0D%0A-c%20Disable%20color%0D%0A-i%20Non%20interactive%20mode%0D%0A-h%20This%20help%0D%0A-l%20LEVEL%20Output%20verbosity%20level%0D%0A0%3A%20Show%20highly%20important%20results.%20(default)%0D%0A1%3A%20Show%20interesting%20results.%0D%0A2%3A%20Show%20all%20gathered%20information.%0D%0A-s%20SELECTION%20Comma%20separated%20list%20of%20sections%20or%20tests%20to%20run.%20Available%0D%0Asections%3A%0D%0Ausr%3A%20User%20related%20tests.%0D%0Asud%3A%20Sudo%20related%20tests.%0D%0Afst%3A%20File%20system%20related%20tests.%0D%0Asys%3A%20System%20related%20tests.%0D%0Asec%3A%20Security%20measures%20related%20tests.%0D%0Aret%3A%20Recurren%20tasks%20(cron%2C%20timers)%20related%20tests.%0D%0Anet%3A%20Network%20related%20tests.%0D%0Asrv%3A%20Services%20related%20tests.%0D%0Apro%3A%20Processes%20related%20tests.%0D%0Asof%3A%20Software%20related%20tests.%0D%0Actn%3A%20Container%20(docker%2C%20lxc)%20related%20tests.%0D%0ASpecific%20tests%20can%20be%20used%20with%20their%20IDs%20(i.e.%3A%20usr020%2Csud)” provider=”manual” lang=”php”/]Application snapshots
You can download the program from here.