Hey guys. So i made my own little proxy dll for kalonline that outputs the data sent to the send() and recv() functions to a console window. When i was done with it, i tested it out but it's only putting out data from send(). My guess would be that it's using a different function to receive data (WSArecv, recvfrom), but when i checked those functions they were never called. Anybody know something i don't?
Also, in the screenshot below, i put in a bogus username and password and expected to see them in the console's send() output, but i just get a bunch of garbage. Is the data encoded or encrypted or something?
I dont know, there might be a problem with you're script because it workis fine with me. i send & recv packets quite well. the only problem with me is that the packets are encrypted so there i cant use them for anything.
This have to be on the start of your function.
int rv = pps(socket, buff, len, flags);
e.g.
...
Thanks for your input, but i don't think moving the real function call to the beginning of my function would change anything.
I ran the engine in ollydbg with my dll loaded and set a breakpoint on every type of recv function there is for winsock2, turns out the game uses WSArecv.
Still, thanks to everyone who replied, i much appreciate it ^_^
Edit:
It works beautifully ^_^
Now to decrypt those packets...
why dont you use the ms detours lib?
makes it much easieer to detour functions.
if you want to decrypt the packets it is much easier to hook the recv function after the engine has decrypted the packets.
if you want to decrypt it by hand there is a function by bakabug who has done this a while ago.
why dont you use the ms detours lib?
makes it much easieer to detour functions.
if you want to decrypt the packets it is much easier to hook the recv function after the engine has decrypted the packets.
if you want to decrypt it by hand there is a function by bakabug who has done this a while ago.
Well, i'm still looking for the function that encrypts/decrypts packets. Not only do i need it to analyze packets, i'll need the the ability to encrypt and decrypt packets so that i can make a packet bot.
What i've done so far is follow the buffer passed to WSARecv and set a memory breakpoint on the first byte of the buffer upon access. So far, it seems that the buffer is copied into a second buffer and the decryption is done there.
Edit:
By the way, i can't seem to find this en/decryptor that people keep mentioning.
[Source] Sro Packet Analyzer Using NuConnecter [VB6] 03/22/2013 - SRO Hacks, Bots, Cheats & Exploits - 10 Replies Here i am releasing my sourcecode to my sro packet Analyzer ... this is what i use on a day to day base's to find opcodes and packets for my bot... have fun with it works well.. this has every call in it you would need to write your own packet based bot.. ....
ARENA ANALYZER 02/25/2012 - Atlantica Online - 7 Replies REQUEST ARENA ANALYZER FOR ATLANTICA ONLINE INDONESIA WORK GUYS.;)
Please give me information betting arena.:D
Network Analyzer 07/07/2010 - Coding Releases - 2 Replies Analyzes WLAN, LAN,WAN
Traffic IN / OUT going
PortScans
Trace
#UPX Packed C# EXE for scurity :)
#XOR Crypted by FlyCrypter (Public)
How i can do an acc for Query Analyzer? 05/06/2010 - Dekaron Private Server - 2 Replies At the video i can`t see how TOMIK did an account.Please do a video or write the steps what i must do.
*******************Thank you for reading************************
:handsdown::handsdown::handsdown::handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown: :handsdown:
Packet Analyzer 07/08/2006 - Conquer Online 2 - 11 Replies Wondering if theres any working packet analyzer/sender avaliable since latest patch
*edit: made it bigger so some dumbasses dont start with the "search thing".