Register for your free account! | Forgot your password?

You last visited: Today at 21:29

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


Developer's Corner

Discussion on Developer's Corner within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 04/04/2015, 00:40   #31
 
elite*gold: 0
Join Date: Mar 2015
Posts: 24
Received Thanks: 21
Quote:
Originally Posted by Xavierbot View Post
The easy way shoud be to send HTTP request.
There is probably some java's librairies who are doing it. You just have to search now
With Apache's library is easy as **** . You only need to send right headers and act like a web browser.

-Kryptic Destro



KrypticDestro is offline  
Thanks
2 Users
Old 04/05/2015, 19:24   #32
 
elite*gold: 0
Join Date: Dec 2010
Posts: 461
Received Thanks: 65
Quote:
Originally Posted by KrypticDestro View Post
With Apache's library is easy as **** . You only need to send right headers and act like a web browser.

-Kryptic Destro
Apaches library is for Java? Also, I use Dr.Java program, which is better program to use?


harman101 is offline  
Old 05/03/2015, 08:01   #33
 
elite*gold: 0
Join Date: Nov 2013
Posts: 59
Received Thanks: 19
Quote:
Originally Posted by »jD« View Post
Its trivial at best to bypass.
Eh. I'm not seeing it. I have no clue what I'm doing with the bytecode that the server sends to the client. I've poked around a tons of sites, but it's as if all references to an AVM have been nuked out of existence.

I keep reading "netty" everywhere. From what I've seen, it's a Java-native component. Do you know if there are any C# implementations? I can't find any.

With the recent client refactoring, I'm really wanting to update my private server to one of the latest builds. The versions I'd got my hands on (compared to the latest client) are all ****. My plan was to gather all the resources for several latest builds and keep hold of them until I work out the encryption... Which at this rate, is never going to happen.

More of a rant than a question, lol. Any advice would be appreciated.
ActualFate is offline  
Old 05/03/2015, 10:14   #34
 
elite*gold: 905
Join Date: Feb 2009
Posts: 1,716
Received Thanks: 2,371
Quote:
Originally Posted by ActualFate View Post
Eh. I'm not seeing it. I have no clue what I'm doing with the bytecode that the server sends to the client. I've poked around a tons of sites, but it's as if all references to an AVM have been nuked out of existence.

I keep reading "netty" everywhere. From what I've seen, it's a Java-native component. Do you know if there are any C# implementations? I can't find any.

With the recent client refactoring, I'm really wanting to update my private server to one of the latest builds. The versions I'd got my hands on (compared to the latest client) are all ****. My plan was to gather all the resources for several latest builds and keep hold of them until I work out the encryption... Which at this rate, is never going to happen.

More of a rant than a question, lol. Any advice would be appreciated.
Just implement that netty thing yourself. It's just bytearrays. Theres already some but they don't fit with your usage.


cryz35 is offline  
Old 05/03/2015, 11:29   #35
 
elite*gold: 0
Join Date: Mar 2015
Posts: 24
Received Thanks: 21
Quote:
Originally Posted by ActualFate View Post
Eh. I'm not seeing it. I have no clue what I'm doing with the bytecode that the server sends to the client. I've poked around a tons of sites, but it's as if all references to an AVM have been nuked out of existence.

I keep reading "netty" everywhere. From what I've seen, it's a Java-native component. Do you know if there are any C# implementations? I can't find any.

With the recent client refactoring, I'm really wanting to update my private server to one of the latest builds. The versions I'd got my hands on (compared to the latest client) are all ****. My plan was to gather all the resources for several latest builds and keep hold of them until I work out the encryption... Which at this rate, is never going to happen.

More of a rant than a question, lol. Any advice would be appreciated.
Netty is a way to handle bytearrays, take a look at Java's DataOutputStream/DataInputStream documentation.
The bytecode sent from server is the InjectedObfuscation that is instantiated with the AVM to encrypt the packets.

-Kryptic Destro
KrypticDestro is offline  
Old 10/30/2018, 15:55   #36

 
elite*gold: 380
Join Date: May 2012
Posts: 1,108
Received Thanks: 346
kinda sad this thread died.
here you have the newest dumped main.swf and pandorasbox.

PNTX is offline  
Thanks
6 Users
Old 10/30/2018, 23:23   #37
 
elite*gold: 0
Join Date: Mar 2015
Posts: 40
Received Thanks: 2
oneultimate server link ???
Yaso55 is offline  
Old 10/31/2018, 00:09   #38

 
elite*gold: 380
Join Date: May 2012
Posts: 1,108
Received Thanks: 346
Quote:
Originally Posted by Yaso55 View Post
oneultimate server link ???
please leave this community.
can you even read?
this has nothing to do in this thread. if you cant find it yourself then forget it.
PNTX is offline  
Old 11/03/2018, 17:45   #39
 
elite*gold: 442
Join Date: May 2012
Posts: 989
Received Thanks: 1,607
Anybody got an idea how to reverse the HandshakeRequest code you received?
F.e: you receive the HandShakeRequest, read the code it send, and than use this code to get the BigInteger that is used to injectObfuscation the second time.

TLDR;

[var _loc3_:BigInteger = class_160.const_1900.modPow(this.var_1235,class_16 0.const_1549);]
[How to get var_1235]
delemojo is offline  
Old 11/03/2018, 18:50   #40

 
elite*gold: 380
Join Date: May 2012
Posts: 1,108
Received Thanks: 346
Quote:
Originally Posted by delemojo View Post
Anybody got an idea how to reverse the HandshakeRequest code you received?
F.e: you receive the HandShakeRequest, read the code it send, and than use this code to get the BigInteger that is used to injectObfuscation the second time.

TLDR;

[var _loc3_:BigInteger = class_160.const_1900.modPow(this.var_1235,class_16 0.const_1549);]
[How to get var_1235]
you mean the code in the class with the id 15230?
(i didnt removed the confused stuff. takes to long )
because im not really sure. but if i remember correctly from what i tried is that the "code" is a bytearray which is a .as script.
PNTX is offline  
Old 11/03/2018, 19:00   #41
 
elite*gold: 442
Join Date: May 2012
Posts: 989
Received Thanks: 1,607
Quote:
Originally Posted by PNTX View Post
you mean the code in the class with the id 15230?
(i didnt removed the confused stuff. takes to long )
because im not really sure. but if i remember correctly from what i tried is that the "code" is a bytearray which is a .as script.
Nah I got everything. The Confused stuff is no problem, Im also way to lazy to get the latest main.swf and pandora cause it takes too long for my liking. But since you posted it I thought why not work with it. I basically need to reverse the given function. So math.
Im not quite sure how to reverse the modPow to get the var_1235 BigInteger. Its the last thing I need to have a working under-client bot (Well from the packet-side atleast :P)
delemojo is offline  
Old 11/03/2018, 19:03   #42

 
elite*gold: 380
Join Date: May 2012
Posts: 1,108
Received Thanks: 346
Quote:
Originally Posted by delemojo View Post
Nah I got everything. The Confused stuff is no problem, Im also way to lazy to get the latest main.swf and pandora cause it takes too long for my liking. But since you posted it I thought why not work with it. I basically need to reverse the given function. So math.
Im not quite sure how to reverse the modPow to get the var_1235 BigInteger. Its the last thing I need to have a working under-client bot (Well from the packet-side atleast :P)
you mean this?
PNTX is offline  
Old 11/03/2018, 19:09   #43
 
elite*gold: 442
Join Date: May 2012
Posts: 989
Received Thanks: 1,607
Quote:
Originally Posted by PNTX View Post
you mean this?
Code:
 private function method_2955() : void
      {
         var _loc5_:int = 0;
         var _loc6_:* = null;
         var _loc1_:String = new String();
         var _loc2_:int = 0;
         while(_loc2_ < 128)
         {
            _loc5_ = Math.random() * 256;
            _loc6_ = _loc5_.toString(16);
            if(_loc6_.length == 1)
            {
               _loc6_ = "0" + _loc6_;
            }
            _loc1_ = _loc1_ + _loc6_;
            _loc2_++;
         }
         this.var_1235 = new BigInteger(_loc1_,16);
         var _loc3_:BigInteger = class_160.const_1900.modPow(this.var_1235,class_160.const_1549);
         var _loc4_:HandshakeRequest = new HandshakeRequest();
         _loc4_.var_4381 = _loc3_.toByteArray();
         this.sendRequest(_loc4_);
      }
I receive the _loc4_.var_4381 from the game. And I need to find a way to use this var to get var_1235. (The code above it, the loop, is irrelevant to this question, its just there for the sake of understanding
delemojo is offline  
Old 11/03/2018, 21:16   #44
 
elite*gold: 0
Join Date: Aug 2015
Posts: 782
Received Thanks: 1,314
Quote:
Originally Posted by delemojo View Post
Code:
 private function method_2955() : void
      {
         var _loc5_:int = 0;
         var _loc6_:* = null;
         var _loc1_:String = new String();
         var _loc2_:int = 0;
         while(_loc2_ < 128)
         {
            _loc5_ = Math.random() * 256;
            _loc6_ = _loc5_.toString(16);
            if(_loc6_.length == 1)
            {
               _loc6_ = "0" + _loc6_;
            }
            _loc1_ = _loc1_ + _loc6_;
            _loc2_++;
         }
         this.var_1235 = new BigInteger(_loc1_,16);
         var _loc3_:BigInteger = class_160.const_1900.modPow(this.var_1235,class_160.const_1549);
         var _loc4_:HandshakeRequest = new HandshakeRequest();
         _loc4_.var_4381 = _loc3_.toByteArray();
         this.sendRequest(_loc4_);
      }
I receive the _loc4_.var_4381 from the game. And I need to find a way to use this var to get var_1235. (The code above it, the loop, is irrelevant to this question, its just there for the sake of understanding
You can't decrypt DarkOrbit packets using the MITM method. Some math functions are impossible to reverse.
Freshek is online now  
Old 11/03/2018, 23:56   #45
 
elite*gold: 442
Join Date: May 2012
Posts: 989
Received Thanks: 1,607
Quote:
Originally Posted by Freshek View Post
You can't decrypt DarkOrbit packets using the MITM method. Some math functions are impossible to reverse.
Thats what I thought, just was hoping that there was a way.


delemojo is offline  
Reply



« Oneultimate | Darkorbit bot »

Similar Threads
GFX-CorneR | The Corner for GFXer
10/03/2012 - General Art - 4 Replies
Guten Tag ePvPers Community, Mir kam gestern der Gedankenschuss ein Forum zu eröffnen, in dem es nur ums GFXen, etc. geht. Mir ist klar dass es schon einen Haufen, voll von solchen Foren gibt, jedoch wollte ich einfach mal ein Projekt, für ein solches starten. Falls ihr Lust und Interesse habt, registriert euch doch einfach mal. Da ich einfach nur eines der vorhandenen "PHPbb3" Themes genommen habe, und diese Buttons umgefärbt habe, ist das Forum u.U. noch ein wenig verbuggt, da ich aber,...
Going back to the corner, where I first saw you
12/30/2011 - RF Online - 2 Replies
Hey guys!!! Been a long time since I played RF haha.... so what are the new hacks available these days??? 2.2.3 isnt it???
2 Very important suggestion for web developer from experienced developer [English]]
11/21/2011 - General Coding - 0 Replies
I have been developing websites now over 3 years now. My biggest regret is i started developing web sites without knowing CSS & Jquery. Yes before starting development learn CSS 3 and Jquery. These are even more important than your programming skills :) And they are hard to fix once you developed without knowing them.
Geo Three Corner
06/04/2011 - Main - 1 Replies
YouTube - &#x202a;Buddy Ogün - THE GAME - Der Deal&#x202c;&rlm;



All times are GMT +1. The time now is 21:29.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.