2021-03-01 13:49:04 +00:00
|
|
|
# lse
|
2021-06-08 15:03:13 +00:00
|
|
|
# Linux enumeration tools for pen-testing and CTFs.
|
2021-03-02 03:02:30 +00:00
|
|
|
# This project was inspired by https://github.com/rebootuser/LinEnum and uses
|
2021-06-08 15:03:13 +00:00
|
|
|
# many of its tests. Unlike LinEnum, lse tries to gradually expose the
|
|
|
|
# information depending on its importance from a privacy point of view.
|
2021-03-01 13:49:04 +00:00
|
|
|
# GitHub repo: https://github.com/diego-treitos/linux-smart-enumeration.git
|
|
|
|
|
|
|
|
# Basic usage
|
|
|
|
./lse.sh [options]
|
|
|
|
|
|
|
|
# Non-interactive mode (will not prompt for current user's password)
|
|
|
|
./lse.sh -i
|
|
|
|
|
|
|
|
# Display the built-in help.
|
|
|
|
./lse.sh -h
|
|
|
|
|
2021-03-02 03:02:30 +00:00
|
|
|
# Specify the output verbosity level
|
|
|
|
# 0 = highly important results
|
|
|
|
# 1 = interesting results
|
|
|
|
# 2 = all gathered information
|
2021-03-01 13:49:04 +00:00
|
|
|
./lse.sh -l 0|1|2
|
|
|
|
|
|
|
|
# Specify a 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.
|
2021-06-08 15:03:13 +00:00
|
|
|
# ret: Recurrent tasks (cron, timers) related tests.
|
2021-03-01 13:49:04 +00:00
|
|
|
# net: Network related tests.
|
|
|
|
# srv: Services related tests.
|
|
|
|
# pro: Processes related tests.
|
|
|
|
# sof: Software related tests.
|
|
|
|
# ctn: Container (docker, lxc) related tests.
|
|
|
|
./lse.sh -s usr,sud,sec,etc
|
|
|
|
|