hacktricks
hacktricks copied to clipboard
[Correction] Incorrect command at https://book.hacktricks.xyz/linux-hardening/privilege-escalation#script-binaries-in-path
Issue Description: Hello, I have noticed an error in the command at the following location: https://github.com/carlospolop/hacktricks/tree/master/linux-hardening/privilege-escalation#scriptbinaries-in-path
Error Description:
The -type parameter for the find command should not be -f. The correct command should be:
for d in $(echo $PATH | tr ":" "\n"); do find $d -type f -executable 2>/dev/null; done
Thank you for your attention to this matter. Please consider making the necessary correction.