r/ComputerCraft • • Aug 22 '15

Advanced Password Utility in ComputerCraft

https://www.youtube.com/attribution_link?a=ud4Wdn8KbqQ&u=%2Fwatch%3Fv%3DISEMfzbY55E%26feature%3Dshare
1 Upvotes

1 comment sorted by

1

u/[deleted] Aug 22 '15 edited Aug 22 '15

Advanced Password Utility in ComputerCraft

Main page

Here

Reddit post

So, I decided to work on a password utility so that all my computers can be locked. I wanted one that seemed like it was a limited version of the shell so that intruders can have a quick play around and try to exploit it (and fail). Here's what it does:

  • If an invalid command is entered, it will display "Unknown command. Type 'help' for a list of commands" in red for 2 seconds before rebooting back to the utility.

  • Working installer

  • shutdown - Instantly turns off the computer

  • edit - Simply displays "Usage: edit", mostly there just to tease the intruder

  • about - States that the utility is a password utility by me in rainbow colours

  • help - Lists all the commands available

  • unlock - Requests the password in order to unlock the terminal

How to install and use

Prerequisites:

  • Advanced Terminal

Installation:

  • Type this command into the terminal: pastebin run szXwQGLt

  • Read the on-screen instructions and then press Enter/Return to begin setup or F1 to quit

  • Enter your password into the black box and press Enter

  • Restart your computer (reboot)

Usage:

  • To sign into the computer, enter the command unlock, then enter your password and press Enter

  • To view all the commands, type help when the utility is open

Planned additions

  • Installer/Setup - Will download the files from pastebin to the terminal and then request a password to be set DONE

  • Encryption - Currently, the password is stored in a raw file as plain text

  • Disable Ctrl+T

  • No reboot after entering command - Currently, most commands will reboot the computer after a few seconds. I plan on changing this so that it's more like the real shell

  • Release of the code - I haven't released the code yet, but it will be released along with the installer which should be within a day or two DONE

  • Share on the ComputerCraft Forums and my website - Once I've done the installer, I will share it on the CC Forums and my website

  • Fix setup bugs

Thanks for reading and I hope you guys enjoy!

PS. Sorry for the video being potato quality