Quantcast
Channel: Topic Tag: malware | WordPress.org
Viewing all articles
Browse latest Browse all 1906

patrickkidd on "Scraping post_content to remove html elements from malware"

$
0
0

My site was infected by malware that added a div like <div style="position:absolute; left: -3000px" ... > ... </div> to post_content for 381 posts. It would take days to remove them manually. My client can't afford to pay me to do that and they are not technical enough to parse and remove the text themselves.

Does anyone know of a way to scrape and remove html based on a text string or DOM query using SQL?

Thanks!


Viewing all articles
Browse latest Browse all 1906

Trending Articles