mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-09-20 06:11:56 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
402ee8b7d7
commit
675a551901
1 changed files with 22 additions and 0 deletions
|
@ -314,6 +314,28 @@ msfvenom --list formats
|
|||
### Adding user for RDP
|
||||
run getgui -u [USER_NAME] -p [PASS]
|
||||
|
||||
### Pivoting
|
||||
`use post/multi/manage/autoroute`
|
||||
Example you are on a host with IP 172.18.0.1
|
||||
`set RHOSTS 172.18.0.0`
|
||||
`set SESSION <session_number`
|
||||
|
||||
### Using socks4a proxy
|
||||
|
||||
`use auxiliary/server/socks_proxy`
|
||||
`SET SOCKS 4a`
|
||||
`exploit`
|
||||
|
||||
Edit the port if you want to by default the `SRVPORT` is set to 1080 , you can edit it on `/etc/proxychains.conf`
|
||||
|
||||
### ARP Scan
|
||||
|
||||
|
||||
### Port scan
|
||||
|
||||
`use auxiliary/scanner/portscan/tcp`
|
||||
`set RHOSTS <subnet>/24`
|
||||
|
||||
# Git
|
||||
|
||||
### Dumping repository
|
||||
|
|
Loading…
Reference in a new issue