wordpress - Hacked WP, regex link removal -


i working on wordpress website got hacked "pharmahack". have done multiple scans , checked multiple files seem fine.

my task remove of spam links , text, @ moment i'm doing manually db dump there 300 instances of offending content.

it contained within <div style="position:absolute; left:-3841px; top:-3137px;"> left , top variable.

does know regex remove content within div?

thanks help.

assuming width , height negative, , content within offending <div/> snippets don't have inner <div/> snippets:

s/<div style="position:absolute; left:-\d*px; top:-\d*px;">.*?<\/div>//g 

here's regex in play: https://regex101.com/r/ev1kn7/1


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -