curl_bash 0.1.0

Be evil to curl | bash executors.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# curl_bash

Be evil to curl | bash executors.

Inspired by [https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/]https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/, written more as a fun way to write something with rust than a useful tool.

Usage:

- `curl_bash`
- `curl -sSkv http://localhost:5555/setup.bash | bash`
- `curl -sSkv http://localhost:5555/setup.bash | cat`
- `curl -sSkv http://localhost:5555/setup.bash | cat -v`

License
-------
GNU/AGPLv3 - Check LICENSE.md for details