-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.sh
executable file
·44 lines (36 loc) · 1.38 KB
/
index.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
rm -f index.html
if [ ! -x xor ]
then
gcc -O2 -o xor xor.c
fi
#
wget -O - http://www.lemonde.fr | tr -d ">< \t\m\n" | ./xor >> index.html
dd if=/dev/urandom count=4 | ./xor >>index.html
echo `ps -ef` `ls -lR /etc` | tr -d " \t\m\n" | ./xor >> index.html
date | ./xor >> index.html
#
wget -O - http://www.nytimes.com | tr -d ">< \t\m\n" | ./xor >> index.html
dd if=/dev/urandom count=4 | ./xor >>index.html
echo `ps -ef` `ls -lR /etc` | tr -d " \t\m\n" | ./xor >> index.html
date | ./xor >> index.html
#
wget -O - http://www.latimes.com | tr -d ">< \t\m\n" | ./xor >> index.html
dd if=/dev/urandom count=4 | ./xor >>index.html
echo `ps -ef` `ls -lR /etc` | tr -d " \t\m\n" | ./xor >> index.html
date | ./xor >> index.html
#
wget -O - http://news.bbc.co.uk | tr -d ">< \t\m\n" | ./xor >> index.html
dd if=/dev/urandom count=4 | ./xor >>index.html
echo `ps -ef` `ls -lR /etc` | tr -d " \t\m\n" | ./xor >> index.html
date | ./xor >> index.html
#
wget -O - http://www.washingtonpost.com | tr -d ">< \t\m\n" | ./xor >> index.html
dd if=/dev/urandom count=4 | ./xor >>index.html
echo `ps -ef` `ls -lR /var` | tr -d " \t\m\n" | ./xor >> index.html
date | ./xor >> index.html
#
wget -O - http://www.aljazeera.com | tr -d ">< \t\m\n" | ./xor >> index.html
dd if=/dev/urandom count=4 | ./xor >>index.html
echo `ps -ef` `ls -lR /var` | tr -d " \t\m\n" | ./xor >> index.html
date | ./xor >> index.html