• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ RSA Encryption

Snavy

Bakasta
Senator
Joined
Apr 1, 2012
Messages
1,249
Solutions
71
Reaction score
621
Location
Hell
I am trying to create a script but I have to understand how RSA works; Pub. & Priv. Keys.

main quesiton: How can you send an encrypted msg to client using Python ?

What happens when the encrypted msg is sent to the client?
What does it look like?
How does the server receive the msg?
What happens when it is received?
 
Not sure if it's posible, if you have a link with the server to get the "encryption keys" I guess it might be posible.
The client decrypts it and handles it pretty much like TFS, runs the header and sees if it's a valid header, if it is then it sends it to the parser function.
forgottenserver/protocolgame.cpp at master · otland/forgottenserver · GitHub

If you wanna know more how the client handles things you can check here; GitHub - comedinha/Flash-News: Check Tibia Flash Changes
Or decompile the Tibia.swf file yourself.
 
Back
Top