|
You last visited: Today at 14:23
Advertisement
[Tutorial] How to extract DO client.
Discussion on [Tutorial] How to extract DO client. within the DarkOrbit forum part of the Browsergames category.
08/07/2013, 11:45
|
#1
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
[Tutorial] How to extract DO client.
»jD« way
Code:
byte[] mainswf = File.ReadAllBytes(args[0]);
uint start = (uint)(mainswf[0] ^ 0x43) - 1;
for (int i = 0; i < mainswf.Length; i++)
{
mainswf[i] ^= (byte)++start;
}
File.WriteAllBytes(args[0], mainswf);
My way (probably worse, but if BP will change something in main.swf encoding you can use this one)
|
|
|
08/07/2013, 11:47
|
#2
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
I ♥ you.
|
|
|
08/07/2013, 15:34
|
#3
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
Such a hard way to do it -.- Everyone knows the SWF is XORed with a starting byte of 0x71 and is then incremented each byte... lol
-jD
|
|
|
08/07/2013, 17:02
|
#4
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Quote:
Originally Posted by »jD«
Such a hard way to do it -.- Everyone knows the SWF is XORed with a starting byte of 0x71 and is then incremented each byte... lol
-jD
|
Probably you're right, but I don't understand exclusive disjunction(all the more that, what you've wrote) so I've just used way what I know.
|
|
|
08/07/2013, 17:04
|
#5
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
Quote:
|
Originally Posted by jD
Everyone
|
Who do you mean, with "everyone"?
|
|
|
08/07/2013, 17:22
|
#6
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
I posted that when the new encryption first came out :P
Code:
byte[] mainswf = File.ReadAllBytes(args[0]);
uint start = (uint)(mainswf[0] ^ 0x43) - 1;
for (int i = 0; i < mainswf.Length; i++)
{
mainswf[i] ^= (byte)++start;
}
File.WriteAllBytes(args[0], mainswf);
Compile and drop SWF ontop of the exe, DONE!
-jD
|
|
|
08/07/2013, 17:43
|
#7
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Quote:
Originally Posted by »jD«
I posted that when the new encryption first came out :P
Code:
byte[] mainswf = File.ReadAllBytes(args[0]);
uint start = (uint)(mainswf[0] ^ 0x43) - 1;
for (int i = 0; i < mainswf.Length; i++)
{
mainswf[i] ^= (byte)++start;
}
File.WriteAllBytes(args[0], mainswf);
Compile and drop SWF ontop of the exe, DONE!
-jD
|
Really easier. Thanks.
If you don't mind, I've added your way to first post.
|
|
|
08/08/2013, 05:25
|
#8
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
Quote:
Originally Posted by »jD«
I posted that when the new encryption first came out :P
Code:
byte[] mainswf = File.ReadAllBytes(args[0]);
uint start = (uint)(mainswf[0] ^ 0x43) - 1;
for (int i = 0; i < mainswf.Length; i++)
{
mainswf[i] ^= (byte)++start;
}
File.WriteAllBytes(args[0], mainswf);
Compile and drop SWF ontop of the exe, DONE!
-jD
|
Really nice, that you share that with us. But it doesn't do anything with it.
I have the same file at the end.
@SekhmetPOL
My decompiler crashes, if I want to open it in the decompiler.
I can decompile it. But I can't "open" it to see the source.
|
|
|
08/08/2013, 08:37
|
#9
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Quote:
Originally Posted by Requi
Really nice, that you share that with us. But it doesn't do anything with it.
I have the same file at the end.
@SekhmetPOL
My decompiler crashes, if I want to open it in the decompiler.
I can decompile it. But I can't "open" it to see the source.
|
Use JPEXS.
|
|
|
08/08/2013, 09:50
|
#10
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
JPEXS is the best  Finally someone else is using it :P
@Requi, whats wrong? It should work :P
-jD
|
|
|
08/08/2013, 09:55
|
#11
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
Well. There is nothing wrong. I think.
I compiled the .exe. Dropped the main.swf on the decrypter and at the end, I still have the same main.swf
|
|
|
08/08/2013, 09:57
|
#12
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
Are you sure its the same SWF? :P
-jD
Are you sure its the same SWF? :P
-jD
|
|
|
08/08/2013, 10:40
|
#13
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Quote:
Originally Posted by Requi
Well. There is nothing wrong. I think.
I compiled the .exe. Dropped the main.swf on the decrypter and at the end, I still have the same main.swf
|
Weight of the file will be the same, because it's still compressed.
 - decompilable 7.8.10 main.swf
|
|
|
08/08/2013, 10:45
|
#14
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
Quote:
Originally Posted by SekhmetPOL
Weight of the file will be the same, because it's still compressed.
 - decompilable 7.8.10 main.swf
|
Sothink is ****. Because of this, I couldn't decompile it.
I use now your and jD's Decompiler.
|
|
|
08/08/2013, 11:44
|
#15
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
Yup, XOR doesn't change the size, it simply changes the bytes.
-jD
|
|
|
 |
|
Similar Threads
|
tool Extract for every Client
02/10/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 2 Replies
welcome all
i want tool Extract every Client
or
anyone Extract client this file mt2ar
|
Problem with extract client
02/01/2013 - Metin2 Private Server - 2 Replies
Hi elitepvpers.
I have problem with extract some client i have found lzo key and extract files...
But when i extract some client so extract be root.
So extract all files.
But some files(.py, .msa, .msm, .txt, ...) have 0 bites.
Please help me with this problem.
Thanks
|
[REQUEST]Extract a securizated client
07/04/2012 - Metin2 Private Server - 0 Replies
Guys try to destroy this client,I can`t unpack lol
CLIENT-DOWNLOAD:Multiupload.nl - upload your files to multiple file hosting sites! :p :handsdown:
|
How to extract the root of the client
05/11/2012 - Metin2 Private Server - 0 Replies
Problem: Root file is encrypted and protected and change its name to the lege . epk\exi Now how extraction ?
|
[EXTRACT]L2 Client
02/02/2012 - Lin2 Private Server - 0 Replies
Kann geclosed werden :)
|
All times are GMT +1. The time now is 14:25.
|
|