This repository has been archived by the owner on Jan 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
missions.bash
executable file
·65 lines (54 loc) · 1.94 KB
/
missions.bash
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
cd /mnt/phor/storm8
function action {
UA="Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3"
CHOICE=$(
wget -U "$UA" --header "$COOKIE" -nv --output-document - "http://$SERVER.storm8.com/missions.php?cat=$CAT" |
grep -o "missions.php.jid=$JOB&cat=$CAT&formNonce=[0-9a-f]\+&h=[0-9a-f]\+" |
perl -e 'srand;rand($.) < 1 && ($a = $_) while <>;print $a'
)
wget -nv --output-document /dev/null -U "$UA" --header "$COOKIE" "http://$SERVER.storm8.com/$CHOICE"
wget -nv --output-document /dev/null -U "$UA" --header "$COOKIE" "http://$SERVER.storm8.com/$CHOICE"
wget -nv --output-document /dev/null -U "$UA" --header "$COOKIE" "http://$SERVER.storm8.com/$CHOICE"
}
# CAT="1" JOB="[0-9]\+"
### KINGDOMS
COOKIE="Cookie: fpts=45; pf=128A6A13B0F27B599683BE80EC3F0C4F; uid=1809413; Version=PointPackage"
SERVER="kl"
CAT="2" JOB="34"
action
### IMOBSTERS
COOKIE="Cookie: fpts=20; pf=96837C9C5956493E07D664826C37E1FF; uid=1556111; Version=PointPackage"
SERVER="im"
CAT="2" JOB="[0-9]\+"
action
### RACING
COOKIE="Cookie: fpts=25; pf=8FEDD04E5169B1FB094462392BC7F321; uid=3928906; Version=PointPackage"
SERVER="rl"
CAT="1" JOB="[0-9]\+"
action
### VAMPIRES
COOKIE="Cookie: fpts=15; pf=D79A0F73BE30E340777FE9E50FC06E4D; uid=2330131; Version=PointPackage"
SERVER="vl"
CAT="1" JOB="[0-9]\+"
action
### WORLDWAR
COOKIE="Cookie: fpts=15; pf=7119A6BC5606F29EC9B3A95D313CE243; uid=2806138; Version=PointPackage"
SERVER="wwar"
CAT="1" JOB="[0-9]\+"
action
### ROCKSTARS
COOKIE="Cookie: fpts=60; pf=E63F2CB07347FD9A49CB9C07C7B5D084; uid=1922200; Version=PointPackage"
SERVER="rol"
CAT="1" JOB="[0-9]\+"
action
### ZOMBIES
COOKIE="Cookie: fpts=20; pf=F2878FBB5DDF2663290A9B5ED0D5B89F; uid=2330748; Version=PointPackage"
SERVER="zl"
CAT="5" JOB="[0-9]\+"
action
### NINJAS
COOKIE="Cookie: pf=DCD0CFAE748BD5BDFFF5FD94B758B4FA; uid=510905; Version=Paid"
SERVER="nl"
CAT="1" JOB="[0-9]\+"
action