6379
Last updated
Last updated
Enumerating with nmap script:
Now we can follow this: From hacktricks.
then:
Now for reverse shell:
Then:
And since we have access to the environment variable we can go to /usr/bin/local/lib/dev
And create a file called pe.c:
Now we can compile:
Now upload this in ftp pub folder: Now we can continue exploiting redis:
Now we can execute commands:
We get a shell:
Running linpeas:
Now lets try running this cron job: utils.so is missing.
Now when the cron job is started as root it will use the utils.so from /usr/bin/local/lib/dev
directory and we will get a reverse shell.