Be evil to curl | bash executors.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Travis Burtrum 737768bdca Version 0.1.0 3 months ago
py Remove python dependency on numpy 3 months ago
src Version 0.1.0 3 months ago
.gitignore Version 0.1.0 3 months ago
Cargo.lock hardcoded working version 3 months ago
Cargo.toml Version 0.1.0 3 months ago
LICENSE.md Version 0.1.0 3 months ago
README.md Version 0.1.0 3 months ago

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