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
Post a Comment