All you need to have is a way2sms account
way2sms.sh
------------------------------------
#!/bin/bash
phone=$1
msg=$2
wget --keep-session-cookies --save-cookies /tmp/cookies.txt --post-data "username=9964000000&password=password&Submit=Sign+in" "http://site5.way2sms.com/auth.cl"
wget -d --load-cookies /tmp/cookies.txt --post-data "custid=undefined&HiddenAction=instantsms&Action=gstahsbdf5346g&login=&pass=&MobNo=$phone&textArea=$msg" "http://site5.way2sms.com/FirstServletsms?custid="
wget -d --load-cookies /tmp/cookies.txt "http://site5.way2sms.com/jsp/logout.jsp"
rm FirstServletsms?custid=*
rm logout.jsp*
rm /tmp/cookies.txt
rm Main.jsp?id=*
rm auth.cl*
No comments:
Post a Comment