hi, i download the new main.swf from darkorbit-22.level3.bpcdn.net/spacemap/main.swf , but file size is 3mb and main.swf from others emulators is around 600kb , when i try to open with sothink SWF decompiler crash.
Between this versions are 3 years. So it's much bigger.
+ the newest main.swf is xored + with encryption, so you won't be able to code a server with it
Seriusly?
If DO is working with the XORed main.swf is because is possible to make a server with a XORed swf, why wouldn't be possible to make a private server with a XORed swf?
The only problem is the packet encryption, but that's not a problem if you have an older version of the main.swf which has netty encryption...
Seriusly?
If DO is working with the XORed main.swf is because is possible to make a server with a XORed swf, why wouldn't be possible to make a private server with a XORed swf?
The only problem is the packet encryption, but that's not a problem if you have an older version of the main.swf which has netty encryption...
Yes it is possible.
But if he doesn't know the xor key it's almost impossible to crack the packet encryption so he can't make a server.
And you do not give to the pony o:
Yes it is possible.
But if he doesn't know the xor key it's almost impossible to crack the packet encryption so he can't make a server.
And you do not give to the pony o:
The xor key?
xor doesn't needs any kind of key, the main.swf is deXORed in preloader.swf, that's why BP loads preloader.swf and not main.swf directly
And why I shouldn't little horse?
Quote:
Originally Posted by Serraniel
Well. I suggesst the key have to be placed somewhere inside the swf. So it´s not secure at all if you decompile it and finally find the key.
The xor key?
xor doesn't needs any kind of key, the main.swf is deXORed in preloader.swf, that's why BP loads preloader.swf and not main.swf directly
I think the key is given in the first 3 packets
Sure it does lol. Or with what do you want to xor the for example first byte of the swf ?
first byte ^ wut here hum ? maybe the key ?
second byte ^ wut here ? second part of the key ? or do you just want to use 0 ?
And that dexor thing needs to know the key aswell.
EDIT:
If by key you mean xoring number you can find it in preloader.swf and that's not the key is the xoring byte, this would be the code to deXOR main.swf:
Code:
//Read bytes from main.swf
byte[] bytes = File.ReadAllBytes(path);
//xor first byte with 77
uint start = (uint)(bytes[0] ^ 0x43) + 1;
//xor the rest of bytes
for (int i = 0; i < bytes.Length; i++)
{
bytes[i] ^= (byte)++start;
}
//now we know that main.swf is XORed with first byte to 77 and then increasing 1 each byte
Xor takes two bytes as you know.
When you xor a for example .exe (same applies for .swf i think) you do it like this:
for(unsigned long i = 0; i < sizeOfTheExe; i++)
{
*(unsigned char*)mappedRegionOfExe+i ^= key;
}
If the key is one char (number).
The key is the thing which you xor every byte against.
Edit: Yes i mean that.
Edit 2 : I call it key when talking about xor encryption and wikipedia and all other people i know call it that aswell.
Seriusly?
If DO is working with the XORed main.swf is because is possible to make a server with a XORed swf, why wouldn't be possible to make a private server with a XORed swf?
The only problem is the packet encryption, but that's not a problem if you have an older version of the main.swf which has netty encryption...
I didn't say it's impossible, neither I said it's difficult because of the XOR.
The xor belongs to this phrase:
Quote:
when i try to open with sothink SWF decompiler crash.
It is possible to make a server, but not for him because as you can see he doesn't know anything about this stuff.
Allgemeiner Thread für Darkorbit | Main Darkorbit Thread 10/20/2011 - DarkOrbit - 108 Replies Deutsch
Um ein bißchen Ordnung in unsere Sektion zubekommen , erstelle ich dieses Thema.
Hier könnt ihr über alles Reden , was mit Darkorbit zutuhen habt , wo es nicht nötig ist , ein neues Thema für zueröffnen. (Wie z.b. solche "mini" Fragen..)
Oder auch einfach mal so nett Unterhalten und/oder diskutieren.
Da so ähnliche Threads in diversen anderen Sektionen gut funktionieren. (WolfTeam , Metin2 , KalOnline , Crossfire , Fly for Fun .. ect)