File: smsro.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 (77 lines) | stat: -rw-r--r-- 2,614 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
##SMSRO provider file - www.smsro.com ##
# Version 0.1
# 26 Jan 2003
# by FakeJack <fakejack@index.hu>
# 
# this is a modified 1rswap script done
# by Karl-Stephan Stille <k-s.stille@web.de>
#
# Script working for countries : International
# Can send 15 messages a week.
# Your mobile number (in fact the registered mobile number) is shown as Sender.
# They claim can send messages to over 400 cellular networks and 130 countries
#
# Error codes :
# -> 1 Invalid User ID
# -> 2 Password is invalid
# -> 3 User ID is not registered
# -> 4 Daily Quota Exceeded
# -> 5 Number not covered by 1rstWAP
# -> 6 Error sending message

NbParams 5
%Login : Your login from SMSRO.com
%Password Hidden : Your password
%Flash : 1 for FlashSMS, 0 for NormalSMS
%Tel : International GSM number of recipient with or without + prefix (For example 62 for Indonesia, so for a sms to the 0811223344 GSM must be 62811223344 or +62811223344)
%Message Size=160 Convert : Your message

# Logging on SMSRO.com
GetURL http://www.1rstwap.com/partners/go.to/ebony
GO

#Getting LOGIN Frame which SessID
GetURL http://www.1rstwap.com/partners/go.php
Params PHPSESSID=&pid=first&LangID=en&PHPSESSID=%RTGetString-2-PHPSESSID=%
Referer http://www.1rstwap.com/partners/go.to/ebony
GO

# Sending Login data
PostURL http://www.1rstwap.com/partners/go.php
Params PHPSESSID=%RTGetString-2-PHPSESSID=%&sestime=%RTGetString-2-sestime=%&pid=login
Referer http://www.1rstwap.com/partners/go.php?PHPSESSID=&pid=first&PHPSESSID=%RTGetString-1-PHPSESSID=%
PostData UserID=\%Login%&Passwd=\%Password%

# Search for errors
Search Invalid User ID
ErrorMsg 1 Invalid User ID
ElseSearch Password is invalid
ErrorMsg 2 Password is invalid
ElseSearch is not registered
ErrorMsg 3 User ID is not registered
Else PrintMsg Bis hier
GO

#Get the Form
PostURL http://www.1rstwap.com/partners/go.php
Params PHPSESSID=%RTGetString-2-PHPSESSID=%&sestime=%RTGetString-3-sestime=%&pid=addressbook&aid=smswindow&step=open
GO

# Sending message
PostURL http://www.1rstwap.com/partners/go.php
Params PHPSESSID=&sestime=%RTGetString-2-sestime=%&pid=addressbook&aid=smswindow&step=send
Referer http://www.1rstwap.com/partners/go.php?PHPSESSID=%RTGetString-2-PHPSESSID=%&sestime=%RTGetString-4-sestime=%&pid=login
PostData PHPSESSID=%RTGetString-2-PHPSESSID=%&hp=\%Tel%&m=\%Message%&flashsms=\%flash%&firstkar=4

# Search for errors
Search sent to Queue
PrintMsg Message successfully sent
ElseSearch Quota Exceeded
ErrorMsg 4 Your daily quota of free SMS messages has been exceeded
ElseSearch covered
ErrorMsg 5 Number not covered by SMSRO
Else
ErrorMsg 6 Error sending message
GO