Shell-lock - A shell emulator, but also a lock screen

Started by Fatboychummy, Nov 16, 2018, 07:06 am

Previous topic - Next topic

Fatboychummy

Welcome to another installment of fatboychummy makes crappy things.

Today's object of affection is Shell-Lock.  It's a program that is designed to look, and act, like the shell... except it's also a lock program.

How it works:

It passes all inputs through a filter (whitelist or blacklist), then checks if you can do it.
(It's really that simple, except it's not, but lets not get into the fine details as you can look through my code yourself :) )

Examples:

The look of it, customized, when you start it up.


The look of it when you try to do something.


Look, you can run other programs and terminate them (Used the program "lua" just as an example, you can use whatever... like cowsay)


And of course, YOU CAN LOG IN YEEEEEEEEEEEEEEEEEEEAAAAAAAAAHHHHHHHH


Logging in, as with most locks, will take you to the normal shell.

And that's it folks, please pick through the code and ree at it until it works :)

Fatboychummy

Found bug:

type
Code Select
<anyprogramname> login and it'll run <anyprogramname>

10/10 I've failed miserably.  Will fix soon.