Home

Awesome

Pipe Injector

Node.js script that can detect when "curl ... | bash" is being used and serve a different file than normal. This is an implementation of this article https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/

Requirements

Usage

The first 4 lines of injector.js are the settings used to configure the program:

Warning

This program is created only for educational purposes only. Do not use this on anyone without their informed consent.