What does this regular expression mean?
[^%g\128-\191\194-\197\208-\210]+
I saw it here: Compatibility with TTT2 and Code Cleanings by Alf21 · Pull Reque..
I worked a lot with regex and never found or saw any REGEX that is "%g" or "%G" (as negative one). The guy that is using this, called it "normal characters" (https://github.com/Tommy228/tttdamagelogs/commit/76047e8a38b6ebe6a0e428df7ad9eacdd7ac4f7a#diff-61905c6cc1ddc4fa3c53a225a092d991)
Do you have any reference about it?
Regex
%g and %G Like POSIX [[:graph:]] and [^[:graph:]], all visible characters except space;
Hmm i think it's like.
Alright, this was not the question, but thanks. It another nice theme. But the code of your backdoor in your example... yea... any code like this should never exist xD I already created a DDOS code to test it on my own server and unfortunately it worked... There should never be any "RunString(...)" function without encoding / parsing it. Thats the worst thing of hacking in gmod: Every nice addon can be updated to a vicious one. GMod should automatically parse / encode it as well as disabling some words like "connect" and things like this ^^
Sorry, you need to Log In to post a reply to this thread.