1
0
mirror of https://github.com/swisskyrepo/PayloadsAllTheThings.git synced 2024-09-23 22:50:44 +02:00

Delete unnecessary escape characters

`whoami` has already been wrapped in backquotes. There is no need to user escape characters again
This commit is contained in:
M4x 2020-03-29 23:40:39 +08:00 committed by GitHub
parent be8f32b586
commit 1d299f55c9
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,7 +434,7 @@ Tool: [wildpwn](https://github.com/localh0t/wildpwn)
List world writable files on the system.
```powershell
find / -writable ! -user \`whoami\` -type f ! -path "/proc/*" ! -path "/sys/*" -exec ls -al {} \; 2>/dev/null
find / -writable ! -user `whoami` -type f ! -path "/proc/*" ! -path "/sys/*" -exec ls -al {} \; 2>/dev/null
find / -perm -2 -type f 2>/dev/null
find / ! -path "*/proc/*" -perm -2 -type f -print 2>/dev/null
```