2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/lse.sh

38 lines
1.1 KiB
Bash
Raw Normal View History

# lse
2021-06-08 15:03:13 +00:00
# Linux enumeration tools for pen-testing and CTFs.
# 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.
# 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
# Specify the output verbosity level
# 0 = highly important results
# 1 = interesting results
# 2 = all gathered information
./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.
# 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