Solved Rcon.password in logs

Discussion in 'Rust Discussion' started by Vypr, Jun 22, 2016.

  1. We had to recently shut down access to moderators to our logs because we noticed the r.con password is included in the logs. We run Oxide, is there a way to hide these details in the logs so we can give access to our mods?
     
  2. Wulf

    Wulf Community Admin

    The password is printed to the log with the other settings in your .bat or config by Rust when it starts the server. There isn't any easy way to hide it short of patching that logging out of the game's DLL most likely. It should be getting filtered by Rust, but for some reason it isn't, not sure why.

    Code:
    string text = Facepunch.CommandLine.Full.Replace(Facepunch.CommandLine.GetSwitch("-rcon.password", Facepunch.CommandLine.GetSwitch("+rcon.password", "RCONPASSWORD")), "******");
     
  3. Well that's unfortunate
     
  4. Wulf

    Wulf Community Admin

    See my updated response too. I'm looking into why the filtering may not be working.
     
  5. Oh wow, yeah that's strange because it's for sure in the logs right now. Thanks for looking
     
  6. Wulf

    Wulf Community Admin

    Fixed one of the instances locally, looking into fixing another. Both are on Rust's end, not sure if I can fix one of them.
     
  7. Any luck on this or will this be something Facepunch will have to fix?
     
  8. Wulf

    Wulf Community Admin

    I have it mostly fixed locally, though ideally Facepunch would. I'll likely release a build for it later today.
     
  9. Wulf

    Wulf Community Admin

    I managed to add another patch to hide the other, so you should be good now as of the latest Oxide build. :)