Skip to content

A simple shell program to take user input and redirect it using CLI arguments. Input is redirected either to a stdout file or to another process using pipelining.

Notifications You must be signed in to change notification settings

P0bbn/PennShredder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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!

About

A simple shell program to take user input and redirect it using CLI arguments. Input is redirected either to a stdout file or to another process using pipelining.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published