==================================================================================== # # this file has been created for the Lame patcher program available for both *nix # and Windows platforms. # You need this program for continuing the patching of your files: # # http://aluigi.org/mytoolz.htm#lpatch # # Quick step-by-step for Windows: # - launch lpatch.exe # - select this kocrashfix.lpatch file # - read the message windows and click yes # - select the file (usually executables or dlls) to patch # - read the message windows to know if everything has been patched correctly # - test your game TITLE Ebenezer kocrash overflow fix 0.1 by Luigi Auriemma e-mail: aluigi@autistici.org web: aluigi.org INTRO this is an unofficial fix for a buffer-overflow (aka kocrash or just a simple sequence of 17000 chars sent to the server) affecting the Ebenezor server for the Knight Online mmorpg. FILE ebenezer.exe BYTES_ORIGINAL 3B FB ; cmp edi, ebx 0F 84 68 01 00 00 ; je 00445C81 0F 8C 62 01 00 00 ; jl 00445C81 68 00 40 00 00 ; push 00004000 BYTES_PATCH 81 E7 FF 3F 00 00 ; and edi, 00003FFF 3B FB ; cmp edi, ebx 0F 8E 62 01 00 00 ; jle 00445C81 ====================================================================================