[HELP] New Darkorbit main.swf

04/22/2014 19:34 cornelius21#1
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.

itīs good this file? or i did something bad ?

PD: sorry for my bad english,
04/22/2014 20:05 Requi#2
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
04/23/2014 10:01 manulaiko#3
Quote:
Originally Posted by Requi View Post
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
:facepalm:

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...
04/23/2014 10:20 th0rex#4
Quote:
Originally Posted by manulaiko View Post
:facepalm:

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 :facepalm: to the pony o:
04/23/2014 10:25 Serraniel#5
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.
04/23/2014 11:20 manulaiko#6
Quote:
Originally Posted by omitma View Post
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 :facepalm: 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 :facepalm: little horse?

Quote:
Originally Posted by Serraniel View Post
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.
I think the key is given in the first 3 packets
04/23/2014 11:21 th0rex#7
Quote:
Originally Posted by manulaiko View Post
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.

Btw now you get the :facepalm: ;)
04/23/2014 11:23 manulaiko#8
I don't understand the question

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
04/23/2014 11:26 th0rex#9
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.
04/23/2014 11:33 manulaiko#10
I've never called it key, I always call it xoring byte.

And let me continue testing my bot
04/23/2014 12:03 Requi#11
Quote:
Originally Posted by manulaiko View Post
:facepalm:

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.

Don't try to blame me with messing up my posts.
04/23/2014 12:24 Mario29#12
Like politics, everybody wrangles :D
04/23/2014 16:20 manulaiko#13
That doesn't means nothing -.-

My gf's sister has a boyfriend but she prefers to have sex with me instead of with his bf.

Maybe he thought that the main.swf was corrupted or something went wrong in the download.

Maybe he's better in programming than us.

Maybe he's Skrillex.

You just can't judge one person for one sentence :)
04/24/2014 14:02 hawk799#14
Interesting :D
04/24/2014 19:38 Destiny#15
new main :D have error no load idk why :p