Jire / Charlatano

Proves JVM cheats are viable on native games, and demonstrates the longevity against anti-cheat signature detection systems
GNU Affero General Public License v3.0
675 stars 206 forks source link

How can I use hProcess? #493

Open trolloos opened 6 years ago

trolloos commented 6 years ago

I have been testing some methods to make the open handle less obvious and I am trying to change this function for hProcess: https://github.com/Jire/Charlatano/blob/master/src/main/kotlin/com/charlatano/game/CSGO.kt#L72

So that it can just use a Handle that I provide, I have been testing with duplicate handles for now I know it does not really do much against VAC or anything maybe it is even useless I don't know but I am just experimenting. I found out that the function does exist in Arrowhead: https://github.com/Jire/Arrowhead/blob/master/src/main/kotlin/org/jire/arrowhead/windows/Kernel32.kt#L78

But I can not get it to work, I imported the package like this: package org.jire.arrowhead.windows.*

And then I replaced this line: csgoEXE = processByName("csgo.exe" with this: csgoEXE = ReadProcessMemory(hProcess: handle

But it keeps saying Unresolved reference with the ReadProcessMemory? I have ofcourse tried changing the import package and I tried a lot of different things but it won't find the function hProcess or ReadProcessMemory for some reason? Am I forgetting something?

Also I heard that maybe you are willing to sell your usermode bypass, I am willing to donate money for this project anyway since I saved some cashing by not supporting any pay2cheats right now. Or maybe if you put a price on it I could consider buying your bypass? Anyway if anybody could point me in the right direction it would really be appreciated. Thanks.

0-x-2-2 commented 6 years ago

rofl your fucking retarded ReadProcessMemory gets the handle from processByName/openprocess

trolloos commented 6 years ago

I know that but I use something else to get a Handle so I need to change processbyName to ReadProcessMemory. But ReadProcessMemory gives me an Unresolved reference even though I included the package here: https://github.com/Jire/Arrowhead/blob/master/src/main/kotlin/org/jire/arrowhead/windows/Kernel32.kt#L78

0-x-2-2 commented 6 years ago

You pass the handle to csgoEXE you also need to call the kernel32 instance to use it

Jire commented 6 years ago

My BattleEye bypass is deeply intertwined with the new cheat's engine, "buying it" would give you something that's useless unless you have programming experience. It only works with JVM cheats like Charlatano and the upcoming CheatLife.

trolloos commented 6 years ago

I am lazy my dude <3

rootm0s commented 6 years ago

@Jire Any ETA on CheatLife release?