Update Cheat Sheet.md

This commit is contained in:
AbdullahRizwan101 2020-11-03 11:30:29 -05:00 committed by GitHub
parent 7853bd3223
commit 47382dfcf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
### Vulnerable sudo version
`sudo -u#-1 whoami`
### Looking for smb shares
### SMB Shares
#### SmbClient
* `smbclient -L \\\\<ip\\` listing all shares
@ -27,7 +27,7 @@
* `smbget -R smb://<ip>/<share>`
#### NFS shares
### 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