Re:Show HN: WP Detective – Show what theme and plugins a Wor...
by codeaken on Friday April 14, 2017 @06:55PM
(#14118042)
When pattern matching goes wrong... Good find, we will fix this, thanks! :)
Re:Show HN: WP Detective – Show what theme and plugins a Wor...
by tyingq on Friday April 14, 2017 @07:16PM
(#14118153)
It has the look of using regex against raw page html.
I would guess you'd have better luck parsing the html and extracting the href attributes of any <link> tags, src attributes of <script> tags, etc. Then pattern matching only against that.
For example:
http://wpdetective.io/wordpress.org
That trips it up a bit with false positives, finding plugins that aren't plugins.