Page 1 of 1

idRO Gravindo - Chaos, My Script And Development (on going)

Posted: 08 Mar 2017, 07:43
by xxstreme
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

Re: idRO Gravindo - Chaos, My Script And Development (on going)

Posted: 08 Mar 2017, 23:50
by vilde
hi i have and error

Global symbol "$secureLoginKey" requires explicit package name at
src/Network/Receive/idRO.pm line 65.
Compilation failed in require at (eval 292) line 1.
BEGIN failed--compilation aborted at (eval 292) line 1.

at line 65
$secureLoginKey = pack('H*',$decKey);

Re: idRO Gravindo - Chaos, My Script And Development (on going)

Posted: 09 Mar 2017, 00:15
by mooqy
vilde wrote:hi i have and error

Global symbol "$secureLoginKey" requires explicit package name at
src/Network/Receive/idRO.pm line 65.
Compilation failed in require at (eval 292) line 1.
BEGIN failed--compilation aborted at (eval 292) line 1.

at line 65
$secureLoginKey = pack('H*',$decKey);
same error...

Re: idRO Gravindo - Chaos, My Script And Development (on going)

Posted: 16 Mar 2017, 12:41
by common123
open a local proxy... which from 127.0.0.1:1000 to 127.0.0.1:1200 named " xxxx.exe" etc

and use proxifier to make game throuh 127.0.0.1:1000 ,so we can use wpe to capture xxxx.exe

and game will close when wpe is running

and need second compute

game in A compute connect to B computer(proxy) and we use wpe in B computer etc...

or use a local proxy,it will show any packets in its black windows...make a own local port redirect program