Загрузка данных


@echo off
powershell -Command "$file = '.\GeometryDash.exe'; $newUrl = 'http://muchogdps.space'; $fileBytes = [System.IO.File]::ReadAllBytes($file); $oldUrl = [System.Text.Encoding]::ASCII.GetBytes('http://www.boomlings.com/database'); for ($i = 0; $i -lt ($fileBytes.Length - $oldUrl.Length); $i++) { $match = $true; for ($j = 0; $j -lt $oldUrl.Length; $j++) { if ($fileBytes[$i+$j] -ne $oldUrl[$j]) { $match = $false; break } }; if ($match) { for ($k = 0; $k -lt $newUrl.Length; $k++) { $fileBytes[$i+$k] = [byte][char]$newUrl[$k] }; for ($k = $newUrl.Length; $k -lt $oldUrl.Length; $k++) { $fileBytes[$i+$k] = 0 }; write-host 'Found and patched at offset ' $i } }; [System.IO.File]::WriteAllBytes('.\GeometryDash_Mucho.exe', $fileBytes); Write-Host 'Done! Created GeometryDash_Mucho.exe'; Read-Host 'Press Enter to exit'"