File: etsity.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,629 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.sity.sk ##
# Version 0.5
# by Peter Mikula <mico@pobox.sk>
# Last updated: Mon Apr 22 19:37:15 EDT 2002
# Latest version: http://www.pobox.sk/~mico/smssend.html
#
# Changes: using regex for params matching
#          
# Message Limit: 100 messages/month
# Message Size:  480 chars
#
# Usage:
#
#   smssend ./etsity.sms login password 090xyyyyyy "message"
#

NbParams 4
%Login Convert : Your login
%Password Hidden : Your password
%Tel Convert : GSM number of recipient
%Message Size=480 Convert : Your message


GetURL http://www.sity.sk/pls/sity/home
GO

### Refresh because of cookie
GetURL http://www.sity.sk/pls/sity/u_registrate2.do_login
Referer http://www.sity.sk/pls/sity/home
GO

### Login into EurotelSity
PostURL http://www.sity.sk/pls/sity/u_registrate2.login2
Referer http://www.sity.sk/pls/sity/home
PostData NAME=\%Login%&PASSWD=\%Password%&ASERVICE=0&CMD=u_pages.SITY_LOGIN&SERVICE=0&x=51&y=11
Search onLoad="alert('Nesprvne heslo')"
ErrorMsg 1 Incorrect password
ElseSearch onLoad="alert('Takto prstupov meno neexistuje')"
ErrorMsg 2 Bad login
GO

### Sending message
PostURL http://www.sity.sk/pls/sity/!u_sms.home
GO

PostURL http://www.sity.sk/pls/sity/!u_sms.send_sms
Sleep 4
Referer http://www.sity.sk/pls/sity/!u_sms.home
PostData MSG_TEXT=\%Message%&SMSMsgLen=472&SMScount=1&\%RTRegex-4-1-1-textarea.*?name="([A-Z0-9]+)"%=\%Tel%&DETAIL=&BT.x=53&BT.y=13
Search bola odoslan na 
PrintMsg Message was successfuly sent.
ElseSearch onLoad="alert('Posielan sprvy presahuj mesan limit')"
ErrorMsg 4 SMS limit reached
Else
ErrorMsg 3 There was an error sending message
GO