From d83a11f453b71bb102550746b9ee8a9c58734522 Mon Sep 17 00:00:00 2001 From: Hoguchi-live Date: Sat, 10 Dec 2022 15:48:42 +0100 Subject: [PATCH] Mask --- connections/http/http_connector.cpp | 2 +- connections/ws/ssl_ws.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connections/http/http_connector.cpp b/connections/http/http_connector.cpp index 222287a..a1fc8a6 100644 --- a/connections/http/http_connector.cpp +++ b/connections/http/http_connector.cpp @@ -25,7 +25,7 @@ namespace nsfq_http { /* Header definition. TODO: cookie should be handled safely? */ m_slist1 = NULL; - m_slist1 = curl_slist_append(m_slist1 , "Cookie: holosesh=s%3AxmS8xBlQk4kH_rXQOaNjHk_3OuaBDsfA.M0yi%2BZmkiq%2BAmJBRj%2FNg9S%2BaSQpsfHRJcEeYVHLiKXg"); + m_slist1 = curl_slist_append(m_slist1 , "Cookie: holosesh=s%3AxmS8xBlQk"); m_slist1 = curl_slist_append(m_slist1, "referer : https://nasfaq.biz/market"); curl_easy_setopt(m_hdl, CURLOPT_HTTPHEADER, m_slist1); } diff --git a/connections/ws/ssl_ws.cpp b/connections/ws/ssl_ws.cpp index 878d54f..d166f04 100644 --- a/connections/ws/ssl_ws.cpp +++ b/connections/ws/ssl_ws.cpp @@ -182,7 +182,7 @@ namespace ws { websocketpp::lib::error_code ec; client::connection_ptr con = m_endpoint.get_connection(uri, ec); - con->append_header("Cookie", "holosesh=s%3AxmS8xBlQk4kH_rXQOaNjHk_3OuaBDsfA.M0yi%2BZmkiq%2BAmJBRj%2FNg9S%2BaSQpsfHRJcEeYVHLiKXg"); + con->append_header("Cookie", "holosesh=s%3AxmS8xBlQk4k"); if(ec) { std::cout << ">Connect initialization error: " << ec.message() << std::endl;