Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Making a Loadstring Decrypter- What do I do next? (Code provided)

Asked by 4 years ago

I'm making a loadstring decrypter from looking at free model scripts (all code provided below)

Free model:

--Step 1: Paste the Encrypted script into Notepad or Word
--Step 2: Press Ctrl+H and type "\" in the first box and "," in the second
--Step 3: Delete the ' loadstring(", ' part in the beginning and the ' ")() ' part in the end
--Step 4: Copy and paste the result in the following {}'s
--Step 5: If there is no box saying "Output" on your screen (by default, at the bottom), go to View > Output to open it
--Step 6: Press the green play button. The script should print in the output.

local Source = {108,111,99}
local Code = ""
print("Decoding source, hold on, clearing up the output...")
wait(2)
for i = 1,30 do
    print(">")
    wait()
end
wait(1)
for i = 1,#Source do
    Code = Code .. string.char(Source[i])
end
print(Code)
print(">")
print("Finished. Your decoded script is above.")

My script:

decryptinput = [[loadstring("\72\105\10")()]]

decryptoutput = ""
decryptinput = string.gsub(string.lower(decryptinput), "loadstring", "")
decryptinput = string.gsub(decryptinput, "%(", "")
decryptinput = string.gsub(decryptinput, "%)", "")
decryptinput = string.gsub(decryptinput, "'", "")
decryptinput = string.gsub(decryptinput, '"',"")
decryptinput = string.gsub(decryptinput, [[\]], ",")

if decryptinput:sub(1,1) == "," then
    decryptinput = decryptinput:sub(2)
end

 -- Decryption here

print(decryptoutput)

I was able to make the script automatically remove everything that needed to go, but now I want it to be able to decrypt it right after that.. just unsure of what to do.

Here's how they decrypted:

for i = 1,#Source do
    Code = Code .. string.char(Source[i])
end

Any idea how I would integrate something like that in my script?

0
I've tried something like this and got far, but it never worked the8bitdude11 358 — 4y
0
loadstring("\72\105\10")() would turn into loadstring("72H10510")() the8bitdude11 358 — 4y
0
Yeah it's annoying ShadyShock 77 — 4y
0
Why are you programming your own stuff to use free models? hiimgoodpack 2009 — 4y

Answer this question