View previous topic :: View next topic |
Author |
Message |
Snytex How do I cheat? Reputation: 0
Joined: 08 Feb 2023 Posts: 1
|
Posted: Tue Feb 21, 2023 11:30 am Post subject: Lua Script Authentication |
|
|
Hey I was wondering how to protect a CE lua script with authentication. Now how would I do that tho? I know I have to use LuaSocket but can someone explain me how please? I'd rly appreciate it bc i dont wanna get my stuff leaked.
|
|
Back to top |
|
|
H3IS3NB3RG How do I cheat? Reputation: 0
Joined: 22 Feb 2023 Posts: 3 Location: 1600 Amphitheatre Parkway in Mountain View, California, USA
|
Posted: Wed Feb 22, 2023 5:49 am Post subject: |
|
|
is there any new update on this?
_________________
H3IS3NB3RG |
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Wed Feb 22, 2023 8:42 pm Post subject: |
|
|
Try to search 'lua auth' or 'Lua NGINX' on google.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
H3IS3NB3RG How do I cheat? Reputation: 0
Joined: 22 Feb 2023 Posts: 3 Location: 1600 Amphitheatre Parkway in Mountain View, California, USA
|
Posted: Thu Feb 23, 2023 6:14 am Post subject: |
|
|
The main problem is that i've already done it and tried to implement the functionality with the function and it worked but i wanna full power over my HTTPS requests and LuaSockets only support HTTP. I can't find the "LuaSec" Module for making HTTPS requests in CE :"((
_________________
H3IS3NB3RG |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1257
|
Posted: Thu Feb 23, 2023 8:38 am Post subject: |
|
|
Code: | getInternet().getURL(link) |
use;
Code: | function LoadUrl(link)
int=getInternet()
s=int.getURL(link)
int.destroy()
--print(s)
load(s)()
end
LoadUrl("https://docs.google.com/uc?export=download&id=1e8HRmcHc0Pju3O-zt3WrNKNW4QQ-VUjQ")
--http://cheatengine.org/examplescript.lua |
_________________
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Thu Feb 23, 2023 8:25 pm Post subject: |
|
|
H3IS3NB3RG wrote: | The main problem is that i've already done it and tried to implement the functionality with the function and it worked but i wanna full power over my HTTPS requests and LuaSockets only support HTTP. I can't find the "LuaSec" Module for making HTTPS requests in CE :"(( |
Check this one for luasec :
https://github.com/brunoos/luasec
A more modern solution is to use lua-http: https://github.com/daurnimator/lua-http
It comes with a luasocket/luasec compatible interface.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
H3IS3NB3RG How do I cheat? Reputation: 0
Joined: 22 Feb 2023 Posts: 3 Location: 1600 Amphitheatre Parkway in Mountain View, California, USA
|
Posted: Fri Feb 24, 2023 9:10 am Post subject: |
|
|
How can I add it for the Cheat Engine?
_________________
H3IS3NB3RG |
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Fri Feb 24, 2023 8:07 pm Post subject: |
|
|
H3IS3NB3RG wrote: | How can I add it for the Cheat Engine? |
Luasec :
First :
On Windows:
- Use the Visual C++ project to compile the library.
- Copy the 'ssl.lua' file to some place in your LUA_PATH.
- Copy the 'ssl.dll' file to some place in your LUA_CPATH.
- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.
On CE:
- Copy luasec.dll / luasocket files to CE Path/clibs64 or clibs32 (which one the CE version used)
- Copy the 'ssl.lua' file to some place in your CE Path or CE clibs path
- Copy the 'ssl.dll' file to some place in your CE Path or CE clibs path
- Copy or create 'ssl' in your CE Path or CE clibs path and copy 'https.lua' to it.
Second :
Add to your script.
Code: | if cheatEngineIs64Bit() then
package.cpath=package.cpath..[[;.\clibs64\?.dll]]
else
package.cpath=package.cpath..[[;.\clibs32\?.dll]]
end
|
Then continue with your script else.
You can download compiled Luasec / ssl (version 0.5) for from this site :
http://50.116.63.25/public/LuaSec-Binaries/windows/
NoteL
I don;t know if ssl should work with CE 7.5 or Lua 5.3 or above. Never test it yet.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
|