File: iol.sms

package info (click to toggle)
smssend 3.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,232 kB
  • ctags: 114
  • sloc: sh: 11,314; ansic: 2,368; perl: 104; makefile: 58
file content (57 lines) | stat: -rw-r--r-- 1,828 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
## SkySMS provider file - www.iol.it ##
# Version 0.02
# Updated December, 7th 2001
# by Massy <mam@wol.it>
# www.delfanet.com
# Iol uses, as SMSC, Wind from Italy 
# Error codes :
#  1 -> Bad Login/Password


NbParams 5
%Message Size=140 Convert : Your message. Please don't use accents. They don't work.
%Login Convert : Your login from www.iol.it
%Password Hidden : Your password
%Pref Convert : Prefix
%Tel Convert : Italian gsm number


# Logging on Iol
GetURL http://login.iol.it:80/index.jhtml
Params srv=sms
GO


PostURL \%RTFormAction-1-0%
PostData srv=sms&url_member=&url_new_member=&login=\%Login%&_D%3Alogin=+&password=\%Password%&_D%3Apassword=+&%2Fiol%2Fuserlogin%2FLogin.login.x=13&%2Fiol%2Fuserlogin%2FLogin.login.y=5&_D%3A%2Fiol%2Fuserlogin%2FLogin.login=+
Search Password non valida
ErrorMsg 1 Bad login and/or password
GO

# Annoying stuffs
GetURL http://sms.iol.it:80/servlet/Web2Sms
Referer http://login.iol.it/index.jhtml?srv=sms
GO


# Sending message
PostURL http://sms.iol.it:80/servlet/Web2Sms 
Referer http://sms.iol.it/servlet/Web2Sms
PostData SendStep=1&Prefisso1=%2B39\%Pref%&Numero1=\%Tel%&Rubrica1=&Prefisso2=&Numero2=&Rubrica2=&Prefisso3=&Numero3=&Rubrica3=&Testo=\%Message%&Giorno=&Mese=12&Anno=2001&Ora=00&Minuto=00&Step=Sms&imgInvia.x=40&imgInvia.y=23
GO

# Confirmation Sending message
PostURL http://sms.iol.it:80/servlet/Web2Sms
#\%RTFormAction-3-0%
Referer http://sms.iol.it/servlet/Web2Sms
PostData Numero1=%2B39\%Pref%\%Tel%&Numero2=&Numero3=&Testo=www.iol.it+-+\%Message%&Deferita=0&Classe=1&Salva=0&SendStep=2&Step=Sms&imgInvia2.x=26&imgInvia2.y=15 

Search Trasmissione effettuata correttamente
PrintMsg Message successfully sent
ElseSearch Non trasmesso. Raggiunto limite
ErrorMsg 2 Your daily quota of free SMS messages has been exceeded
else
ErrorMsg 3 Error sending message
GO