Giter Site home page Giter Site logo

osxsay's Introduction

######################

NOTE: ARCHIVED PROJECT

######################

This project is archived for historical reasons and should not be used.


OSXSAY

A command line prank using OSX's "say" command

This is a simple prank to pull on someone running OSX if they leave their computer unlocked. What it does (could do if you wanted to fork and uncomment things):

  • Adds a line to crontab to keep itself going via forever-monitor
  • Installs node into ~/.noderz
  • Runs a web server on port 4242 that...
    • allows you to run any command via OSX's say command that...
      • Pumps the volume to 100%
      • Says the line of text you give it
      • Returns back to the previous volume

Screenshot of utility

About Security

A prank that totally takes over the computer wouldn't be cool. Here's how it stays somewhat harmless:

  • Whitelists only the following characters for exec: [a-z0-9.-_,' ] (strings are double quoted)
  • Always runs in userspace. Does not use sudo or anything else to risk compromising the system
  • Has a kill switch (killall node, remove crontab, delete ~/.noderz)

Why?

Because a friend always forgot to lock the computer.

Hopefully now they will.

osxsay's People

Contributors

jakobo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

philax

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.