Last time when I created 'evil module' we talked about web based on Drupal. Today we will try to achieve similar results for Wordpress. Here we go...
Idea is simple - just like for the Drupal - we need to find/create a package with new plugin. I decided to find one at official Wordpress page and 'backdoor it' with my super-php-backdoor-code ;)
Module can be used then to prepare a reverse-shell during CTF competition (remember to use it only for legal purposes):
I decided to use this plugin:
We will be redirected to the Dashboard. Click to Plugins and select our new installed plugin:
Now we can edit php file, let's add simple example - phpinfo():
If you don't know what is the 'default' path for plugins installed on remote host, you can use:
$ wpscan --url http://your.host
It works! :)
Now let's update our example-plugin to add reverse-shell from pentestmonkey:
Ok, netcat is ready for incomming connections so we can visit our new saved plugin page:
See you next time!