Cold AntiScriptHook for gmod - it stops stupid skids!
32 replies, posted
Hello everyone! I just created the new type of antiscripthook. It will detect any scripthook with any name. If you have any question or suggestion, you can tell me it there.
Current version: 2.28
GitHub link: https://github.com/AlexSnowrun/coldash
As result of the work my script, cheaters and skids will get this string in every file: "--Do not steal, stupid skid! [all rights reserved]--".
Screenshot:
https://imgur.com/a/dLlqYWd
This is cool but would be better in the addon releases subforum
Ok. I will move it
Thank you!
Im wondering about the Screenshot...its showing Notepad++ with a bunch of Tabs open?
Yes) I made clientside file with name 'thesecretmodule.lua' and my script changes it to useless string
Tested? Genuine question.
Hello from Linux.
http://i.imgur.com/sd5BZsv.png
I don't want some kid to uncomment that line that crashes your game and have my game crash just because I only have 4 folders
Nobody can't crash you. My script have a couple of checks for scripthook inside a
suspicious folder. For example, it checks folder named as an IP of a server or .lua file inside
possibly bad folder. Also, your folder already in whitelist and script checks NAMES MATCHING of folders. Don't worry about crash and check my script in real case before draw conclusions, please. And sorry for my bad English, you can check my country)
Check yourself again. If I were to uncomment that crashy line, it would crash everyone with !=5 folders in the root directory.
You are not checking in the right place and should not be using a folder whitelist at all...
if #directories ~= #dirwhitelist then -- #dirwhitelist == 5... i have 4!
...
timer.Simple(2, function() -- I love timers))
...
RunString("local sosi = 1 while true do end") -- If you want to crash a small skid's game - just uncomment this string!
end)
...
end
I'm sorry, my mistake. You can check it again, I remade it
Okay - good, that was just in the wrong spot - now what about the rest?
I made length checking for optimisation purposes, if lenght mismatch then script will check a name of folders
Do you understand what I'm saying though? Your script triggers on folders that aren't in the whitelist! I've already explained this...
I placed crash function in wrong place because I deleted it before and I was inattenrive when return crash function
Goodbye.
I understand you. But my script triggers only folders named as server IP.
if stshook ~= nil then
Ah! I am retarded. No wonder you guys hacked our voting systems.
Really? Do you believe in that? Your government has made more sanctions than it was. This is not in our interests to falsify vote. We have many problems in our country and
we have no time for falsify vote.
What a roller coaster this thread is
I'd rather have me scripts stolen
Was it sarcasm or script don't actually crash both server&players?
This is not what I was expecting to read this fine morning.
Update: removed some strings and timers.
If someone doesn't like my code, you just can rewrite it. I made a simple example of new type antiscripthooks. I can't give you a fully good code because I don't want the cat and mouse game with cheaters and hackers, I just showed a simple way to protect your server from skids. For better working of my code, you need to make load it first (Read "Anticheat Megathread" thread on this forum). Good luck!
I am sure your effort to stop skiddies from stealing files is appreciated, but I do not think this is a wise method of catching people who use scripthook. I can imagine one or two scenarios where false positives generated by this script would lead to legit players being disrupted.
Besides, can't people just use the "lua cache decrypters" anyways ?
Здарова, как это работает?
Че за коробочки вы мне ставите?)
UPD: Scripthooks .dlls fixed by GMod update
Do you mean you updated it to the latest gmod update, or that gmod itself now blocks scripthook?
Sorry, you need to Log In to post a reply to this thread.