Skip to content

Instantly share code, notes, and snippets.

@m3vond
m3vond / bypass.ps1
Created February 8, 2025 16:43
cheat-engine-bypass
Clear-Host
$executable = "cheatengine-x86_64.exe"
function Get-RandomString([int]$Length = 16) {
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
$rng = New-Object System.Security.Cryptography.RNGCryptoServiceProvider
$bytes = New-Object byte[] $Length
$rng.GetBytes($bytes)
$result = -join ($bytes | % {$chars[$_ % $chars.Length]})
$rng.Dispose()