hello-jason / detect-if-wordpress Goto Github PK
View Code? Open in Web Editor NEWBash script to determine if a given URL uses WordPress
Bash script to determine if a given URL uses WordPress
Locate style.css
and parse "Theme Name:"
Docs: https://codex.wordpress.org/File_Header#Theme_File_Header_Example
Yoast's WordPress SEO plugin injects HTML comments into the dom.
Search for these strings:
<!-- This site is optimized with the Yoast SEO plugin
and
<!-- / Yoast SEO plugin. -->
When testing URL technogym.com/us
, I get this error
Examples:
dp-tuner.com
shopsweetsandtreats.com
keh.com
Magento, but no false positive:
wideners.com
This issue needs more exploration. False positives being tripped are redirect of /wp-admin and form with action wp-login.php
detect-if-wordpress/wpdetect.sh
Line 15 in 607c049
If test 1 successfully redirects, parse the html for a form where the action submits to ://example.com/wp-login.php
[www.lslbc.louisiana.gov] is likely on WordPress. I found /wp-login.php. I found the /wp-content directory.
However, viewing the source shows the only /wp-content/
path is coming from an external CDN. This site is on WordPress, but it's Bedrock and the /wp-content/
check should have failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.