Skip to content

Feature request: Add timeout for linpeas sudo -l checks for automated tool integration #621

@bestutsengineer

Description

@bestutsengineer

Hi!
As the title suggests:
As some tools I use will use LinPEAS in non-interactive mode, it will be hung on sudo -l / sudo -i checks forever if no user input is detected.

for example, the tool (penelope) will run LinPEAS and redirect the output there:

sudo tail -n+0 -f /home/kali/.penelope/sessions/snookums~192.168.200.58-Linux-x86_64/scripts/2026_01_14-10_44_17-output.txt

I would like to suggest a timeout of 15 seconds, if no keyboard activity is detected, LinPEAS will skip the test.

Could also add a timeout of 30 seconds for every other check, so it will never hung on error. Or allow user to define it -t 30.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions