Cookie API
Desciption
Analysis
➜ $API="http://pwnme.org:8888/api/v1"
➜ curl "$API/init"
➜ curl -sS -D - "$API/init"
HTTP/1.1 200 OK
Set-Cookie: session_token=cm9sZT11c2VyJmlkPW9vcXI0R0VCRThWWlByZDFBbk5SMmlIbFRvMDlOU2py; Expires=Sun, 02 Jul 2023 21:16:05 GMT; Secure
Date: Sun, 02 Jul 2023 21:16:04 GMT # Request send time
Content-Length: 0➜ [System.Text.Encoding]::UTF8.GetString(
[System.Convert]::FromBase64String(
"cm9sZT11c2VyJmlkPUxVRm1hdVdvaU5USUgwUnFEUjZTb2Fsbm0wRWMzV2tD"
)
)
role=user&id=LUFmauWoiNTIH0RqDR6Soalnm0Ec3WkCSolution
Last updated