filmov
tv
Using Conditional LUA

Показать описание
Today we are taking a look at a past lesson Bypassing The Anti-Hack, where we placed a breakpoint to change the EIP/RIP registry to fool the memory check having the bytes look the same to it, while the game jumps to our cheat. Instead putting a lua script in each one, now we learn to use Conditional LUA in just one script with slight modifications to our regular AA cheat scripts. Here I show you how.
=========================================================================================================
--Conditional Lua Template
[ENABLE]
{$lua}
function debugger_onBreakpoint()
if (RIP == getAddress("Name of AOB")) then RIP=getAddress("Allocated Memory Name") debug_continueFromBreakpoint(co_run) return 1
elseif (RIP == getAddress("Name of AOB2")) then RIP=getAddress("Allocated Memory Name2") debug_continueFromBreakpoint(co_run) return 1
else debug_continueFromBreakpoint(co_run) return 0 end
end
function SetBreakPointNow(AddressofAOB)
debugProcess(2)
debug_setBreakpoint(AddressofAOB)
end
function RemoveBreakPointNow(AddressofAOB)
debug_removeBreakpoint(AddressofAOB)
end
{$asm}
[DISABLE]
----In regular script
make sure to take out the jmp to allocated memory and nops so it wont change the opcode bytes
return:
LuaCall(SetBreakPointNow("Name of AOB"))
[DISABLE]
LuaCall(RemoveBreakPointNow("Name of AOB"))
================================================
Thank you to the CTG Partners:
GuidedHacking.Com
Seneeki
Alessandro Leitao
Mattia Leoni
Xiongyu Zhu
Richard Tester
Kenneth MC
Skoolzout1
=================================================
Chris Fayte @ Cheat The Game
CTG Members GameModder and Gamplayers Ytube Channels:
=========================================================================================================
--Conditional Lua Template
[ENABLE]
{$lua}
function debugger_onBreakpoint()
if (RIP == getAddress("Name of AOB")) then RIP=getAddress("Allocated Memory Name") debug_continueFromBreakpoint(co_run) return 1
elseif (RIP == getAddress("Name of AOB2")) then RIP=getAddress("Allocated Memory Name2") debug_continueFromBreakpoint(co_run) return 1
else debug_continueFromBreakpoint(co_run) return 0 end
end
function SetBreakPointNow(AddressofAOB)
debugProcess(2)
debug_setBreakpoint(AddressofAOB)
end
function RemoveBreakPointNow(AddressofAOB)
debug_removeBreakpoint(AddressofAOB)
end
{$asm}
[DISABLE]
----In regular script
make sure to take out the jmp to allocated memory and nops so it wont change the opcode bytes
return:
LuaCall(SetBreakPointNow("Name of AOB"))
[DISABLE]
LuaCall(RemoveBreakPointNow("Name of AOB"))
================================================
Thank you to the CTG Partners:
GuidedHacking.Com
Seneeki
Alessandro Leitao
Mattia Leoni
Xiongyu Zhu
Richard Tester
Kenneth MC
Skoolzout1
=================================================
Chris Fayte @ Cheat The Game
CTG Members GameModder and Gamplayers Ytube Channels:
Комментарии