Created
February 10, 2016 14:38
-
-
Save kalimalrazif/fd4d79ef817674342daa to your computer and use it in GitHub Desktop.
To get rid of some /*rqñl45i32j3ñ2lkm*/MALWARE/*rqñl45i32j3ñ2lkm*/ on your site
This file contains hidden or 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
#!/bin/bash | |
for archivo in `grep -rl -E "\/\*[0-9A-Za-z]{32}\*\/" *`; do | |
cp $archivo $archivo.bak; # this is just in case | |
chmod 440 $archivo.bak; # juuuuust in case | |
sed -ie 's/\(\/\*[0-9A-Za-z]\{32\}\*\/\).*\1//' $archivo; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment