Created
February 10, 2019 21:54
-
-
Save frazras/af08fbd24335190fed0714ab87db8144 to your computer and use it in GitHub Desktop.
Use this script to remove the Javascript redirect hack that infects all your javascript files and redirects them to sites associated with uncontinuer.tk or getmyfreetraffic.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#navigate to your web root and run this. | |
#I provide no warranty that it may not affect benign files but this worked for me | |
#so I though I should share it. | |
sudo grep -rl 'var _0x' . | xargs sudo sed -i -e 's/var _0x.*));//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment