File: banana.sms

package info (click to toggle)
smssend 2.9-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,104 kB
  • ctags: 367
  • sloc: sh: 7,792; ansic: 5,538; perl: 96; makefile: 70
file content (61 lines) | stat: -rw-r--r-- 1,527 bytes parent folder | download
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
## SkyLotto provider file ##
# Version 1.01
# Error codes :
#  1 -> Bad Login/Password
#  2 -> Error sending grid
#  3 -> Already played today

NbParams 9
%Login : Your login from www.bananalotto.fr
%Password Hidden : Your password
%Num1 : First number (WARNING, if number is less than 10, use 05 instead of 5)
%Num2 : Second number
%Num3 : Third number
%Num4 : Fourth number
%Num5 : Fifth number
%Num6 : Sixth number
%Num7 : Seventh number

$Num1 listes_jeux
$Num2 chaine_jeu
$Num3 bananalotto
$Num4 compteur_numero
$Num5 compteur

# Logging on bananalotto
GetURL http://www.bananalotto.fr/default_home1.asp
GO
PostURL http://www.bananalotto.fr/login/default.asp
PostData login=\%Login%&password=\%Password%&\%RTGetForm-1-0%
Search de connexion incorrects
ErrorMsg 1 Bad login and/or password
ElseSearch "/default_home5.asp"
ErrorMsg 2 Already played today
GO

# Getting grid map
PostURL \%RTFormAction-2-0%
PostData \%RTGetForm-2-0%
GO
PostURL \%RTFormAction-3-0%
PostData \%RTGetForm-3-0%
GO

# Sending grid
PostURL \%RTFormAction-4-0%
Referer \%RTURL-4%
PostData listes_jeux=\%Num1%%3B\%Num2%%3B\%Num3%%3B\%Num4%%3B\%Num5%%3B\%Num6%%3B\%Num7%%3B&chaine_jeu=\%Num1%%3B\%Num2%%3B\%Num3%%3B\%Num4%%3B\%Num5%%3B\%Num6%%3B&bananalotto=\%Num7%%3B&compteur_numero=6&compteur=7&\%RTGetForm-4-0%
GO

# Validing grid
PostURL \%RTFormAction-5-0%
PostData \%RTGetForm-5-0%
GO
PostURL \%RTFormAction-6-0%
Sleep 10
PostData \%RTGetForm-6-0%
Search action="/default.asp"
PrintMsg Successfully played
Else
ErrorMsg 2 Error sending grid
GO