| 15 | |
| 16 | template< typename T > |
| 17 | void SpoofAddress(PVOID address, PVOID* save, PVOID target = 0) { |
| 18 | *save = *(PVOID*)(address); //save current stuff |
| 19 | //print("\n[+] saved orig data"); |
| 20 | *(PVOID*)(address) = target; //overwrite |
| 21 | T spoof = *(T*)((ULONG64)address); |
| 22 | //print("\n[+] spoofed! -> 0x%llX (%d)", spoof, spoof); |
| 23 | } |
| 24 | |
| 25 | void HideThread() { |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected