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
/
attack.bash
executable file
·50 lines (41 loc) · 1.81 KB
/
attack.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
#!/bin/bash
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"
wget -U "$UA" -q --output-document /dev/null --header "$COOKIE" "http://$SERVER.storm8.com/hospital.php?action=heal"
CHOICE=$(wget -U "$UA" -q --output-document - --header "$COOKIE" "http://$SERVER.storm8.com/fight.php?showAttackBg=true" | grep -o "fight.php?action=fight&rivalId=[0-9a-f]\+&pos=[0-9a-f]\+&formNonce=[0-9a-f]\+&h=[0-9a-f]\+" | head -n 1)
wget -nv -U "$UA" --output-document /dev/null --header "$COOKIE" "http://$SERVER.storm8.com/$CHOICE"
wget -nv -U "$UA" --output-document /dev/null --header "$COOKIE" "http://$SERVER.storm8.com/$CHOICE"
wget -nv -U "$UA" --output-document /dev/null --header "$COOKIE" "http://$SERVER.storm8.com/$CHOICE"
}
### KINGDOMS
COOKIE="Cookie: fpts=45; pf=128A6A13B0F27B599683BE80EC3F0C4F; uid=1809413; Version=PointPackage"
SERVER="kl"
action
### IMOBSTERS
COOKIE="Cookie: fpts=20; pf=96837C9C5956493E07D664826C37E1FF; uid=1556111; Version=PointPackage"
SERVER="im"
action
### RACING
COOKIE="Cookie: fpts=25; pf=8FEDD04E5169B1FB094462392BC7F321; uid=3928906; Version=PointPackage"
SERVER="rl"
action
### VAMPIRES
COOKIE="Cookie: fpts=15; pf=D79A0F73BE30E340777FE9E50FC06E4D; uid=2330131; Version=PointPackage"
SERVER="vl"
action
### WORLDWAR
COOKIE="Cookie: fpts=15; pf=7119A6BC5606F29EC9B3A95D313CE243; uid=2806138; Version=PointPackage"
SERVER="wwar"
action
### ROCKSTARS
COOKIE="Cookie: fpts=60; pf=E63F2CB07347FD9A49CB9C07C7B5D084; uid=1922200; Version=PointPackage"
SERVER="rol"
action
### ZOMBIES
COOKIE="Cookie: fpts=20; pf=F2878FBB5DDF2663290A9B5ED0D5B89F; uid=2330748; Version=PointPackage"
SERVER="zl"
action
### NINJAS
COOKIE="Cookie: pf=DCD0CFAE748BD5BDFFF5FD94B758B4FA; uid=510905; Version=Paid"
SERVER="nl"
action