Currently, the 'su' brute check is never performed when 'sudo' is not found by command -v sudo. Since sudo is not required for 'su' brute, I removed that and replaced it with a check for 'su'. This ensures the su brute check will correctly be performed even when sudo is not found.
Additionally, the help message printed for command line args didn't include the -a flag that invokes all checks and unsets "FAST" mode, which is required for the su brute check to be invoked.
Note, my code editor automatically removes trailing white space, so several extra lines appear to change due to that. The significant changes are in:
builder/linpeas_parts/linpeas_base.sh:748-751 and 77
Currently, the 'su' brute check is never performed when 'sudo' is not found by
command -v sudo
. Since sudo is not required for 'su' brute, I removed that and replaced it with a check for 'su'. This ensures the su brute check will correctly be performed even when sudo is not found.Additionally, the help message printed for command line args didn't include the
-a
flag that invokes all checks and unsets "FAST" mode, which is required for the su brute check to be invoked.Note, my code editor automatically removes trailing white space, so several extra lines appear to change due to that. The significant changes are in: