Run scripts from the Internet more securely than curl | bash (experimental)
Go to file
2022-04-08 13:49:03 -07:00
demos Add Python demo and move demos to their own subdir 2022-04-08 13:49:03 -07:00
.gitignore Initial commit 2022-04-06 14:54:46 -07:00
LICENSE Initial commit 2022-04-06 14:54:46 -07:00
netrun.py Allow selection of interpreter 2022-04-08 13:25:20 -07:00
README.md Add Python demo and move demos to their own subdir 2022-04-08 13:49:03 -07:00
requirements.txt Minimal documentation 2022-04-07 19:04:15 -07:00

netrun

Run scripts from the Internet in a way that is safer and more secure than running curl <url> | bash

Work in Progress

netrun is still experimental; don't rely on its working properly. In particular, HTTP response codes are ignored (see #1).

Try it

git clone https://git.kj7rrv.com/kj7rrv/netrun
cd netrun
pip3 install -r requirements.txt
python3 netrun.py https://git.kj7rrv.com/kj7rrv/netrun/raw/branch/master/demos/shell.sh
python3 netrun.py --interpreter=python3 https://git.kj7rrv.com/kj7rrv/netrun/raw/branch/master/demos/python.py