==================================================================================== # # 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 aa3blah.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 America's Army 3 3.0.4 NULL pointer fix 0.1 by Luigi Auriemma e-mail: aluigi@autistici.org web: aluigi.org INTRO This unofficial patch for America's Army 3 is a work-around for the security bug described here: . . http://aluigi.org/adv/aa3blah-adv.txt . If you are unsure if your server is vulnerable please use the proof-of-concept provided there. . The patch is available only for the version specified in the title, older versions will be NOT supported by me so don't ask. FILE libaa3.dll BYTES_ORIGINAL B9 01 00 00 00 ; MOV ECX,1 8D 45 EC ; LEA EAX,DWORD PTR SS:[EBP-14] 89 4C 24 08 ; MOV DWORD PTR SS:[ESP+8],ECX 8D 75 F2 ; LEA ESI,DWORD PTR SS:[EBP-E] 89 74 24 04 ; MOV DWORD PTR SS:[ESP+4],ESI 89 04 24 ; MOV DWORD PTR SS:[ESP],EAX E8 CF 27 FE FF ; CALL libaa3.acpu_decompile BYTES_PATCH 8D 45 EC ; LEA EAX,DWORD PTR SS:[EBP-14] 8D 75 F2 ; LEA ESI,DWORD PTR SS:[EBP-E] 6A 01 ; PUSH 1 56 ; PUSH ESI 50 ; PUSH EAX E8 DB 27 FE FF ; CALL libaa3.acpu_decompile 83 C4 0C ; ADD ESP,0C 33 FF ; XOR EDI,EDI 85 C0 ; TEST EAX,EAX 74 0F ; JE SHORT libaa3.630F00BD 90 90 90 ; NOPs ====================================================================================