Skip to content

Instantly share code, notes, and snippets.

@veganista
Created July 21, 2011 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veganista/1096976 to your computer and use it in GitHub Desktop.
Save veganista/1096976 to your computer and use it in GitHub Desktop.
Sql For checking if wordpress is infected with some malicious links
SELECT
*
FROM
wp_posts
WHERE
post_content LIKE '%basicpills.com%'
OR post_content LIKE '%getrxpills.com%'
OR post_content LIKE '%antibiotics-shop.com%'
OR post_content LIKE '%generic-ed-pharmacy.com%'
OR post_content LIKE '%rx-prices.com%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment