Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
HTCheater authored Sep 16, 2023
1 parent cf2453b commit a151f42
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions bypass.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
function init()
local file = io.open(gg.EXT_FILES_DIR .. '/Il2CppExplorer.lua', 'r')

if file == nil then
response = gg.makeRequest('https://github.com/HTCheater/Il2CppExplorer/releases/latest/download/Il2CppExplorer.lua')
if response.code ~= 200 then
print('Check internet connection')
os.exit()
end
file = io.open(gg.EXT_FILES_DIR .. '/Il2CppExplorer.lua', 'w')
file:write(response.content)
else
checksumResponse = gg.makeRequest('https://github.com/HTCheater/Il2CppExplorer/releases/latest/download/Il2CppExplorer.checksum')
if checksumResponse.code ~= 200 then
print('Check internet connection')
os.exit()
end
file:close()
file = io.open(gg.EXT_FILES_DIR .. '/Il2CppExplorer.lua', 'rb')
local size = file:seek('end')
local checksum = 0
file:seek('set', 0)
while file:seek() < size do
checksum = checksum + file:read(1):byte()
end
if (checksumResponse.content ~= tostring(checksum)) then
os.remove(gg.EXT_FILES_DIR .. '/Il2CppExplorer.lua')
init()
end
end
file:close()

framework = loadfile(gg.EXT_FILES_DIR .. '/Il2CppExplorer.lua')
framework()
end

init()

-- Did you expect to see some overcomplicated stuff?
-- Just don't initialize Ano, lol
explorer.editFunction(nil, 'LoginUser', {'RET'}, {'BX LR'})

0 comments on commit a151f42

Please sign in to comment.