Register for your free account! | Forgot your password?

You last visited: Today at 17:07

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

Advertisement



New Authentication.cs

Discussion on New Authentication.cs within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 29
Received Thanks: 4
New Authentication.cs

New Authentication.cs


using System;
using System.IO;
using System.Text;

namespace Conquer_Online_Server.Network.AuthPackets
{
public class Authentication : Interfaces.IPacket
{
public string Username;
public string Password;
public string Server;
public void Deserialize(byte[] buffer)
{
if (buffer.Length == 240)// 5605
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);

ushort length = BR.ReadUInt16();
if (length == 240)// 5605
{
ushort type = BR.ReadUInt16();
if (type == 1124)// 5605
{
Username = Encoding.ASCII.GetString(BR.ReadBytes(16));
Username = Username.Replace("\0", "");
BR.ReadBytes(112);
Password = Encoding.ASCII.GetString(BR.ReadBytes(16));
BR.ReadBytes(112);
Server = Encoding.ASCII.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
}
}
BR.Close();
MS.Close();
}
}

public byte[] ToArray()
{
throw new NotImplementedException();
}
public void Send(Client.GameState client)
{
throw new NotImplementedException();
}
}
}



Program.cs


static void AuthServer_AnnounceReceive(byte[] arg1, Interfaces.ISocketWrapper arg2)
{
if (arg1.Length == 276)


change -> if (arg1.Length == 276) to -> if (arg1.Length == 240)


now just need to find the new Conquer Password Cryptpographer
Adventure-MMO is offline  
Old 05/26/2012, 02:45   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
wait... doesn't this just handle some packet id/size changes?

How is this useful in any way? People still need the dhkeyexchange (fairly public now but w/e) and the password cryptography or a hook to overwrite the new crypt.

If anyone can figure out (or even implement) the other required pieces of the puzzle, I'd sure hope they'd be able to change a few conditionals around <_<

Not a flame... just not sure what the point of this thread is <_<
pro4never is offline  
Old 05/26/2012, 09:33   #3
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by pro4never View Post
wait... doesn't this just handle some packet id/size changes?

How is this useful in any way? People still need the dhkeyexchange (fairly public now but w/e) and the password cryptography or a hook to overwrite the new crypt.

If anyone can figure out (or even implement) the other required pieces of the puzzle, I'd sure hope they'd be able to change a few conditionals around <_<

Not a flame... just not sure what the point of this thread is <_<
There is no point. He's been spamming me about this on every social medium begging me to update his source to the current patch. This thread has no meaning. It's him asking for help.
Spirited is offline  
Old 05/26/2012, 11:13   #4
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
useless in my opinion !
Sp!!ke is offline  
Closed Thread


Similar Threads Similar Threads
Authentication Sequence
05/18/2012 - CO2 Programming - 8 Replies
Hey epvpers, i just wanted to know what the latest auth sequence was in terms of packet ids, just so i can check if what ive done is correct or not. Thank You.
WoW Cataclysm Authentication Key zum VK
03/16/2011 - World of Warcraft Trading - 0 Replies
Ich vk meinen WoW Authentication Key, natürlich UNBENUTZT und ORIGINAL. Ich nehme PSC(PaySafeCrad) gebote an 20€(Verhandlungsbasis). Einfach eine Private Nachricht schicken oder in Skype adden unter: cruzerfelix Wenn weiter fragen auftauchen einfach schreiben. mfg. N3Xxt
VPC Authentication Error
01/15/2011 - Metin2 Private Server - 3 Replies
Hey com, ich folgendes Problem, als ich kurz vpc minimiert hatte und später wieder öffnete, sah ich auf einmal voller Überraschung das hier: http://www.fotos-hochladen.net/uploads/unbenanntx 4cgw57p.png woraufhin ich dann 2x reboot hatte und danach anschließend fsck ausführte, sofort nächstes Problem -> er beantwortet mir alles automatisch mit "no". wtf?!
[Q] Authentication
06/23/2009 - Kal Online - 3 Replies
I heard is it possible to to jump behind the authentication of your account so blocked accounts work again, is it true? and how is it possible?
Authentication Key
03/15/2008 - WoW PServer Exploits, Hacks & Tools - 8 Replies
can some1 post valid Authentication Key for wow so i can create acc on blizz server...



All times are GMT +1. The time now is 17:07.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.