Brontox Remover Update
Reza has made some improvements on my Brontox Remover script. New features includes removing brontox from a specific directory and logging. Please note that he uses the md5 utility instead of md5sum, so you might want to modify the script a little before if you need md5sum. He runs this script as a cronjob to wipe brontox from a windows share. You might want to check his post if you’re running a server too.
You can download the new script over here.
Ronny Haryanto said on his comment at Reza’s blog that the script needs to add some heuristic check to reduce the computing-stress of calculating md5sums of numerous files. My code already check the filename to guess whether it is brontox or not (if the filename is similar to its parent directory, a common brontox trait), I guess it was enough, but additional checks won’t hurt. Ronny proposed to check the file size of a brontox worm and skip files that are a bigger than that (since they can’t be brontox). I think this would be an important feature, easy to implement too. You only need to add the -size switch in find. I think Reza is working on it.