a plugin that protects your wp site from the CVE-2017-8295 vulnerability# WP Allowed Hosts
This plugin has been created after the vulnerability known as `CVE-2017-8295` has been disclosed,
this plugin will protect you from that attack with no hassle, just add simple line to your `wp-config.php` .
# Installation
Just download the plugin from [here](https://github.com/alash3al/wp-allowed-hosts/archive/master.zip) and upload it to your site .
# Usage
Just add the following line to your `wp-config.php`
```php
// WP Allowed Hosts Plugin
define( 'WP_ALLOWED_HOSTS', 'mysit.com' );
```
You can also add multiple domains .
```php
// WP Allowed Hosts Plugin
define( 'WP_ALLOWED_HOSTS', 'site1.com,site2.com' );
```
[4.0K] /data/pocs/f4c606632840f0ea083a850ac5a3830397535a33
├── [ 18K] LICENSE
├── [ 750] plugin.php
└── [ 644] README.md
0 directories, 3 files