lewisclark / glua-steal Goto Github PK
View Code? Open in Web Editor NEWRetrieves client-sided Lua files from Garry's Mod game servers
License: GNU General Public License v3.0
Retrieves client-sided Lua files from Garry's Mod game servers
License: GNU General Public License v3.0
Add the server name and ip to each file because it is very difficult to understand which server these or other files are from
It keeps giving me errors and I can't create a concommand before init.lua please help
gluasteal.include ends up running much after autorun which is sad because I wanted to have actual proper file management without having stuff in my data folder where it could be tampered with.
I'd assume it would just be another call of luaL_loadFile (I have little to no experience sorry)
Is this intended behavior?
I guess i'll just put everything in one file for now (gluasteal.lua) 👎
No log file, no stolen files. Just nothing.
Describe the bug
If you join a server of whose files you already have it appends it to the file. This leads to a lot of double code in files and makes it painful to easily search through lua / files.
Preferably there would be an option to overwrite the file or make a new one with a new name, or even add a date per server folder so you can have multiple copies of the same server.
Additional details (please complete the following information):
64bit v1.9
Basically, gluasteal executes the same lua script more than 1 time.
hello i am new and i need a tut on yt because i dont get it
THANK YOU FOR THIS DLL
gluasteal not working on linux(ubuntu64), im compiled the file and inject into gmod 64bit and gmod 32bit, but, inject succeful, like nothing just happens. I recompiled the sources several times, used different injectors, but still nothing happens, the last time I used this was the GDB method, does not work stealer and lua executor. The directory is not created.
Maybe something like gluasteal.SERVER
so that something like this can be written?
if gluasteal.SERVER == "93.184.216.34" then -- this is the IP to example.com
if gluasteal.SCRIPT == "includes/init.lua" then
gluasteal.include("script1.lua")
end
elseif gluasteal.SERVER == "172.67.183.168" then -- this is also the IP to something.com
if gluasteal.SCRIPT == "includes/init.lua" then
gluasteal.include("script2.lua")
end
end
I'm pretty sure this doesn't support 64 bit, atleast I haven't gotten it to work on my Linux machine.
How do I download the sv_lua(sv_hooks.lua, sv_schema) file?
Describe the bug
Building the repo on OSX 12.6 fails - unable to find link.h.
Expected behavior
Building the repo succeeds and the 0.001% of people probably using GLua-Steal on OSX can live a happy life.
shayne@Shaynes-MacBook-Pro build % make
[ 4%] Building CXX object src/library/CMakeFiles/library.dir/library.cpp.o
In file included from /Users/shayne/Desktop/glua-steal/src/library/library.cpp:17:
/Users/shayne/Desktop/glua-steal/src/library/library.hpp:30:10: fatal error: link.h: No such file or directory
30 | #include <link.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [src/library/CMakeFiles/library.dir/library.cpp.o] Error 1
make[1]: *** [src/library/CMakeFiles/library.dir/all] Error 2
make: *** [all] Error 2
Additional details (please complete the following information):
Additional context
I don't really care that much, so I'm not offended if this doesn't get fixed. I know Mac isn't officially supported.
Describe the bug
When trying to compile glua-steal for Linux, it fails with several erros. One being that is not imported and other ones i can't seem to fix myself as i don't understand what these lines of code do. Even tried using older GCC versions.
Expected behavior
Compiling would work without problems.
Additional details (please complete the following information):
Gluasteal seems to be adding excessive amounts to all stolen files, this happens for every server i've been on so far.
Original file:
https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/sandbox/gamemode/cl_notice.lua
Using 64x windows v2.0
Describe the issue
Servers that run gluapack()() don't work with write_mode
truncate
but work with append
. This was expected when truncate was introduced and is logical. It might be cool to have gluapack automatically detect gluapack or other kinds of script steal preventions and "bypass them", i know this sounds and likely painful to do. But having the option to specifically disable known preventions like gluapack might be useful to people as truncate is a preferrable alternative for servers that don't run these preventions.
Maybe a complete different way of solving this would be a mode where only new code would be appended to the file while old code would still be kept.
Extra information
Might be useful, https://www.unknowncheats.me/forum/garry-s-mod/486883-gluapack-bypass.html
While compiling for linux, i had errors about the filesystem lib not being found.
i had to replace all #include <filesystem>
with #include <experimental/filesystem>
and all std::filesystem::
with std::experimental::filesystem::
This may be the reason why im getting this error along with gmod crashing:
[13-04-19 - 17:05:33.544] [info] Initializing gluasteal v1.4 [13-04-19 - 17:05:33.544] [critical] Failed to initialize: failed to grab handle for library engine
Any ideas on how to fix this?
I'm interested in knowing whether it's possible to override existing Lua files while maintaining full access to the source file's methods and networking. I need to alter the behavior of the existing lua file without losing their inherent network communication abilities and method implementations.
For example net.ReadUInt(16)
or local obj = OBJ.RANK
will no longer be accessible if I use:
if (gluasteal.SCRIPT:match("cl_ranks")) then
gluasteal.include("cl_ranks.lua")
return false
end
I am so f*cking angry that I do third try to play with cheats in a row, and I am getting random issues again.
As I undestand, "/username/" means your nickname in OS (my name is user).
https://youtu.be/tP2ZWv09898
Heya, it's me again. So, this lua script crashes gmod after joining the server. is this normal?
it's bad please fix!
Can I cancel this or that code that is being executed on me?
For example, screengrab or crash attempt
Something like that
if b:find("while true do end") then
return
end
Describe the bug
Scripts possibly (???) either not executing after the January 2023 update, or I severely misunderstand how this works.
Expected behavior
The script included in my gluasteal.lua
to run (which works on Windows under autorun-rs, so I don't think it's the script)
Actual behavior
Lua files are properly dumped, no errors in the log, but the script is not run
Additional details (please complete the following information):
Additional context
I've tried two different gluasteal.lua
files, one providing the absolute path to a script I know exists on the server (thanks to your Lua dumper!), and the other trying to match for any script with a keyword in that path.
Absolute:
if gluasteal.SCRIPT == "autorun/client/cl_this_has_a_scriptkeyword.lua" then
gluasteal.include("coolscript.lua")
end
My current gluasteal.lua
looks like the following:
if (gluasteal.SCRIPT:match("scriptkeyword")) then
gluasteal.include("coolscript.lua")
end
However, in neither case did the script execute. I included a handful of print statements for good luck in coolscript.lua, but neither were outputted to the log or the GMOD console (which I expect it to? might be wrong)
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
in gluasteal.lua i use hook.Add() that working fine but from few days it's broken
Screenshots
[21-11-21 - 18:04:53.686] [warning] Failed to run lua file execution error '[string "gluasteal.lua"]:40: attempt to index global 'hook' (a nil value)'
Additional details (please complete the following information):
Additional context
in gluasteal.lua i use hook.Add() that working fine but from few days it's broken
Is there a guide for it?
Okay so, i've tried to compile the glua-stealer. After doing cmake and make, i havent noticed the .so file appearing anywhere. How do i compile this.
Im using manjaro 21.04
Everything like cmake and make is up-to-date.
Hello ,
I tried download the src and when i launch the command :
'msbuild gluasteal.sln /p:Configuration=Release'
I get this result :
MSBUILD : error MSB1009: Le fichier projet n'existe pas.
Commutateur : gluasteal.sln
Any idea ?
[loader]
file = "gluasteal.lua"
not work, i am rename to blabla.lua and file not loaded.
I've bit confused about running lua code. What phase is it loading lua codes? I mean if I write that:
if (gluasteal.SCRIPT:match("roll")) then
some lua code here
return
end
in to gluasteal.lua file, would it run lua code when any roll.lua executed at game? Otherwise can I change serverside things by some sync functions that I found in server lua files?
I am sorry. I am a teapot in the cmake and a make.
What should I do after I complete all the build steps for Linux? I do not see any .so for the preload.
I apologize for stupidity
Everything is said in the title 👍
Can I get banned for using that?
[deleted]
Hello. Earlier I inject this lib using "Set launch options" in game options in Steam. I wrote in them "LD_PRELOAD=/path/to/so/ %command%" and all worked like a charm. But when I recompiled it to update it to july version my GMOD stopped launching(it turns off after startup).
Ubuntu 16.04. Both 64 bit gmod and 32 bit don't work. What can I do to give you more information?
I only get the titles of the addon, every single lua file looks like this https://i.imgur.com/iUmW46i.png this isn't a issue with the tool itself but if anyone knows how to resolve this please help.
Video of exactly what I did:
https://propkill.me/pls/CmHXTa.mp4
the error is
[07-03-20 - 15:10:27.901] [info] Initializing gluasteal v1.4 [07-03-20 - 15:10:27.903] [critical] Failed to initialize: failed to grab handle for library garrysmod/bin/lua_shared
It's probably because of the branch i'm on but it's the 32bit build
./inject -p 237297 /home/user/Desktop/ceee/glua-steal/build/src/libgluasteal.so
targeting process with pid 237297
ptrace(PTRACE_ATTACH) failed
No further output...
Running in ROOT
./inject -p 237297 /home/user/Desktop/ceee/glua-steal/build/src/libgluasteal.so
targeting process with pid 237297
instead of expected SIGTRAP, target stopped with signal 11: Segmentation fault
sending process 237297 a SIGSTOP signal for debugging purposes
Game crashes
No further output
Gluasteal folder is not created... Any ideas?
A file that runs once before any server lua might be very useful, currently it'd be possible with lua but having an option to just automatically do it would be useful. Something like pre-autorun.lua
or so.
I ran into this issue when i was trying to test some pre autorun code but it seemed like it still constantly ran.
if firstRun then return end
firstRun = true
Simply running this at the top of the file didn't seem to work as maybe the environment constantly changes per file?
I'm not exactly sure but it'd just be neat to have a file to run only once.
I'm using the x86_64 branch of Garry's Mod on Arch Linux. I have built libgluasteal.so from the latest source code but whenever I try injecting with gdb I get stuck at this:
(gdb) set $dlopen = (void*(*)(char*, int)) dlopen
(gdb) call $dlopen("/home/asdfghjkl/glua-steal/build/src/libgluasteal.so", 1)
[Detaching after fork from child process 53626]
I believe this is a gmod update because this has worked for me yesterday with the same build. I tried rebuilding and clean reinstalling gmod with no success.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.