Be evil to curl | bash executors.
Dosyaya git
Travis Burtrum 737768bdca Version 0.1.0 2019-02-15 22:57:35 -05:00
py Remove python dependency on numpy 2019-01-28 00:41:30 -05:00
src Version 0.1.0 2019-02-15 22:57:35 -05:00
.gitignore Version 0.1.0 2019-02-15 22:57:35 -05:00
Cargo.lock hardcoded working version 2019-02-11 23:45:15 -05:00
Cargo.toml Version 0.1.0 2019-02-15 22:57:35 -05:00
LICENSE.md Version 0.1.0 2019-02-15 22:57:35 -05:00
README.md Version 0.1.0 2019-02-15 22:57:35 -05:00

README.md

curl_bash

Be evil to curl | bash executors.

Inspired by 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