Closed virenpawar closed 2 years ago
Hi @virenpawar, The output you were looking for is default in most systems and linpeas was removing that part from the output. However, it's try that for a miss-configured path it can be useful to escalate privs so the next release of linpeas won't be removing those lines. Feel free to test the new version in a couple of hours and reopen this issue if the bug persists. And thanks for sharing the bug!
If you are going to suggest something, please remove the following template.
Issue description
For output from latest
linpeas.sh
the output for CRON JOBS section is as follows:However, the missing output here is as follows:
The command used above is from https://book.hacktricks.xyz/linux-unix/privilege-escalation#scheduled-cron-jobs. In this particular instance, I had misconfigured
PATH
setup and was looking for any binary which was being used without a proper path so I could go for privilege escalation, but due to missing output, I couldn't reach this point via LinPeas.Steps to reproduce the issue
linpeas.sh
on any Linux system and refer to the issue mentioned.Which parameters did you use for executing the script and how did you execute it?
bash linpeas.sh | tee lin.out
If winpeas, did you use a clean or obfuscated winpeas, and for which architecture?
No.
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)
Please, indicate the check that is failing and add a screenshot showing the problem
Cron jobs complete output, as mentioned in issue description.
How did you expect it to work?
Expected complete output as the scripts like the commands used on https://book.hacktricks.xyz/linux-unix/privilege-escalation#scheduled-cron-jobs.
Additional details / screenshot
N/A