Closed kgraefe closed 2 years ago
Thanks @kgraefe for your suggestions. This should be fixed now as I followed the indicated fixes, could you check?
I does NOT work for me. I will investigate and create a PR this time. ;-)
The PR was accepted and a new linpeas was generated. Thanks for reporting this issue!
If you are going to suggest something, please remove the following template.
Issue description
When scanning SUID programs on my system none of the "It looks like" suggestions were printed although I know there are at least some.
Steps to reproduce the issue
Run
./linpeas.sh -o IntFiles
Which parameters did you use for executing the script and how did you execute it?
-o IntFiles
Is there any AV / Threat protection in the system?
no
Please, indicate the OS, the OS version, and the kernel version (build number in case of Windows)
Custom Linux distribution based on Yocto/busybox with customized Linux kernel 5.10.47-rt46.
Please, indicate the check that is failing and add a screenshot showing the problem
How did you expect it to work?
Additional details / screenshot
$sline_first
becomes e.g."cat"
where it should becat
. This is broken since https://github.com/carlospolop/PEASS-ng/commit/fbe0004755b9cf1df19778bc6986cd361889a331grep -qv ".."
in linpeas_base.sh#L2567 matches any characters, basically disablingprintf
completely. The dots should be escaped. This is broken since https://github.com/carlospolop/PEASS-ng/commit/883e5b56e6c9fe4708039d963649fb554c5bf63e .