Rust
Baly Nov 4, 2015 @ 3:48pm
Brute force open code locks
I begun to look into this after somebody opened 3 of my code locked doors (each with different code) and changed the code. Turns out there are quite a few posts about these problems, some of them are several months old but nothing was done to address this big problem.

So yes, it is quite easy to make script/program that tries out each possibility for 4 digit code, door opening can be done in 1-5 seconds since there is no delay on each attempt what so ever at this time. Here are a few ideas how to fix this:
- Adding a delay for each attempt would be a good start.
- Maybe put in a few more digits.
- Only several bad attempts accepted, then lock does not respond for some time (but those that know the code should be able to open the doors, or you can block someone inside!).
- Fixed number of attempts over some time for each individual (alternative to the one above, this does not require code lock blocking itself out).

I'm sure you can play around with these ideas to make it perfect, just so it would take hours or days to crack the code by force. The hack for this exists and it is private as it seems. Tt makes building walls and armored doors pointless and every base easy lootable.

If anyone has better or different ideas, please write them here aswell.

Something went wrong while displaying this content. Refresh

Error Reference: Community_9734361_
Loading CSS chunk 7561 failed.
(error: https://community.fastly.steamstatic.com/public/css/applications/community/communityawardsapp.css?contenthash=789dd1fbdb6c6b5c773d)
Showing 1-9 of 9 comments
Baly Nov 7, 2015 @ 3:49pm 
My bad. It seems that they fixed this by introducing -1 hp for each failed attempt. Fair enough
Reff Nov 21, 2015 @ 5:12pm 
Now they seem to be bringing food while naked and do this anyhow. Takes a few more seconds only to heal.
On modded servers it's easy to code a patch but vanilla can be hurt by this.
Sparkle tits Dec 6, 2015 @ 3:06am 
only doors i personally "bruteforced" was MANUALY trying all years from 1960-2000 ish (player birthdates) you would be amazed howmanny times this worked :steamsalty:
Gibby Dec 26, 2015 @ 6:44pm 
Originally posted by TemplarKnight:
only doors i personally "bruteforced" was MANUALY trying all years from 1960-2000 ish (player birthdates) you would be amazed howmanny times this worked :steamsalty:
ty bro, im gonna try it xD
sEver Dec 28, 2015 @ 5:35pm 
Originally posted by TemplarKnight:
only doors i personally "bruteforced" was MANUALY trying all years from 1960-2000 ish (player birthdates) you would be amazed howmanny times this worked :steamsalty:
Brilliant :'-)
T R A I T O R Feb 1, 2016 @ 2:48pm 
Be sure not to use any obvious codes such as 1337, 1234, 4321, 6969, 0000, or your birth year. Way too many people use their birth year.
Para Feb 11, 2016 @ 5:56am 
Originally posted by Nuno:
Now they seem to be bringing food while naked and do this anyhow. Takes a few more seconds only to heal.
On modded servers it's easy to code a patch but vanilla can be hurt by this.
They really should just implement one of the above fixes, they would be more efficient and realistic. I'm not necessarily against codelock hacking, but it should be an ingame mechanic that requires some sort of a rare item.

Also here's an easy way to defend against this. When you leave the server just change all the outer most locks into keylocks then keep the keys to yourself while you're sleeping in the base. Then just change back to code lock when you return to the game. I don't think you can bruteforce locks in mere seconds anymore due to the health loss they implemented so it's not that likely you'll be bruteforced while you're in the server(unless you're away from your base for like a really long time).
Last edited by Para; Feb 11, 2016 @ 8:17pm
A Phantom Pain Feb 23, 2016 @ 11:52pm 
Most recent addition.

Codelock takes away 5 HP on first failed attempt, then an additional 5 hp for each failed attempt, so -5 HP, then -10 HP, then -15 HP, all the way up till the point where it can instantly kill you with full gear at full health.

You have to leave the area for an hour before the damage dealt by the lock resets back to 5.
01X Feb 29, 2016 @ 9:50am 
They probably didn't guess your code but instead bring bone with them and break the doors if they're sheet metal.

Bone club + 5ish guys and one of those doors will come down in a few minutes.

Then they get inside of your base. Take metal fragments and make a new door and code lock.

This happened to me and it appears like they brute force it but actually they break your door and replace door.
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Nov 4, 2015 @ 3:48pm
Posts: 9