hacktricks icon indicating copy to clipboard operation
hacktricks copied to clipboard

[Correction] Incorrect command at https://book.hacktricks.xyz/linux-hardening/privilege-escalation#script-binaries-in-path

Open scriptk1d opened this issue 2 years ago • 0 comments

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.

scriptk1d avatar Nov 02 '23 08:11 scriptk1d