Compare commits

...

6 Commits

10 changed files with 87 additions and 10196 deletions

File diff suppressed because it is too large Load Diff

17
BloxFruit/Start.lua Normal file
View File

@ -0,0 +1,17 @@
--[[ Untuk Contoh tidak untuk produksi ]]
local http = game:HttpGet("https://git.warceuproject.org/Apapapa/AutoFarm/raw/branch/EndcodeVersion/raw/BloxFruit") --[[ berhububung we di lokal ya tiggal pake lokal tapi lebih bagus nya external ]]
local key = "cdaaptnia"
function decrypt_code(encrypted, key)
local decoded = game.HttpService:base64Decode(encrypted)
local result = ""
for i = 1, #decode do
local char = string.byte(decode, i)
local key_char = string.byte(key, (i - 1) % #key + 1)
result = result .. string.char(bit32.bxor(char, key_char))
end
return game.HttpService:Base64Decode(result)
end
local decrypted_code = decrypt_code(http, key)
loadstring(decrypt_code)()

File diff suppressed because it is too large Load Diff

1
endec/encode.md Normal file
View File

@ -0,0 +1 @@
# Tes

35
endec/encode.php Normal file
View File

@ -0,0 +1,35 @@
<?php
function encrypt_lua($lua_code, $key) {
$encode = base64_encode($lua_code);
$key_length = strlen($key);
$result = '';
for ($i = 0; $i < strlen($encode); $i++) {
$result .= chr(ord($encode[$i]) ^ ord($key[$i % $key_length]));
}
return base64_encode($result);
}
// candak code via file
$lua_file = '../BloxFruit/Start.lua';
if (!file_exists($lua_file)) {
die("File tidak ditemukan: $lua_file\n");
}
$lua_code = file_get_contents($lua_file);
// Key
$key = "cdaaptnia";
// enkripsi
$encrypted_code = encrypt_lua($lua_code, $key);
// Simpan hasil
file_put_contents('BloxFruit', $encrypted_code);
echo "Kode Lua terenkripsi dengan key base64:\n" . $encrypted_code . "\n";
?>

1
endec/enlua.txt Normal file
View File

@ -0,0 +1 @@
ACwrERIaPwYoCAwNAzcMGCUiIS4DDBsTNz4zCwYmJx89KScXOSM0BhI8OAEoKwgJAx0XCTA2FwwDCDIfDzojDwYMFQkVNisbAjcoEQ==

17
endec/getraw.lua Normal file
View File

@ -0,0 +1,17 @@
--[[ Untuk Contoh tidak untuk produksi ]]
local http = game:HttpGet("http://example.com/raw/enlua.txt") --[[ berhububung we di lokal ya tiggal pake lokal tapi lebih bagus nya external ]]
local key = "cdaaptnia"
function decrypt_code(encrypted, key)
local decoded = game.HttpService:base64Decode(encrypted)
local result = ""
for i = 1, #decode do
local char = string.byte(decode, i)
local key_char = string.byte(key, (i - 1) % #key + 1)
result = result .. string.char(bit32.bxor(char, key_char))
end
return game.HttpService:Base64Decode(result)
end
local decrypted_code = decrypt_code(http, key)
loadstring(decrypt_code)()

1
raw/BloxFruit Normal file

File diff suppressed because one or more lines are too long

1
raw/Fisch Normal file

File diff suppressed because one or more lines are too long

0
test Normal file
View File