Skip to content

Instantly share code, notes, and snippets.

@johnbillion
johnbillion / plugin.php
Last active November 20, 2017 22:05 — forked from joncave/plugin.php
First pass at removing the vulnerabilities from this plugin. Untested. *bites nails*
<?php
/* Plugin Name: Damn Vulnerable WordPress Plugin
* Description: Intentionally vulnerable plugin for plugin author education
* Version: 0.1
* Plugin URI: http://make.wordpress.org/plugins/2013/04/09/intentionally-vulnerable-plugin/
* Author: Jon Cave
* Author URI: http://joncave.co.uk
* License: GPLv2+
*
* DO NOT RUN THIS PLUGIN ON AN INTERNET ACCESSIBLE SITE