Abuse unicode to incite mayhem
Shell Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README.md
beetle
installer.sh

README.md

beetle

Abusing Unicode to incite mayhem

Introduction

beetle

It replaces the space character with an invisible unicode character in your source code. You won't see any changes in code but you will get errors when trying to run it.

Fun games to play with beetle:

  • Teach someone an encoding lesson
  • Prank your colleagues
  • Get fired?!

Install

You can install it either using CURL

$ curl -L https://raw.githubusercontent.com/kamranahmedse/beetle/master/installer.sh | sudo sh

Or by cloning and manually installing it

$ git clone https://github.com/kamranahmedse/beetle.git
$ cd beetle
$ sudo make install

Usage

You can either sting any file which will make it stop working or revert the changes using cure command.

Make it not work

$ beetle sting user.controller.js

Restore to original state

$ beetle cure user.controller.js

Example

Original file – without any errors/squiggly lines

normal file

Stung file beetle sting forgot-password.component.ts

stung file

License

MIT © Kamran Ahmed