kamranahmedse / beetle

Abuse unicode to incite mayhem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Abuse unicode to incite mayhem


Languages

Language:Shell 77.5%Language:Makefile 22.5%