Admins Running Commands On Your Client

ICUICU Join Date: 2005-01-12 Member: 35126Members
edited January 2005 in NS General Discussion
I was playing on a server a few days back and an admin thought i hacked...well i did not care if I was banned or not because i get banned a lot from newb servers, BUT this time was differnt, not only did the admin ban me but he ruined NS and its settings so bad that i had to reinstall all my NS files, is there any way to prevent admins from attacking your computer files? I also found files that did not belong to NS in my NS folder as well, probaly downloaded to my computer by the admin that banned me. There must be a way to prevent such attacks! please help me!

Comments

  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    don't play on servers that allow admins to run commands on your clients is the only thing that you can do

    if the server [server bashing is prohibitied] is reputable, and you weren't hacking and have proof of the admin effing with your ns to the point of reinstall hopefully the server owned will offer you an apology, other than that the is litte to nothing you can do <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • ICUICU Join Date: 2005-01-12 Member: 35126Members
    How can you tell if you joined a server than can run commands on your client?
  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    edited January 2005
    What you want to do, in the future to prevent this from ever happening and not worry about it again, is to make a copy of your current config.cfg and name it to "mycfg.cfg" or whatever.. and keep it in the ns directory so when next time this happens you just have to exec the mycfg.cfg and you're all clear. Best to do it while disconnected so all cvars get registered..

    edit: to tell which servers do it? Right after connecting to the server pull up your console and look for something like "This server can run commands on your client"
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    Also, write-protect your config.cfg file. I've done that and never had a problem.
  • Gecko_God_Of_DooomGecko_God_Of_Dooom Join Date: 2004-02-10 Member: 26353Members
    edited January 2005
    AWWW
    MrRadicalEd beat me to it
  • IsamilIsamil Join Date: 2003-11-25 Member: 23552Members, Constellation
    TAK
    If a server runs adminmod, AMX or anything an high level admin can run commands on your client.
    Easy solution, read only config.cfg.
  • skiflyskifly Join Date: 2003-05-16 Member: 16379Members
    Also protect your userconfig.cfg
    Some @$@%@$ admin did that to me too because I was "hacking." It changed the rates to 10 in my userconfig.cfg, and that somehow transferred over to other HL mods and I lagged terribly.

    I feel that I would be justified in hacking their server and destroying it. They attempted the same thing on me.
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    if both userconfig.cfg and config.cfg are write protect, you are indeed safe
  • ICUICU Join Date: 2005-01-12 Member: 35126Members
    Thanks for the help from all of you and I hope it helps other and not just me, but where is the userconfig.cfg located?
  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    All you want to care about is the config.cfg

    The userconfig.cfg would hold optional aliases and bindings. If all you do is play "stock" NS then just backup your config.cfg in the ns directory.
  • the_holethe_hole Join Date: 2004-01-03 Member: 25019Members, Constellation
    edited January 2005
    you were "slow-hacked" it happens to alot of good players... unfortunately... When an admin is unknowledgable.. and thinks you are hacking.. it happens..

    What it does is set your fps_max to 1, fps_modem to 1, etc... it screws you up bad..

    Delete config.cfg and start NS, a new one will be created..

    Before you do that, copy your config and post it here, so I can see what all it changed, I'm pretty curious, cause it's happened to me before... But I had copies of my configs.

    Open config.cfg and paste it here please... as well as right click on your new one, go to properties, and make it read only.

    Also your userconfig.cfg and autoexec.cfg is ruined.. delete them. Make sure to get anything important out of them.
  • ICUICU Join Date: 2005-01-12 Member: 35126Members
    Still never awnsered where the userconfig.cfg is, i apperntly do not have one
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin-ICU+Jan 12 2005, 07:36 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ICU @ Jan 12 2005, 07:36 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Still never awnsered where the userconfig.cfg is, i apperntly do not have one <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It's something you have to make on your own - you don't have one my default.
  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    You have to create a userconfig.cfg in the game's directory.

    Why?

    because you don't really need a userconfig.cfg

    Like I said.. it holds totally OPTIONAL info like aliases and scripts you write or special binds..
  • ICUICU Join Date: 2005-01-12 Member: 35126Members
    edited January 2005
    If i made one of these with all my key binds would it prevent admins from unbinding my keys? And where can I go to learn how to make one if so.
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin-ICU+Jan 12 2005, 07:42 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ICU @ Jan 12 2005, 07:42 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> If i made one of these with all my key binds would it prevent admins from unbinding my keys? And where can I go to learn how to make one if so. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It could - you would just need to write-protect it like your config file. To make one, either copy your config file and rename the copy* or make a text file and rename it userconfig.cfg.

    *Make sure that if you copy the config file you must <u>not</u> have the line 'exec userconfig.cfg' in the copy. Otherwise your system will lock up, because it will be endlessly be calling on the userconfig file.
  • AudaxAudax Join Date: 2003-09-20 Member: 21025Members
    Just please, make sure to disable developer mode (developer 0), otherwise the read-only gets ignored and they can write over your configs.
  • NEO_PhyteNEO_Phyte We need shirtgons&#33; Join Date: 2003-12-16 Member: 24453Members, Constellation
    <!--QuoteBegin-Audax+Jan 12 2005, 10:48 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Audax @ Jan 12 2005, 10:48 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Just please, make sure to disable developer mode (developer 0), otherwise the read-only gets ignored and they can write over your configs. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    ...but cant a smart admin activate devmode?
  • ShockehShockeh If a packet drops on the web and nobody&#39;s near to see it... Join Date: 2002-11-19 Member: 9336NS1 Playtester, Forum Moderators, Constellation
    <!--QuoteBegin-skifly+Jan 13 2005, 12:28 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (skifly @ Jan 13 2005, 12:28 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Also protect your userconfig.cfg
    Some @$@%@$ admin did that to me too because I was "hacking." It changed the rates to 10 in my userconfig.cfg, and that somehow transferred over to other HL mods and I lagged terribly.

    I feel that I would be justified in hacking their server and destroying it. They attempted the same thing on me. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Except it's not hacking, it's opening a socket to their server which allows two way communication.

    Not only is what you are suggesting illegal now, it's also probably not 'hacking', as 99.99% of 'hackers' can't code their way out of a paper bag.

    And if you're running developer 1, you deserve everything that happens to you anyway. For the umpteen billionth time, it doesn't help.

    - Shockwave
  • BenaiahBenaiah Join Date: 2003-11-11 Member: 22517Members
    But can a server admin actually copy files and then run them on your system?
    If so this is a big f..king hole in 1/2life security. Any1 could set up a hacked server
    and trojan your system!!!
  • RedfordRedford Monorailcatfjord Join Date: 2002-04-28 Member: 528Members, NS1 Playtester
    edited January 2005
    It is completly possible for corrupt admins to use a command called "admin_execall" (in adminmod, for example) which allows them to run ANY HL command on your client. It's worth knowing that any command that you yourself could type into your console an admin can remotly cause your console to process. This means a few things:

    1. Admins can manipulate the UI and enviroment of half-life. This can be a good or bad thing. IE, modified execalls are what allow admins to post messages in green "HL-text" on your HUD, or send specalized messages. This also, allows on a similar tangent to allow them to apply the "glow" effect to players, or spawn monsters, etc.

    2. However, this also allows to admins to mess with your settings. This can range from harmless and annoying (binding all your keys to say "I AM A N00B!") to altering your video and sound settings so severly that HL refuses to run. It is completly possible for a corupt admin to abuse execall to make your HL completly unplayable without you directly editing the config file to fix your settings.


    So what do you do?

    1. Do not play on servers with corrupt admins. This seems like common sense. Note that a corrupt admin is not an admin that does his job, but an admin who abuses his power, does not follow administrative rules, or uses overly-dangerous commands like execall to manipulate other people's settings as punishment.

    2. Keep a backup of your keybind and config. If an admin ever messes up your controls or game in some manner, simply restore from your backup. Otherwise, you may need to borrow a file from someone else or even be forced to reinstall somthing. Also, as previously stated, running dev 0 and making your configs read-only is a good idea too.


    And for those wondering, the ONLY files an admin can send and run on your system are files that are directly used in half-life. These include sounds, textures, and maps, but nothing else.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    there are a couple of evil commands the hl engine provides that it dont matter if you write protect your config files, thet still hit you in the head with a nail. basically you can crash steam, close ns, crash a clients computer, ect.

    and no, im not telling anyone what the commands are. if your a serverop, you definitely dont need to know them.
Sign In or Register to comment.