mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-29 15:10:24 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
6a0594dd45
commit
a595bf9b75
1 changed files with 4 additions and 3 deletions
|
@ -359,9 +359,6 @@ Example you are on a host with IP 172.18.0.1
|
||||||
|
|
||||||
Edit the port if you want to by default the `SRVPORT` is set to 1080 , you can edit it on `/etc/proxychains.conf`
|
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
|
### Port scan
|
||||||
|
|
||||||
`use auxiliary/scanner/portscan/tcp`
|
`use auxiliary/scanner/portscan/tcp`
|
||||||
|
@ -371,6 +368,10 @@ Edit the port if you want to by default the `SRVPORT` is set to 1080 , you can e
|
||||||
|
|
||||||
` portfwd add -l <port_to_listen> -p <port_to_be_open> -r <targeted_ip`
|
` portfwd add -l <port_to_listen> -p <port_to_be_open> -r <targeted_ip`
|
||||||
|
|
||||||
|
### MSSQL Code Execution
|
||||||
|
|
||||||
|
Using `use admin/mssql/mssql_exec` we can execute code by specifying the credentials
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
|
|
||||||
### Dumping repository
|
### Dumping repository
|
||||||
|
|
Loading…
Reference in a new issue