GNU/Linux screen bash 501 views

https://github.com/shitchell/response-test/

Starts a fake “shell” that emulates /bin/sh. Except that all commands are “not found”. All signals are captured so that the user can’t (easily) exit the prompt. Upon exiting, it kills the parent process (or whatever PID was passed as a parameter).

Originally intended as part of a secondary security measure for my webserver since my host allows, imho, unsecure logins from their web interface that led to a hacker gaining root access to my server. Used in conjunction with the other scripts in the response-test suite, lolsh provides a shadowban-esque prompt for unsuccessful logins that gives the impression of successfully logging in to a very broken server.

More recordings by shitchell

organizer-tui 0:24

by shitchell