This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SMS text via DWR-921 4G LTE Router
#5
(15.10.2015, 07:28)admin Wrote: Have you tried sending these requests from your browser or from LM?


First off all i figure out that it needs a third post in order to send the sms (GET http://192.168.16.1/sms2.htm?Ncmd=2
I have tested it from several browsers and from LM and it works just for the first time.
I think it has to do with cookies... 

On my http sniffer i get some changes everytime i login on routers web interface. The header has a definition "cookies" (AMSESSIONID) that changes in every session.
Now I think i need a way to grab that AMSESSIONID and use it on further requests.



Code:
Accept: */*
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,el;q=0.6
Cookie: ID=AMIT0000; AMSESSIONID=7737225
DNT: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36



Code:
Accept: */*
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,el;q=0.6
Cookie: ID=AMIT0000; AMSESSIONID=8449948
DNT: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Reply


Messages In This Thread
RE: SMS text via DWR-921 4G LTE Router - by gtsamis - 16.10.2015, 08:33

Forum Jump: