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
|
## SMS.ac provider file - www.sms.ac ##
# Version 1.00
# by ElectroN
# Error codes :
# 1 -> Unable to establish login (cookies rejected)
# 2 -> SMS ID and Password do not match
# 3 -> Your daily messaging limit has been reached
# 4 -> Unknown Result
NbParams 4
%Login Convert : Your ID from SMS.ac
%Password Hidden : Your password
%Tel Convert : International gsm number of recipient (For example 41 for Switzerland, so for a sms to the swiss 0791112233 gsm : 41791112233)
%Message Size=150 Convert : Your message
SetCookie 1 www.sms.ac-/-cookieteste=existscookie
# Logging on sms.ac
PostURL http://www.sms.ac/login.asp
#Referer http://www.sms.ac
PostData loginuserid=\%Login%&loginpassword=\%Password%&CheckRemember=&login=Sign In
Search unable to establish login
ErrorMsg 1 Unable to establish login (cookies rejected)
Search SMS ID and Password do not match
ErrorMsg 2 SMS ID and Password do not match
GO
# Getting message form
GetURL http://www.sms.ac/d3fault.asp
GO
# Sending message
PostURL http://www.sms.ac/default2.asp
Referer http://www.sms.ac/d3fault.asp
PostData mobilenumber=\%Tel%&message=\%Message%&sizebox=0&SendSMS=Send SMS
# Getting result from ShowMsgResults.asp
Search has been sent to the person
PrintMsg Your SMS Message has been sent
ElseSearch messaging limit has been reached
ErrorMsg 3 Your daily messaging limit has been reached
Else
ErrorMsg 4 Unknown Result
GO
|