Thread: [Reconnect working] Script search for sagemcom 4
View Single Post
  #2  
Old 14.05.2021, 19:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,538
Default

Quote:

[[[HSRC]]]


[[[STEP]]]
[[[REQUEST raw="true"]]]
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
accept-language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
accept-encoding: gzip, deflate
connection: keep-alive
upgrade-insecure-requests: 1
dnt: 1
sec-gpc: 1
if-none-match: ecb0e615
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST raw="true"]]]
POST /ws HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
accept: */*
authorization: X-Sah-Login
accept-language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
accept-encoding: gzip, deflate
content-type: application/x-sah-ws-4-call+json
Origin: **External links are only visible to Support Staff****External links are only visible to Support Staff**
Connection: keep-alive
Referer: **External links are only visible to Support Staff****External links are only visible to Support Staff**
connection: keep-alive
dnt: 1
sec-gpc: 1

{"service":"sah.Device.Information","method":"createContext","parameters":{"applicationName":"web ui" ,"username":"%%%user%%%","password":"%%%pass%%%"}}
[[[/REQUEST]]]
[[[RESPONSE keys="context"]]]
"contextID":"(.*?)"
[[[/RESPONSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST raw="true" postraw="true"]]]
POST /ws HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
accept: */*
accept-language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
accept-encoding: gzip, deflate
content-type: application/x-sah-ws-4-call+json
Origin: **External links are only visible to Support Staff****External links are only visible to Support Staff**
Connection: keep-alive
Referer: **External links are only visible to Support Staff****External links are only visible to Support Staff**
authorization: X-Sah %%%context%%%
x-context: %%%context%%%
content-length: 72
connection: keep-alive
cookie: sah/contextId=%%%context%%%
dnt: 1
sec-gpc: 1

7b2273657276696365223a224e4d43222c226d6574686f64223a227265626f6f74222c22706172616d6574657273223a7b22 726561736f6e223a224755495f5265626f6f74227d7d
[[[/REQUEST]]]
[[[/STEP]]]


[[[/HSRC]]]
here you go, created via teamviewer session
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 18.05.2021 at 11:47.
Reply With Quote