Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //for signing in
- wget --save-cookies cookie.txt --keep-session-cookies --referer "http://site6.way2sms.com/content/index.html" --user-agent "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6" \
- --header= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 " \
- --header="Accept-Language: en-us,en;q=0.5 " \
- --header="Accept-Encoding: gzip,deflate " \
- --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 " \
- --header="Keep-Alive: 300 " \
- --header="Proxy-Connection: keep-alive " \
- --header="Content-Type: application/x-www-form-urlencoded " \
- --header="Content-Length: 50" \
- --post-data="username=9840281903&password=abcdef&login=Login" \
- http://site6.way2sms.com/auth.cl
- //for sending sms
- wget --load-cookies cookie.txt --referer "http://site2.way2sms.com/jsp/InstantSMS.jsp" --user-agent "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6" \
- --header= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 " \
- --header="Accept-Language: en-us,en;q=0.5 " \
- --header="Accept-Encoding: gzip,deflate " \
- --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 " \
- --header="Keep-Alive: 300 " \
- --header="Proxy-Connection: keep-alive " \
- --header="Content-Type: application/x-www-form-urlencoded " \
- --header="Content-Length: 155 " \
- --post-data="HiddenAction=instantsms&catnamedis=Birthday&Action=dsf45asvd5&chkall=on&MobNo=9840281903&textArea=bye&guid=username&gpwd=*******&yuid=username&ypwd=*******" \
- http://site2.way2sms.com/FirstServletsms
- Trimmed down version
- //for signing in
- wget --save-cookies cookie.txt --keep-session-cookies \
- --post-data="username=9840281903&password=dxtdxt432&login=Login" \
- http://site6.way2sms.com/auth.cl
- //For sending sms
- //for sending sms
- wget --load-cookies cookie.txt \
- --post-data="HiddenAction=instantsms&catnamedis=Birthday&Action=dsf45asvd5 \
- &chkall=on&MobNo=9840281903&textArea=bye&guid=username&gpwd=*******& \
- yuid=username&ypwd=*******" \
- http://site2.way2sms.com/FirstServletsms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement