ssnepenthe / soter

Check your WordPress site for vulnerabilities against the WPScan Vulnerabilities Database API.
GNU General Public License v2.0
0 stars 1 forks source link

Undefined offset #23

Closed ssnepenthe closed 7 years ago

ssnepenthe commented 7 years ago

Also popped up in prep for testing #21...

Notice: Undefined offset: 1 in /srv/www/wordpress-default/public_html/wp-content/plugins/soter/src/class-checker.php on line 174

ssnepenthe commented 7 years ago

This round of testing is being done on a VVV server with default plugins - that includes Hello Dolly.

Plugin file is exploded on dir sep, and count is assumed to be 2. This doesn't account for the cases where a plugin is just a single file dropped right into the plugins dir (I forgot this was even possible...).

ssnepenthe commented 7 years ago

Looks like this also affects the plugins list on the settings page.