peass-ng / PEASS-ng

PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
https://book.hacktricks.xyz
Other
15.86k stars 3.07k forks source link

LinPEAS stuck at "Users with console" stage (Oracle Linux 7) #401

Open lorenzog opened 10 months ago

lorenzog commented 10 months ago

Issue description

Running linpeas.sh on an Oracle Linux 7 system gets stuck at "Users with Console"

Steps to reproduce the issue

  1. Download the latest version of linpeas into /tmp
  2. Execute it as bash ./linpeas.sh
  3. Script gets stuck:
[...]
╔══════════╣ Superusers
root:x:0:0:root:/root:/bin/bash

╔══════════╣ Users with console

Which parameters did you use for executing the script and how did you execute it?

The script was executed both as a regular user and as root as such:

bash ./linpeas.sh

Both in a terminal multiplexer (tmux/byobu) and without.

Is there any AV / Threat protection in the system?

None.

Please, indicate the OS, the OS version, and the kernel version (build number in case of Windows)

$ cat /etc/oracle-release
Oracle Linux Server release 7.9
$ uname -a
Linux foo 3.10.0-1160.92.1.0.1.el7.x86_64 #1 SMP Tue Jun 6 09:59:29 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux

Please, indicate the check that is failing and add a screenshot showing the problem

The check that is stuck is "Users with console". No output is presented after the header.

How did you expect it to work?

It should progress to the next stage or fail with an error.

Additional details / screenshot

N/A