mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-18 18:36:10 +00: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:
parent
be8f32b586
commit
1d299f55c9
@ -434,7 +434,7 @@ Tool: [wildpwn](https://github.com/localh0t/wildpwn)
|
|||||||
List world writable files on the system.
|
List world writable files on the system.
|
||||||
|
|
||||||
```powershell
|
```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 / -perm -2 -type f 2>/dev/null
|
||||||
find / ! -path "*/proc/*" -perm -2 -type f -print 2>/dev/null
|
find / ! -path "*/proc/*" -perm -2 -type f -print 2>/dev/null
|
||||||
```
|
```
|
||||||
@ -696,4 +696,4 @@ https://www.exploit-db.com/exploits/18411
|
|||||||
- [Editing /etc/passwd File for Privilege Escalation - Raj Chandel - MAY 12, 2018](https://www.hackingarticles.in/editing-etc-passwd-file-for-privilege-escalation/)
|
- [Editing /etc/passwd File for Privilege Escalation - Raj Chandel - MAY 12, 2018](https://www.hackingarticles.in/editing-etc-passwd-file-for-privilege-escalation/)
|
||||||
- [Privilege Escalation by injecting process possessing sudo tokens - @nongiach @chaignc](https://github.com/nongiach/sudo_inject)
|
- [Privilege Escalation by injecting process possessing sudo tokens - @nongiach @chaignc](https://github.com/nongiach/sudo_inject)
|
||||||
* [Linux Password Security with pam_cracklib - Hal Pomeranz, Deer Run Associates](http://www.deer-run.com/~hal/sysadmin/pam_cracklib.html)
|
* [Linux Password Security with pam_cracklib - Hal Pomeranz, Deer Run Associates](http://www.deer-run.com/~hal/sysadmin/pam_cracklib.html)
|
||||||
* [Local Privilege Escalation Workshop - Slides.pdf - @sagishahar](https://github.com/sagishahar/lpeworkshop/blob/master/Local%20Privilege%20Escalation%20Workshop%20-%20Slides.pdf)
|
* [Local Privilege Escalation Workshop - Slides.pdf - @sagishahar](https://github.com/sagishahar/lpeworkshop/blob/master/Local%20Privilege%20Escalation%20Workshop%20-%20Slides.pdf)
|
||||||
|
Loading…
Reference in New Issue
Block a user