mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-10 06:34:17 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
22d01f00a7
commit
016ffa70f5
1 changed files with 5 additions and 0 deletions
|
@ -30,11 +30,16 @@
|
|||
### NFS shares
|
||||
* `showmount -e <ip> ` This lists the nfs shares
|
||||
* `mount -t nfs <ip>:/<share_name> <directory_where_to_mount>` Mounting that share
|
||||
|
||||
### Finding Binaries
|
||||
|
||||
* find . - perm /4000 (user id uid)
|
||||
* find . -perm /2000 (group id guid)
|
||||
|
||||
### Finding File capabilites
|
||||
|
||||
`getcap -r / 2>/dev/null`
|
||||
|
||||
### Changing file attributes
|
||||
|
||||
chattr + i filename `making file immutable`<br/>
|
||||
|
|
Loading…
Reference in a new issue