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.
MasonRO
Moderators: Moderators, Documentation Writers
Re: MasonRO
may be this
-
- Human
- Posts: 46
- Joined: 27 Mar 2014, 16:20
- Noob?: No
Re: MasonRO
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
picture: https://www.dropbox.com/s/syathflicw99f3n/error%202.jpg
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
Re: MasonRO
Change the order of the keys. Try this :
Code: Select all
$self->cryptKeys(1031830912, 2116296160, 1585468800);
Learn rules