Want more features on Pastebin? Sign Up, it's FREE!
Guest

Bash/Perl fix for "eva1fYlbakBcVSir" WP Backdoor/Malware

By: tekno23 on Apr 16th, 2012  |  syntax: Bash  |  size: 0.18 KB  |  views: 936  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2. find . -name '*.php' -exec grep -q eva1fYlbakBcVSir {} \; -print -exec perl -pi -w -e 's/\<\?php \@error_reporting\(0\); if \(\!isset\(\$eva1fYlbakBcVSir.*\?\>//g' {} \;
clone this paste RAW Paste Data