Hi,
I am not very good at perl and I´m trying to learn some triks that I expect I can use to bot some other games.
from what I saw at Xkoreproxy.pm the Xkore mode in fact estabilish a proxy where you can filter all the packets coming and going. A classic "man in the middle" attack.
What I dodn´t catch is how it is done since when you start kore the client is already on, and the connection between the client and the server is already done....
another doubt is that opening a socket on the local machine can intercept incoming connection from the server, but how did u intercept the outgoing connections?
Thanks for any help
Regards
Fedarkyn
Trying to understand some code - intercepting packets
Moderator: Moderators
Re: Trying to understand some code - intercepting packets
If you want to packet sniff, just use Wireshark or WPE. Hooking into the client isn't required to bot in ANY game.
cs : ee : realist
Re: Trying to understand some code - intercepting packets
sniffing is the initial part of the project. It is necessary to understand and map the protocol used between the client and the server.
This "proxy" used by openkore and that I would like to do in my bot also, would enable to bot while using the client and seeing what am I doing.
listening in a port can intercept the incoming connections, but I haven´t figured out how openkore intercept the outgoing connections (from RO´s client to the server).
This "proxy" used by openkore and that I would like to do in my bot also, would enable to bot while using the client and seeing what am I doing.
listening in a port can intercept the incoming connections, but I haven´t figured out how openkore intercept the outgoing connections (from RO´s client to the server).
Re: Trying to understand some code - intercepting packets
Simple. The RO client isn't connected to the server - it's connected to openkore.
Whatever RO client sends is sent to openkore, which is relayed by openkore to the server. It is, as you've said, a classic man in the middle - no direct contact between the two ends.
Whatever RO client sends is sent to openkore, which is relayed by openkore to the server. It is, as you've said, a classic man in the middle - no direct contact between the two ends.
Got your topic trashed by a mod?
Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.
Have a nice day.
Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.
Have a nice day.
Re: Trying to understand some code - intercepting packets
But how it is done since the RO client is unmodified? How can I trick a program to think that he is connecting a remote location but instead he is connecting a local invisible proxy?
Re: Trying to understand some code - intercepting packets
Just change the address it connects to?
cs : ee : realist
Re: Trying to understand some code - intercepting packets
where is it done in the code?
Re: Trying to understand some code - intercepting packets
Nowhere. You just change the (s)clientinfo.xml.
cs : ee : realist