idRO Gravindo - Chaos, My Script And Development (on going)
Posted: 08 Mar 2017, 07:43
known secure packet handle
an example unknown packet A9 A7
add in openkore_ready\tables\idRO\recvpackets.txt (while i don't know how to use packet extractor at ragexe.exe with "themida things" in idRO)
last line A9A7 20 20 0
add in openkore_ready\src\Network\Receive\idRO.pm
'A9A7' => ['secure_login_key', 'x2 a*', [qw(secure_key)]],
add new sub openkore_ready\src\Network\Receive\idRO.pm
sub secure_login_key {
my ($self, $args) = @_;
#my $securekey = $args -> {secure_key};
#print "securekey = $securekey\n";
my $enc_salt = getHex($args -> {secure_key});
#my $enc_salt = unpack('H*',($args -> {secure_key}));
print "enc_salt = $enc_salt\n";
my @xorKey = split (" ", "4C 6E 72 5D 40 62 7E 51 44 66 7A 55 58 7A 66 49");# tabel
my $decKey ="";
my @lol = split (" ", $enc_salt);# login key
my $i = 0;
my @test;
for ($i = 0; $i < 16; $i++){
@test[$i] = unpack('H*',pack('H*',@xorKey[$i]) ^ pack('H*', @lol[$i]));
}
$decKey= join('',@test);
#print "decKey = $decKey\n";
#my $packKey = pack('H*',$decKey);
#print "decKey = $packKey\n";
$secureLoginKey = pack('H*',$decKey);
#$secureLoginKey = $args->{secure_key};
debug sprintf("Secure login key: %s\n", getHex($args->{secure_key})), 'connection';
}
the code : 4C 6E 72 5D 40 62 7E 51 44 66 7A 55 58 7A 66 49
is logic key they had use to encrypt login password
while i still dont know how to use wpe at ragexe.exe with "themida things"
i still try OLLYDBG from http://www.ollydbg.de/ you can get this software here
and i still working new project to get key from client
i hope i can get many user with desire and sharing knowledge to solve this major problem in my country
many user of openkore doesn't know anymore what is opensource. where bot is money to get and sell
an example unknown packet A9 A7
add in openkore_ready\tables\idRO\recvpackets.txt (while i don't know how to use packet extractor at ragexe.exe with "themida things" in idRO)
last line A9A7 20 20 0
add in openkore_ready\src\Network\Receive\idRO.pm
'A9A7' => ['secure_login_key', 'x2 a*', [qw(secure_key)]],
add new sub openkore_ready\src\Network\Receive\idRO.pm
sub secure_login_key {
my ($self, $args) = @_;
#my $securekey = $args -> {secure_key};
#print "securekey = $securekey\n";
my $enc_salt = getHex($args -> {secure_key});
#my $enc_salt = unpack('H*',($args -> {secure_key}));
print "enc_salt = $enc_salt\n";
my @xorKey = split (" ", "4C 6E 72 5D 40 62 7E 51 44 66 7A 55 58 7A 66 49");# tabel
my $decKey ="";
my @lol = split (" ", $enc_salt);# login key
my $i = 0;
my @test;
for ($i = 0; $i < 16; $i++){
@test[$i] = unpack('H*',pack('H*',@xorKey[$i]) ^ pack('H*', @lol[$i]));
}
$decKey= join('',@test);
#print "decKey = $decKey\n";
#my $packKey = pack('H*',$decKey);
#print "decKey = $packKey\n";
$secureLoginKey = pack('H*',$decKey);
#$secureLoginKey = $args->{secure_key};
debug sprintf("Secure login key: %s\n", getHex($args->{secure_key})), 'connection';
}
the code : 4C 6E 72 5D 40 62 7E 51 44 66 7A 55 58 7A 66 49
is logic key they had use to encrypt login password
while i still dont know how to use wpe at ragexe.exe with "themida things"
i still try OLLYDBG from http://www.ollydbg.de/ you can get this software here
and i still working new project to get key from client
i hope i can get many user with desire and sharing knowledge to solve this major problem in my country
many user of openkore doesn't know anymore what is opensource. where bot is money to get and sell