Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 01:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Packet Bot Developing

Discussion on Packet Bot Developing within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2013
Posts: 12
Received Thanks: 1
Packet Bot Developing

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
parkemia is offline  
Old 12/08/2015, 05:36   #2
 
Viceroy-'s Avatar
 
elite*gold: 36
Join Date: Oct 2015
Posts: 927
Received Thanks: 207
So you are programming in C++ right? You could see the UDOBot source, may will help you.
Viceroy- is offline  
Old 12/08/2015, 05:48   #3
 
raposik's Avatar
 
elite*gold: 0
Join Date: Nov 2013
Posts: 59
Received Thanks: 46
What if the token is generated, if it can parse. )))
raposik is offline  
Old 12/08/2015, 05:49   #4
 
elite*gold: 0
Join Date: May 2013
Posts: 12
Received Thanks: 1
Quote:
Originally Posted by KaloianBG View Post
So you are programming in C++ right? You could see the UDOBot source, may will help you.
Hm it seems they actually do it differently they decide to connect to an already created connection. So they never even go through with what i am doing. I mean it has the downside of you having to log in through website before using bot or i mean you could even have the bot check that if you wanted its not that hard to create an extra webbrowser control to read off some html. Well thanks man i have not ever heard of this bot. But **** it has a lot of code.

Quote:
Originally Posted by raposik View Post
What if the token is generated, if it can parse. )))
I don't think you can parse the SAS token. But i may be wrong.
parkemia is offline  
Old 12/08/2015, 07:13   #5


 
Requi's Avatar
 
elite*gold: 3800
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,039
Received Thanks: 8,243
First get the basics of coding and web development. Then try to create a "packet bot".
Requi is offline  
Thanks
2 Users
Old 12/08/2015, 09:14   #6
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,716
Received Thanks: 2,380
Darkorbit has 2 encryption systems and 1 custom. Theres a key exchange but not this way
cryz35 is offline  
Thanks
1 User
Old 12/08/2015, 11:39   #7
 
Viceroy-'s Avatar
 
elite*gold: 36
Join Date: Oct 2015
Posts: 927
Received Thanks: 207
Quote:
Originally Posted by parkemia View Post
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
Said shortly if you want to make a packet bot in each new Darkorbit build you have to decrypt/deobfuscate their damned main.swf and then to change the packets because in each new version they are changing the packets... Or if you figure out something which is doing this process automatically, that will be big hit.
Viceroy- is offline  
Old 12/08/2015, 11:43   #8
 
Red_John's Avatar
 
elite*gold: 55
Join Date: Oct 2012
Posts: 1,630
Received Thanks: 234
I thought they are just exchanging the packet IDs?
Red_John is offline  
Old 12/08/2015, 13:13   #9
 
Sήøwy's Avatar
 
elite*gold: 1
Join Date: Aug 2010
Posts: 1,329
Received Thanks: 1,723
Quote:
Originally Posted by Red_John View Post
I thought they are just exchanging the packet IDs?
Lately they are dooing more then that, changing the params order of packets and more.
Sήøwy is offline  
Old 12/08/2015, 13:19   #10
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,716
Received Thanks: 2,380
Quote:
Originally Posted by Sήøwy View Post
Lately they are dooing more then that, changing the params order of packets and more.
and shifting integers randomly
cryz35 is offline  
Old 12/08/2015, 13:48   #11
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 662
Received Thanks: 1,154
So are you trying to make a bot for the client or for the website?
manulaiko3.0 is offline  
Thanks
1 User
Old 12/08/2015, 22:22   #12
 
elite*gold: 0
Join Date: May 2013
Posts: 12
Received Thanks: 1
Quote:
Originally Posted by manulaiko3.0 View Post
So are you trying to make a bot for the client or for the website?
Wait they have a downloadable client for DO i did not even know that where do you get it. Because i thought they were all about playing games without downloads.
parkemia is offline  
Old 12/09/2015, 01:56   #13


 
Requi's Avatar
 
elite*gold: 3800
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,039
Received Thanks: 8,243
Quote:
Originally Posted by parkemia View Post
Wait they have a downloadable client for DO i did not even know that where do you get it. Because i thought they were all about playing games without downloads.
The game ur playing is a client. A flash client.
Requi is offline  
Old 12/09/2015, 23:38   #14
 
mouradhndr's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 167
Received Thanks: 15
the main.swf is the first step but ...it "s encrypted.
mouradhndr is offline  
Old 12/10/2015, 02:32   #15
 
elite*gold: 0
Join Date: May 2013
Posts: 12
Received Thanks: 1
Quote:
Originally Posted by mouradhndr View Post
the main.swf is the first step but ...it "s encrypted.
Well i already have that and i am looking through it. Its really just looking for all the different variables i need. I am also considering making an updater program for the bot that will detect the current build of DO and if its a new build it will update the program itself so the bot will work.
parkemia is offline  
Reply




All times are GMT +2. The time now is 01:28.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.