hey guys, anyone knows how to make inf code? I've 0 understanding in programming, so couldn't figure it out, the original code for inf. health is tied to other things, so couldn't separate them
(I THINK, I'M NOT SURE) this is the address for health:
Code: Select all
[ENABLE]
aobscanmodule(health,wwz_server_dllRetailEgs.dll,80 FF 48 8B 06 48 89 03 0F B6 4E 06) // should be unique
alloc(newmem,$1000,health)
label(code)
label(return)
newmem:
code:
mov [rbx],rax
movzx ecx,byte ptr [rsi+06]
jmp return
health+05:
jmp newmem
nop 2
return:
registersymbol(health)
[DISABLE]
health+05:
db 48 89 03 0F B6 4E 06
unregistersymbol(health)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: wwz_server_dllRetailEgs.dll+E0657A
wwz_server_dllRetailEgs.dll+E06559: 49 8B F0 - mov rsi,r8
wwz_server_dllRetailEgs.dll+E0655C: E8 6F 40 01 00 - call wwz_server_dllRetailEgs.dll+E1A5D0
wwz_server_dllRetailEgs.dll+E06561: 48 98 - cdqe
wwz_server_dllRetailEgs.dll+E06563: 48 03 C7 - add rax,rdi
wwz_server_dllRetailEgs.dll+E06566: 48 8D 1C D8 - lea rbx,[rax+rbx*8]
wwz_server_dllRetailEgs.dll+E0656A: 48 3B DE - cmp rbx,rsi
wwz_server_dllRetailEgs.dll+E0656D: 74 37 - je wwz_server_dllRetailEgs.dll+E065A6
wwz_server_dllRetailEgs.dll+E0656F: 48 8B CB - mov rcx,rbx
wwz_server_dllRetailEgs.dll+E06572: E8 A9 9D 80 FF - call wwz_server_dllRetailEgs.dll+610320
wwz_server_dllRetailEgs.dll+E06577: 48 8B 06 - mov rax,[rsi]
// ---------- INJECTING HERE ----------
wwz_server_dllRetailEgs.dll+E0657A: 48 89 03 - mov [rbx],rax
// ---------- DONE INJECTING ----------
wwz_server_dllRetailEgs.dll+E0657D: 0F B6 4E 06 - movzx ecx,byte ptr [rsi+06]
wwz_server_dllRetailEgs.dll+E06581: F6 C1 F0 - test cl,-10
wwz_server_dllRetailEgs.dll+E06584: 74 20 - je wwz_server_dllRetailEgs.dll+E065A6
wwz_server_dllRetailEgs.dll+E06586: 80 F9 10 - cmp cl,10
wwz_server_dllRetailEgs.dll+E06589: 74 0A - je wwz_server_dllRetailEgs.dll+E06595
wwz_server_dllRetailEgs.dll+E0658B: 80 F9 20 - cmp cl,20
wwz_server_dllRetailEgs.dll+E0658E: 74 05 - je wwz_server_dllRetailEgs.dll+E06595
wwz_server_dllRetailEgs.dll+E06590: 80 F9 30 - cmp cl,30
wwz_server_dllRetailEgs.dll+E06593: 75 11 - jne wwz_server_dllRetailEgs.dll+E065A6
wwz_server_dllRetailEgs.dll+E06595: 48 B9 FF FF FF FF FF FF 00 FF - mov rcx,FF00FFFFFFFFFFFF
}