Cleaning up after a hack
grep -rl MultiViews * | sed "s/\(.*\)/chown user:group \1/" > chown_multi
grep -rl bacjdzzazbzceh * | sed "s/\(.*\)/chown user:group \1/" > chown_bacj
grep -rl MultiViews * | sed "s/\(.*\)/rm -f \1/" > rm_multi
grep -rl bacjdzzazbzceh * | sed "s/\(.*\)/rm -f \1/" > rm_bacj
If you don't have root privileges on a server and need to clean up after a hack, your hosting company may be willing to change the ownership of the files so you can delete them.
You can also try to use
<?php system('./rm_multi'); ?>.
Print article | This entry was posted by elvis on 09/26/08 at 05:21:38 pm . Follow any responses to this post through RSS 2.0. |