MasonRO

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
chrislong93
Human
Human
Posts: 46
Joined: 27 Mar 2014, 16:20
Noob?: No

Re: MasonRO

#11 Post by chrislong93 »

Thanks for the check. Is there a way or a keyword about this that I can research more about it in openkore forum ? I want to know more how to bypass this protection
Thank you.

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: MasonRO

#12 Post by 4epT »

may be this
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

chrislong93
Human
Human
Posts: 46
Joined: 27 Mar 2014, 16:20
Noob?: No

Re: MasonRO

#13 Post by chrislong93 »

Although this RO uses 2013-08-14 client but Im guessing the cryptKey stays the same as BasicRO in the topic you mentioned, as it uses the same serverType. Tried to use cryptKey and it didnt work.

Not sure if I have to generate the cryptKeys thru WPE myself or not, if yes please show me how :(

And I messed up with this block in src/network/send/kro/serverType. Do these blocks matter? Or just clientHash in server.txt is enough.... :( Thank you

Code: Select all

sub version {
return $masterServer->{version} || 1;
}

sub sendClientMD5Hash {
my ($self) = @_;
my $msg = pack('v H32', 0x0204, $masterServer->{clientHash});
$self->sendToServer($msg);
}
# 0x02b0,85
sub sendMasterLogin {
my ($self, $username, $password, $master_version, $version) = @_;
# Little Hack by 'Technology'
$self->sendClientMD5Hash() if ($masterServer->{clientHash} != '');
my $key = pack('C24', (6, 169, 33, 64, 54, 184, 161, 91, 81, 46, 3, 213, 52, 18, 0, 6, 61, 175, 186, 66, 157, 158, 180, 48));
my $chain = pack('C24', (61, 175, 186, 66, 157, 158, 180, 48, 180, 34, 218, 128, 44, 159, 172, 65, 1, 2, 4, 8, 16, 32, 128));
my $in = pack('a24', $password);
my $rijndael = Utils::Rijndael->new();
$rijndael->MakeKey($key, $chain, 24, 24);
$password = $rijndael->Encrypt($in, undef, 24, 0);
# To get out local IP of our connection we need: $self->{net}->{remote_socket}->sockhost();
my $ip = "3139322e3136382e322e3400685f4c40";
# To get the MAC we need to use Net::ARPing or Net::Address::Ethernet or even Net::Ifconfig::Wrapper, that are not bundeled in Win Distro.
my $mac = "31313131313131313131313100"; # May-be Get it from Network Connection?
my $isGravityID = 0;
my $msg = pack('v V a24 a24 C H32 H26 C', 0x02B0, version(), $username, $password, $master_version, $ip, $mac, $isGravityID);
$sself->sendToServer($msg);
}

picture: https://www.dropbox.com/s/syathflicw99f3n/error%202.jpg

User avatar
SkylorD
Moderators
Moderators
Posts: 1166
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: MasonRO

#14 Post by SkylorD »

Change the order of the keys. Try this :

Code: Select all

$self->cryptKeys(1031830912, 2116296160, 1585468800);
Learn rules

Locked