roryqueue / beetle

:beetle: Sting some code and make it throw syntax errors without any visible code changes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐞 Beetle

You won't see any changes in the stung code file but you will get errors when running it

Beetle is a little utility that let's you sting some piece of source code and make it stop working. While you won't see any changes in code, you will get errors when running it.

Of-course, Beetle is language agnostic and you can use it on any source-code file no matter what the language is.

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

$ beetle <sting|cure> <sourcecode-filepath>

Stinging a file

Make any piece of code to stop working by

$ beetle sting Controller.php

Stinging a file

Curing the stung file

$ beetle cure Controller.php

Curing a file

Disclaimer

It is just a quick, fun little project that I developed; and I won't advise you to use it on someone.

License

MIT © Kamran Ahmed

About

:beetle: Sting some code and make it throw syntax errors without any visible code changes


Languages

Language:Shell 77.5%Language:Makefile 22.5%