This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
viper151.'s profile picture

Locker, The Computer Lock Program

Started by viper151., 03 July 2014 - 12:11 AM
viper151. #1
Posted 03 July 2014 - 02:11 AM
Locker, The Computer Lock Program

This the very first of my very handy programs for computercraft I have released to the public. Please Enjoy it and DON'T re-post this claiming its yours, however you may use parts of the source for other programs.
Features:
- Disabled ctrl - T
- Easy to configure password and username
- Hidden password characters
- Easy to use
- Custom lock run file

Download:

Open your computer and type: pastebin get V2VSZJxK Lock


How to configure:

Edit the words that say "password", and "user" to your preferences.


os.pullEvent = os.pullEventRaw
---Configure Below (Only edit inside of the "" marks)---
passcode = "password"
user = "user"
---Source---
Edited on 03 July 2014 - 01:29 PM
koenkoe #2
Posted 03 July 2014 - 05:41 PM
You still can reboot the computer
Saldor010 #3
Posted 04 July 2014 - 03:50 AM
You still can reboot the computer

That's dealt with on the java side. There isn't anything he can do about that. :mellow:/>
Takaqod #4
Posted 04 July 2014 - 01:50 PM
if the program name is 'startup', you can't get into the pc without typing the password so i think it's safety (i don't know how get arround the password)
nice little program but a bit long for waiting the end of the display :)/> (multi treads? :P/> )
lesander #5
Posted 05 July 2014 - 05:44 PM
You should check out the login program example file from Kit:
https://github.com/AxTo/Kit/blob/master/examples/login.lua
It doesn't store the username and password raw, but heavily hashed with SHA512 and salts.
There's no way to get your login back if you've forgotten it x)
Geforce Fan #6
Posted 09 July 2014 - 06:13 AM
You should check out the login program example file from Kit:
https://github.com/A...mples/login.lua
It doesn't store the username and password raw, but heavily hashed with SHA512 and salts.
There's no way to get your login back if you've forgotten it x)
now encrypt my entire cc computer with my password… xD jk.
logsys #7
Posted 20 July 2014 - 11:15 PM
You should check out the login program example file from Kit:
https://github.com/AxTo/Kit/blob/master/examples/login.lua
It doesn't store the username and password raw, but heavily hashed with SHA512 and salts.
There's no way to get your login back if you've forgotten it x)
I would use SHA256 cause it's safer, takes less time to generate and the hash generated are smaller