Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.21 KB

README.md

File metadata and controls

15 lines (11 loc) · 1.21 KB

Penn-Shredder

A simple program to create a shell that restricts the run-time of executed processes. The shell takes input from users via stdin and executes said input as a new process. If the process exceeds a timeout, it is killed. If a process is killed, the shell prints a menacing message to stdout.

Installation and Usage

  1. Download the repo
  2. In the project directory, compile the program using the make command. This program was designed to compile using clang, not GCC.
  3. Run the program using the following syntax: ./penn-shredder <user defined timeout period>. For example, ./penn-shredder 10 would start the program such that if a command takes longer than 10 seconds, a menacing message will be displayed and the program will end.

Note on Access

At the request of University of Pennsylvania instruction staff, I have encrypted and removed from public view the following projects in support of Penn's academic integrity goals.

Penn-Shell; Penn-Shredder; Penn-Shake; Penn-Chord and Penn-Search

Please email/message me if you are a recruiter/prospective employer and would like access to the full repositories for each project. I'll be happy to send you the decryption key. Thanks!