Compare commits
6 Commits
main
...
EndcodeVer
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c2c8bce9c3 | ||
![]() |
e2c467e190 | ||
![]() |
0ac3747093 | ||
![]() |
63ff029385 | ||
![]() |
00c6f3ac4d | ||
![]() |
5a68704a4b |
9169
Blox fruit/Start.lua
9169
Blox fruit/Start.lua
File diff suppressed because it is too large
Load Diff
17
BloxFruit/Start.lua
Normal file
17
BloxFruit/Start.lua
Normal 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)()
|
1041
Fisch/Start.lua
1041
Fisch/Start.lua
File diff suppressed because it is too large
Load Diff
1
endec/encode.md
Normal file
1
endec/encode.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Tes
|
35
endec/encode.php
Normal file
35
endec/encode.php
Normal 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
1
endec/enlua.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ACwrERIaPwYoCAwNAzcMGCUiIS4DDBsTNz4zCwYmJx89KScXOSM0BhI8OAEoKwgJAx0XCTA2FwwDCDIfDzojDwYMFQkVNisbAjcoEQ==
|
17
endec/getraw.lua
Normal file
17
endec/getraw.lua
Normal 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
1
raw/BloxFruit
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user