Hey guys so i have been looking into tcp clients and how packets are posted and requested anyway. I recorded all traffic coming through pc with live httpheaders and logged into darkorbit. I found the post request for it however i realized that the url is SAS authenticated meaning the client has to present authentication information to the server to allow the client to be authenticated. It supposedly requires server authentication, by sending a 401 (“Unauthorized”) response to the client's initial request. This response will contain a WWW-Authenticate header providing the client with details on how to authenticate with the server. However i didn't find that when logging into DO i don't know if i just wasn't looking hard enough or wrong program was used maybe i need to use wireshark or something. Anyways i want to post this packet but don't know the ulr
request.setOpt(new curlpp:ptions::UserAgent("Mozilla/5.0"));
request.setOpt(new curlpp:ptions::AutoReferer(true));
request.setOpt(new curlpp:ptions::url("auth3.bpsecure.com/sas/authentication/bigpoint?authUser=slfsf randomly generated token adfasf");
request.setOpt(new curlpp:ptions::HeaderFunction(curlpp::types::Wri teFunctionFunctor(utilspp::BindFirst(utilspp::make _functor(&writeData),&buffer))));
request.setOpt(new curlpp:ptions::WriteFunction(curlpp::types::Writ eFunctionFunctor(utilspp::BindFirst(utilspp::make_ functor(&writeData),&buffer))));
request.setOpt(new curlpp:ptions::Referer("something i also don't know..."));
request.setOpt(new curlpp:ptions::Post(true));
request.setOpt(new curlpp:ptions::PostFields(form));
request.setOpt(new curlpp:ptions::CookieFile("something that will be recieved after loging in i think??"));
request.perform();
Anyway this is C++ VS, I had some idea that i could create a webbrowser control to navigate to site and login, and a tcplistener that would record the authentication variables that would then be used to send this packet but 1. that would make it slow and 2. i think that the authentication variables are time based so it can only be used once or for x time. All help is appreciated thanks.
Edited: Yeah by the way all of those : are not supposed to be emoji's it is actually :: options without the space