• Cheat blocker
    101 replies, posted
[QUOTE=Extazy;23421773]Not according to every other user that posted in this thread.[/QUOTE] He has an amazing point you know.
[QUOTE=AceramAight;23427081]@Extazy Just saying, Banana Lord and Helix Alioth are both right. Banana lord is right about the fact that your crediting him wrong, and helix alioth is right about the fact that people can bypass it again...yours does block all the little kids, but your not stopping the pro's.i recomend you have a version 1.01 or 1.1 update in which you include both of what they are saying. If someone does something that tedious, long, and boring to get you what you need (Banana Lord), then you should include it into your credit's properly. And stopping all the "haxzorz" is what the people downloading this are expecting, and if your work only half asses that, they your not going to get as many people wanting to download a newer verion or any of your other creations.[/QUOTE] I find it funny you mention he needs to be added to the credits. Its not even all that many commands. It took it probably 5-10 minutes to find all of those commands. Its not like he deserves a medal or something. he asked to be in the credits and he got a place in the credits. Also, I can't create something so good and so great if its only my .. fir.. second release of an actual script. Also last thing. If you would read up, I said I was working on an update.
[QUOTE=Extazy;23427191]I find it funny you mention he needs to be added to the credits. Its not even all that many commands. It took it probably 5-10 minutes to find all of those commands. Its not like he deserves a medal or something. he asked to be in the credits and he got a place in the credits. Also, I can't create something so good and so great if its only my .. fir.. second release of an actual script. Also last thing. If you would read up, I said I was working on and update.[/QUOTE] I think the point everyones making is that you took the concept, coding principles and even the list of concommands from this guy's bot without giving him the credit you said you would.
If there's anything I can say more, it's that no one should trust their server completely with a Lua anticheat.
[QUOTE=-Delta-;23423509]you can too use ScriptEnforcer than is clientside all things off and if you set it on 2 than if a player get hacks online than he get ban from your server.... i think that ScriptEnforcer is better but i going test it than i say =D if your script is better[/QUOTE] I can bypass scriptenforcer with a few lines of code, it also breaks your server to hell mostly
You can bypass ScriptEnforcer with one line of code in a Lua file without any dll modules. :v:
[QUOTE=Gbps;23427951]You can bypass ScriptEnforcer with one line of code in a Lua file without any dll modules. :v:[/QUOTE] And here I was learning C++ :v:
[QUOTE=Gbps;23427773]If there's anything I can say more, it's that no one should trust their server completely with a Lua anticheat.[/QUOTE] Doesn't this tack onto script enforcer though?
[QUOTE=ADV Scout;23430923]Wouldn't making a list of commandes you may only do save some effort and time? yea... i know is a shity idea.[/QUOTE] What..? Also I never thought it that way Kopimi. Kudos to you, Banana you will be given credit for giving the idea and the table. (In the new update it will be in the code :wink:)
Also, OP: [lua] local oldcmd = concommand.Add; function concommand.Add( cmd, func ) if not debug.getinfo( 2, "S" ).short_src == "hax/stuff.lua" then return false end; return oldcmd( cmd, func ) end; [/lua] :science:
[QUOTE=Extazy;23427191]I find it funny you mention he needs to be added to the credits. Its not even all that many commands. It took it probably 5-10 minutes to find all of those commands. Its not like he deserves a medal or something. he asked to be in the credits and he got a place in the credits. Also, I can't create something so good and so great if its only my .. fir.. second release of an actual script. Also last thing. If you would read up, I said I was working on an update.[/QUOTE] Actually, I went on GMod.org and searched for aim, aimbot, esp, wallhack, hax, and added every single command from every download. Like I said (not sure if it was this topic), it took about an hour to go through and make sure I had no duplicates as well.
[QUOTE=Banana Lord.;23433072]Actually, I went on GMod.org and searched for aim, aimbot, esp, wallhack, hax, and added every single command from every download. Like I said (not sure if it was this topic), it took about an hour to go through and make sure I had no duplicates as well.[/QUOTE] Then you must not hack at all. I know plenty of commands right off the top of my head. Anyways.. I have still yet to finish the new version. Should I make a white list?
I get this error whenever I use it: RunConsoleCommand: Command has invalid characters! (esp_on server (' ')) The first parameter of this function should contain only the command, the second parameter should contain arguments.
[QUOTE=Extazy;23436404]Then you must not hack at all. I know plenty of commands right off the top of my head. Anyways.. I have still yet to finish the new version. Should I make a white list?[/QUOTE] No. You should screw the idea of blocking commands. [list] [*]Whitelist hooks [*]Whitelist requires [*]lock debug and hook metatables with setmetatable [*]Check to see if the !.lua file exists with commands. [*]Make sure the commands are random and in a global table [*]Have a think hook to check for sv_cheats, host_timescale, host_framerate and sv_scriptenforcer [*]Obfuscate the code [*]Don't do string.char, do something like _G[ "st" .. "riFFeE" .. "ng" ][ "c" .. "har" ] and gsub the E, e and Fs out. [*]Set RunString( ), debug.getinfo( ), rawset and rawget to do nothing [*]Serverside: MD5 Game state hash minority kicking [*]Serverside: Do some file.* detour detection to generic hacks. [/list] Do all of the following and you should be blocking 99.2673% of script kiddies. Also, make sure you delete the info.txt's of all of the default addons. If your lazy and don't want to make your own list of whitelisted requires (sc is string.char): [lua] local r_w = { sc( 115, 113, 108, 105, 116, 101 ); sc( 99, 111, 110, 99, 111, 109, 109, 97, 110, 100 ); sc( 115, 97, 118, 101, 114, 101, 115, 116, 111, 114, 101 ); sc( 103, 97, 109, 101, 109, 111, 100, 101 ); sc( 119, 101, 97, 112, 111, 110, 115 ); sc( 116, 105, 109, 101, 114 ); sc( 115, 99, 104, 101, 100, 117, 108, 101 ); sc( 104, 111, 111, 107 ); sc( 115, 99, 114, 105, 112, 116, 101, 100, 95, 101, 110, 116, 115 ); sc( 112, 108, 97, 121, 101, 114, 95, 109, 97, 110, 97, 103, 101, 114 ); sc( 110, 117, 109, 112, 97, 100 ); sc( 116, 101, 97, 109 ); sc( 117, 110, 100, 111 ); sc( 116, 105, 109, 101, 114 ); sc( 99, 108, 101, 97, 110, 117, 112 ); sc( 100, 117, 112, 108, 105, 99, 97, 116, 111, 114 ); sc( 100, 117, 112, 108, 105, 99, 97, 116, 111, 114 ); sc( 99, 111, 110, 115, 116, 114, 97, 105, 110, 116 ); sc( 99, 111, 110, 115, 116, 114, 117, 99, 116 ); sc( 102, 105, 108, 101, 120 ); sc( 118, 101, 104, 105, 99, 108, 101, 115 ); sc( 117, 115, 101, 114, 109, 101, 115, 115, 97, 103, 101 ); sc( 108, 105, 115, 116 ); sc( 99, 118, 97, 114, 115 ); sc( 104, 116, 116, 112 ); sc( 100, 97, 116, 97, 115, 116, 114, 101, 97, 109 ); sc( 103, 108, 111, 110 ); sc( 100, 114, 97, 119 ); sc( 109, 97, 114, 107, 117, 112 ); sc( 101, 102, 102, 101, 99, 116, 115 ); sc( 107, 105, 108, 108, 105, 99, 111, 110 ); sc( 115, 112, 97, 119, 110, 109, 101, 110, 117 ); sc( 99, 111, 110, 116, 114, 111, 108, 112, 97, 110, 101, 108 ); sc( 112, 114, 101, 115, 101, 116, 115 ); sc( 99, 111, 111, 107, 105, 101 ); sc( 100, 97, 116, 97, 115, 116, 114, 101, 97, 109 ); sc( 103, 108, 111, 110 ); sc( 98, 97, 115, 115 ); }; [/lua] :buddy:
[QUOTE=Dark Slayre;23436443]I get this error whenever I use it: RunConsoleCommand: Command has invalid characters! (esp_on server (' ')) The first parameter of this function should contain only the command, the second parameter should contain arguments.[/QUOTE] I am looking into it. Will be fixed in the next update. Thanks for the heads up.
And if you still want to block commands, use Sourcenet or SLOG. [editline]02:51AM[/editline] Breaking my automerge :ninja:
Whitelisting hooks is probably the most effective way.
[QUOTE=Drew P. Richard;23436626]Whitelisting hooks is probably the most effective way.[/QUOTE] This man is my main man. I basically follow his lead when it comes to coding. I jump on the wagon and see what happens, thus I learn from this and use it in other items. We will work on your stuff Helix :buddy:
Wait, let me get this straight. You took my command table, deleted my code to add the fake commands, re-wrote it, and called it your own? ... [editline]12:06AM[/editline] Looking again, how can you give yourself credit? I'm sorry I tried to be calm, but you didn't do shit for this. This is all of my code with your name on it. [lua]function CBPrint(text) MsgN("CB: "..text) end[/lua] Cool function bro, look anything like mine? [lua]function sysprint( text ) print("(( BAC )) " .. text) end[/lua] [lua]for k,v in pairs(BannableCommands) do concommand.Add(v.." server",function(Player) if !ValidEntity(Player) then return end RunConsoleCommand("ASS_BanPlayer", Player:SteamID(), BanTime, "Ran banned command " ..v) end) end[/lua] [lua]for i=1, #BannedCommands do -- Add each fake command with this function concommand.Add(BannedCommands[i], function(ply, cmd, args) RunConsoleCommand("ASS_BanPlayer", ply:UniqueID(), BanTime, " Blocked Command: " .. BannedCommands[i]) end) -- Tell the user we have added it print("Command Blocked: " .. BannedCommands[i]) end[/lua] Fucking amazing. [editline]12:12AM[/editline] You: [lua] CBPrint("Ban time set to "..(BanTime/60).." minute(s).") CBPrint(#BannableCommands.." commands were blocked.")[/lua] Me: [lua]print("All " .. TotalBannedCommands .." commands successfully blocked.") -- Tell how many commands were blocked[/lua] [lua]if BanTime == 0 then sysprint( "Ban time set to PERMANANT." ) elseif BanTime == 1 then sysprint( "Ban time set to 1 minute." ) elseif BanTime == 360 then sysprint( "Ban time set to 6 hours." ) elseif BanTime == 720 then sysprint( "Ban time set to 12 hours." ) elseif Bantime == 1440 then sysprint( "Ban time set to 1 day." ) else sysprint( "Ban time set to " .. BanTime .. " minutes." ) end[/lua] [editline]12:13AM[/editline] Wonder why this is: [url]http://www.facepunch.com/showpost.php?p=23377855&postcount=11[/url] And: [url]http://www.facepunch.com/showpost.php?p=23355772&postcount=1[/url] [editline]12:13AM[/editline] [url]http://www.facepunch.com/showpost.php?p=23403600&postcount=15[/url] Oh please, you have my entire fucking script with renamed functions.
Lol. I find it funny you say that, very funny. Your script didn't work. You never checked if it was a player. Pretty much the only thing the same is the print. Im not really seeing why you are so mad. I used your script with permission. I could repost your script for reference yes? Please, either stop raging that I used your idea and make a better one than mine or get out.
[QUOTE=Extazy;23438192]Lol. I find it funny you say that, very funny. Your script didn't work. You never checked if it was a player. Pretty much the only thing the same is the print. Im not really seeing why you are so mad. I used your script with permission. I could repost your script for reference yes? Please, either stop raging that I used your idea and make a better one than mine or get out.[/QUOTE] No, I won't get out. And mine did work, I was getting retarded clients to use the commands (biggest was "buttfuck"). Funny, you said you were only using the command table, and re-writing everything else. Why should I check to see if it was a player, it uses the player's unique session ID, that only a player can get. Not seeing why I am mad? You claimed you were only using my command table, and yet, I just posted great examples of the same code, re-named. [editline]12:32AM[/editline] Oh, and I am making a better one, but I'm going on vacation this week. Gives me something to do in the car and at night I suppose, since I'm sick of shits like you stealing credit for my shit. I'm sick of being taken advantage of. [editline]12:38AM[/editline] Also, you shouldn't go too crazy with anti cheat. Especially with a Bacon Bot banner, wouldn't want to ban yourself. Found on your Photobucket: [IMG]http://i285.photobucket.com/albums/ll49/CoBullet/bacon.png[/IMG]
Have fun ranting while your in the car over nothing. :wink:
[QUOTE=Extazy;23438434]Have fun ranting while your in the car over nothing. :wink:[/QUOTE] Know enough cheats, or pay because you can't play? I will have fun in the car, I will be learning to use MySQL with VB.NET, which has been stumping me for a while. Oh and good news! I can tether my rooted Droid to my laptop, meaning I can post my anti cheat! Should I do what you did, and steal your code, change the function names, and call it "Cheat Preventer"? [img]http://dl.dropbox.com/u/5648925/photos/trolololol.png[/img] There we are, can I release it now?
Hahaha. Do it, I want to see you get banned. Cheat blocker has cleaner code and more. Soon to come your anti-cheat won't be able to compare. As for cheating, yes I cheat a lot. Who gives a damn?
[QUOTE=Extazy;23438602]Hahaha. Do it, I want to see you get banned. Cheat blocker has cleaner code and more. Soon to come your anti-cheat won't be able to compare. As for cheating, yes I cheat a lot. Who gives a damn?[/QUOTE] No offense Co Bullet but you look like an ass right now. Its clear that you took his work and added unnecessary functions and comments to make it look like your own. Although I guess that ties in with following Drew P Richard as your main man for coding. :iceburn: [QUOTE=Banana Lord.;23438497]Know enough cheats, or pay because you can't play? I will have fun in the car, I will be learning to use MySQL with VB.NET, which has been stumping me for a while. Oh and good news! I can tether my rooted Droid to my laptop, meaning I can post my anti cheat! Should I do what you did, and steal your code, change the function names, and call it "Cheat Preventer"? [img]http://dl.dropbox.com/u/5648925/photos/trolololol.png[/img] There we are, can I release it now?[/QUOTE] Had a good laugh at your post, but in all seriousness, it doesnt count as theft if you're the original creator :v:
[QUOTE=Kopimi;23438777]No offense Co Bullet but you look like an ass right now. Its clear that you took his work and added unnecessary functions and comments to make it look like your own. Although I guess that ties in with following Drew P Richard as your main man for coding. :iceburn: Had a good laugh at your post, but in all seriousness, it doesnt count as theft if you're the original creator :v:[/QUOTE] What? It isn't theft because I made it and he copied it?
[QUOTE=Banana Lord.;23438977]What? It isn't theft because I made it and he copied it?[/QUOTE] You said you'd steal it back from him and then re-release it, the joke is that you made it originally so its not theft, its a bad joke :smith:
[QUOTE=Kopimi;23439009]You said you'd steal it back from him and then re-release it, the joke is that you made it originally so its not theft, its a bad joke :smith:[/QUOTE] Nope, took me a minute, but I got it. 1:20 AM here, can't think. It's actually funny now :p. But uh yeah, I'm not stopping. This is my code, different function names and text print names.
[QUOTE=Extazy;23429812]Doesn't this tack onto script enforcer though?[/QUOTE] Nope, if you do it right it dosent, the best part is that i bypass SE by accident :v:
[QUOTE=Tobba;23440844]Nope, if you do it right it dosent, the best part is that i bypass SE by accident :v:[/QUOTE] SIR THIS IS NOT THE PLACE TO BRAG. trololol, by accident?
Sorry, you need to Log In to post a reply to this thread.