Originally Posted by
tdsx
Yeah, it was. I posted it.
And what is the second part of your post? encryptFile doesn't return anything. It reads the contents of the file, encrypts it, places it in a runEncrypted call, and then saves the final string to the file. The encryption and decryption isn't just base64 - that'd be silly, and base64 is encoding. It uses an actual encryption method and then base64's it.
EDIT: I also just remembered that luaL_dofile shows the name of the file in debug.getinfo. I'm going to update the module to read the file and run the string instead. I'll also let the function load an encrypted file path so that if they override the function they won't know what the name of the file is. I want full stealth on this shit. I'll update it tomorrow.
Can you add a file::Block aka
Code:
local oldinclude = include
function include( str )
if string.find(string.lower(str),"ley") then return end
return oldinclude(str)
end
But in C++ because you seem to know alot about C++
To stop LeyAC loading on the source code too please, Do you load it in game or in the start of gmod console, because in game it's detectable? using require for modules and include for files!