6379
Last updated
Last updated
Then to authenticate:
We are in.
The version is 5.0.14: Using this: https://github.com/Ridter/redis-rce?source=post_page-----88a3e0e21f62--------------------------------
We can get a shell:
Then set up a listener:
Now we can look for the wp-config file and get the database password:
Checking netstat:
Can not proceed as we get a shell as redis user
We can check the service files for redis using the LFI:
Then write a shell.php:
Now we can look for the wp-config file and get the database password:
Kali:
But we don't find anything in database after logging in.
Now we have tar with *
which we can use to gain sudo access:
We get a shell
But could not execute anything so was a waste
Now we can find the writeable directory:
Now we have command execution: We can get a shell now:
Port forwarding: Target:
We find a cron job after running linpeas:
Now in payload.sh: Now we get a shell in the listener: