Skip to content

Instantly share code, notes, and snippets.

View abelbarraza3's full-sized avatar
😃

Abel Barraza abelbarraza3

😃
  • Imperva
View GitHub Profile
@abelbarraza3
abelbarraza3 / FixLoveGreenPencilsMalware.sh
Created February 18, 2021 20:44 — forked from black-dragon74/FixLoveGreenPencilsMalware.sh
Fixes love green pencils wordpress malware
#!/bin/bash
# Regex to fix DB is: "s/<script[\s\S]*?>[\s\S]*?<\/script>//g"
totalInfections=0
filesProcessed=0
echo "Welcome to lovegreenpencils malware fixer by black-dragon74"
echo "This fix is divided into 3 phases."
echo "Phase 1 fixes the \`beckup\` files."