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.
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
$ beetle <sting|cure> <sourcecode-filepath>
Stinging a file
Make any piece of code to stop working by
$ beetle sting Controller.php
Curing the stung file
$ beetle cure Controller.php
It is just a quick, fun little project that I developed; and I won't advise you to use it on someone.
MIT © Kamran Ahmed