Skip to content

Instantly share code, notes, and snippets.

@frazras
Created February 10, 2019 21:54
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frazras/af08fbd24335190fed0714ab87db8144 to your computer and use it in GitHub Desktop.
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
#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