...
Code Block |
---|
{ "errorId": 0, "solution": { "payload": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "status": "ready" } |
428 StatusCode
If after the above steps, a 428 status code response is received when sending a request to the target url, it indicates that the Sec-CPT mechanism has been triggered. You need to follow these steps:
Obtain the
chlg_duration
parameter from the response body for subsequent operations.Once again, retrieve
sensor_data
according to previous steps with the newdomain
parameter as the originaldomain + "/_sec/cp_challenge/ak-challenge-3-6.htm"
(the version number in the path should be changed to the correct version used by the website), then submit.Sleep for a duration of time based on the
chlg_duration
parameter obtained earlier.Retrieve sensor data once again and submit.
If successful in the end, you will receive
sec-cpt
cookie from the response. Then you can make another request to access the target interface.