Newbie Spellweaver
- Joined
- Jul 20, 2020
- Messages
- 49
- Reaction score
- 42
zhongtiao1 If I remember correctly, the client needs to know the content of:
You must be registered to see links
On the latest client version is located at:
You must be registered to see links
I remember I couldn't enter the game if hkopatch server was down. That's why later they moved it directly on hellokittyonline
here is the full original leak's db
You must be registered to see links
it has some extra accounts / and players and im not sure but it looks like the npc server is logging into accounts to play the game, but i have found after a bit of thisYou must be registered to see links
i have found that
1. the ip is in a file named lobby_info.txt
2. lobby_info.txt is inside tables\client_table.sdb
3. the game is written in delphi and i dont know poop bout delphi
so here we go on what i found
so its doin some weird stuff to call wsock connect but i could probably make a hook but the problem is ive tried forcing the ip and its getting weird results im not sure its using the right port tho now that i think about it ill have to check that next. if i follow the structure hereYou must be registered to see links
thenYou must be registered to see linksthat should be the port
but assuming its not and that its using their default ports i just change the ip tho and this is what i see
You must be registered to see links
i change it to this
You must be registered to see links
i probably didnt need to go that overkill since the second one before last is the "edx" register and edx -16 is passed to connect which is done here
You must be registered to see links
this goes to here which calls the wsock connect i think if i made a hook i would jack the poop here its a sexy spot
You must be registered to see links
You must be registered to see links
You must be registered to see links
from what i have seen it looks like we need a sdb packer/unpacker to be made first since the put the connect info in there and the reason a hook is little hard is cause its got some weird calls thru the delphi library stuff and also when i just change the ip manually it some how corupts the poop and im zero terminating my string and its smaller than the string im replacing and ipaddr should be char[15] otherwise i have no idea why its padded with 0's so it should be fine but some how it has a problem. but im gunna test if its the port now i just noticed that poop
i really want this game working haha
i got the client to connect now the port was actually not in the place i expected it it was a bit above the area there
You must be registered to see links
doing that got this on the server
You must be registered to see links
well its connecting now then logging out after doing nothing.
so ill be working on it a bit more now dam thot i was close ha
ok im making a hook.
the hook will allow setting ip and port manually until we get a sdb packer
after looking thru the poop it looks like H;Y might be the key for the encryption and it looks like its just xor i can probably write a unpacker / decryptor /packer / encryptor for this haha
ill probably have the hook done by tonight then i can use it to start figuring out why the client doesnt continue past this point would make it easier to debug the server too since i wouldnt have to debug the client just to proc a connect but yeah i could do the port thing but im lazy and wanna do it my way lol
You must be registered to see linkssome progress for the night i got a hook goin : )
i finished the hook for ip/port writing
You must be registered to see links
the launcher is just used to inject the dll you can edit the pe to load the dll directly or use another injector you only need the dll and the ini
1. copy all 3 files to hko client folder
2. edit port / ip in the HelloPussy.ini
3. start hellopussylauncher
4. figure out how to get the client to login past this point haha thats next goal. debug server /client for whats preventing it to login.
injector VTYou must be registered to see links
dll hook VTYou must be registered to see links
took me 1 day to make all this it was pretty nasty T.T i was wrong about that key stuff i was actually seeing the pointer to a function i think its how the delphi poop is proxying the calls or w/e its doin its gross they have jmps everywhere to functions that should be called by the code i feel like its some sort of wrapper type of poop cause every call thats outside the game is passed thru a function and its doing a call based on a parameter as if some thing like
void callfunction ( void* address)
{
call address();
}
Alright, thanks. Any idea why the assert error occurred with your hko.sql?oh i got a good understanding this poop is wide open in the asm the only nasty stuff is delphi but if you open this up in ida 6.8 + its nice also im using the new x96dbg when i am used to using olly and its actually pretty crazy.
just put all the poop in my zip into your hko folder like this
You must be registered to see links
dbg=1 in the ini
You must be registered to see links
these servers dont have poop implemented lol
i think this servers are junk actually since its like some pre beta version when i was looking thru ida it was really easy to do the server changes i needed beause .... there is nothing there.... so i think this is one of those cases since we have a client and a sorta working server ..... we probably need to make a emulator.
would just need to use the servers as a example for some things and its not too bad with ida's asm -> c interpreter the delphi poop is kinda in the way but we could make a emulator using like c++ or c# fk delphi
since the servers run we can do live runtime debugging which gave me alot more info than just using ida with the binary thats how i found how i found where the functions do their jumps to the library calls
Good News! Soon you won't even need the IP Hook anymore and it will be universal across all client versions
We got past the login screen! Thanks to the help of redcrafter, we managed to make it past the login screen. However, now the rest of the server needs to be reimplemented.
For this, we need another person to continue where Redcrafter left off.
If you know of anyone with the skills to help reimplement the server, let me know and I can hook them up with more information.
What great news!! I'm looking forward to hopefully being able to play the game again!
We got past the login screen! Thanks to the help of redcrafter, we managed to make it past the login screen. However, now the rest of the server needs to be reimplemented.
For this, we need another person to continue where Redcrafter left off.
If you know of anyone with the skills to help reimplement the server, let me know and I can hook them up with more information.
I'm so glad! I hope one day we can get this working! I've been wanting to play this again for so long!We got past the login screen! Thanks to the help of redcrafter, we managed to make it past the login screen. However, now the rest of the server needs to be reimplemented. For this, we need another person to continue where Redcrafter left off. If you know of anyone with the skills to help reimplement the server, let me know and I can hook them up with more information.