|
You last visited: Today at 14:24
Advertisement
CO2_CORE_DLL (C# Library)
Discussion on CO2_CORE_DLL (C# Library) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/18/2014, 16:19
|
#31
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
|
Quote:
Originally Posted by -impulse-
After some testing I found the issue.
Beside the 72 key size (TQ's hack), the issue is related to the reuse of the class.
Code:
private unsafe static void TestCrypto()
{
Blowfish bf = new Blowfish();
byte[] key = Encoding.ASCII.GetBytes("Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!Hello world!");
bf.GenerateKey(key);
byte[] data = Encoding.ASCII.GetBytes("The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.");
fixed (byte* ptr = data)
bf.Encrypt(ptr, data.Length);
bf = new Blowfish(); //null this line and it will not decrypt correctly
bf.GenerateKey(key);
fixed (byte* ptr = data)
bf.Decrypt(ptr, data.Length);
Console.WriteLine(Encoding.ASCII.GetString(data));
}
If you use GenerateKey twice, the second time it will not work correctly.
|
You must reset the IVs I think, and check if in the generateKey method, the counters are resetted.
|
|
|
07/07/2014, 14:19
|
#32
|
elite*gold: 0
Join Date: Feb 2014
Posts: 1
Received Thanks: 0
|
Hi ! Thanks for the Release!
i've you done the reverse of String2Id function for the WDF format ? (Id2String)
|
|
|
07/08/2014, 18:22
|
#33
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
|
Quote:
Originally Posted by ShyroFR
Hi ! Thanks for the Release!
i've you done the reverse of String2Id function for the WDF format ? (Id2String)
|
It's impossible. It's a hash algorithm, so it's one way only.
|
|
|
|
|
Similar Threads
|
Release Library
06/04/2013 - Maestia - 6 Replies
Here are all the working Releases and Tutorials.
Speed Hack:
This will increase your movement speed
http://www.elitepvpers.com/forum/maestia/1288146- release-maestia-speed-hack-v-1-x86-64-a.html
Hackshieldkiller, Bot,...:
The bot will level automatically.
The Hackshieldbypass will bypass the Hackshield, so you wont get kicked.
|
MSDN Library
01/17/2011 - Flyff Private Server - 4 Replies
Also gut, da ich die Src nicht mehr compiled bekomme, warum auch immer wollt ich fragen ob es wichtig ist das die MSDN Library mitinstalliert worden ist, da ich es bei meiner jetztigen Version nicht hinbekomme diese zu installieren.
Permanent kommt die Meldung, Insert Disc 1 ^^
Darum wollt ich fragen ob die Library wichtig sei, und wenn ja ob man diese auch manuell installieren kann.
Mfg
|
[How to] ADD Library to C++ 2010
11/20/2010 - WarRock - 3 Replies
I am Sorry for Spam :( ...
__
QUESTION: How to ADD Library(Direction) Direct Summer 2004 to Visual C++ 2010 ?
Please :(
|
Library Files ?
08/06/2008 - Silkroad Online - 2 Replies
Hi,
I bought me a new pc and I want to install agbot but the link to the library files on rev6 is dead ?
Does anybody have a other link ? I couldn't find it :(
thx
|
.NET 2.0/c# - CO2 Proxy Library
08/12/2006 - CO2 Exploits, Hacks & Tools - 29 Replies
Hi,
As I spent a good days work writing this, and I got a lot of help from reading through posts from this forum to get it going I feel I should contribute something back! Maybe some of you could help me expand this code by sharing some your knowledge of the structure of the packets. I will cover the following in this post:
1) What this code does, and how to use it
2) What I know about different packets types (and what I'm assuming, I may be wrong!)
3) What I want to know!
If anyone...
|
All times are GMT +2. The time now is 14:24.
|
|