smbmc/tests/integration/cassettes/Client_login.json

2 lines
1.4 KiB
JSON

{"http_interactions": [{"request": {"body": {"encoding": "utf-8", "string": "name=<USER>&pwd=<PASS>"}, "headers": {"User-Agent": ["python-requests/2.24.0"], "Accept-Encoding": ["gzip, deflate"], "Accept": ["*/*"], "Connection": ["keep-alive"], "Content-Length": ["29"], "Content-Type": ["application/x-www-form-urlencoded"]}, "method": "POST", "uri": "<SERVER>/cgi/login.cgi"}, "response": {"body": {"encoding": "ISO-8859-1", "string": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <META HTTP-EQUIV=\"Pragma\" CONTENT=\"no_cache\">\n <META NAME=\"ATEN International Co Ltd.\" CONTENT=\"(c) ATEN International Co Ltd. 2010\">\n <title></title>\n <script language=\"JavaScript\" type=\"text/javascript\">\n<!--\n self.location=\"../cgi/url_redirect.cgi?url_name=mainmenu\";\n-->\n </script>\n</head>\n<body>\n</body>\n</html>"}, "headers": {"Set-Cookie": ["SID=; expires=Thursday,01-Jan-1970 00:00:00 GMT; HttpOnly", "SID=vqpcndpiuloyjnlw; path=/ ; HttpOnly"], "Content-Length": ["580"], "Content-Type": ["text/html"], "Date": ["Wed, 07 Oct 2020 07:28:48 GMT"]}, "status": {"code": 200, "message": "OK"}, "url": "<SERVER>/cgi/login.cgi"}, "recorded_at": "2020-10-07T07:28:48"}], "recorded_with": "betamax/0.8.1"}