Advertisement
Guest User

SMS

a guest
Jun 16th, 2011
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.08 KB | None | 0 0
  1. //for signing in
  2.  
  3. 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"  \
  4. --header= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 " \
  5. --header="Accept-Language: en-us,en;q=0.5 " \
  6. --header="Accept-Encoding: gzip,deflate " \
  7. --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 " \
  8. --header="Keep-Alive: 300 " \
  9. --header="Proxy-Connection: keep-alive " \
  10. --header="Content-Type: application/x-www-form-urlencoded " \
  11. --header="Content-Length: 50" \
  12. --post-data="username=9840281903&password=abcdef&login=Login"  \
  13. http://site6.way2sms.com/auth.cl
  14.  
  15. //for sending sms
  16. 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"  \
  17. --header= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 " \
  18. --header="Accept-Language: en-us,en;q=0.5 " \
  19. --header="Accept-Encoding: gzip,deflate " \
  20. --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 " \
  21. --header="Keep-Alive: 300 " \
  22. --header="Proxy-Connection: keep-alive " \
  23. --header="Content-Type: application/x-www-form-urlencoded " \
  24. --header="Content-Length: 155 " \
  25. --post-data="HiddenAction=instantsms&catnamedis=Birthday&Action=dsf45asvd5&chkall=on&MobNo=9840281903&textArea=bye&guid=username&gpwd=*******&yuid=username&ypwd=*******" \
  26. http://site2.way2sms.com/FirstServletsms
  27.  
  28.  
  29. Trimmed down version
  30.  
  31. //for signing in
  32.  
  33. wget  --save-cookies cookie.txt --keep-session-cookies \
  34. --post-data="username=9840281903&password=dxtdxt432&login=Login"  \
  35. http://site6.way2sms.com/auth.cl
  36.  
  37. //For sending sms
  38. //for sending sms
  39. wget --load-cookies cookie.txt \
  40. --post-data="HiddenAction=instantsms&catnamedis=Birthday&Action=dsf45asvd5 \
  41. &chkall=on&MobNo=9840281903&textArea=bye&guid=username&gpwd=*******& \
  42. yuid=username&ypwd=*******" \
  43. http://site2.way2sms.com/FirstServletsms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement