Run scripts from the Internet more securely than `curl | bash` (experimental)
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.
Samuel Sloniker 37786d41c1 Add Python demo and move demos to their own subdir 2 years ago
demos Add Python demo and move demos to their own subdir 2 years ago
.gitignore Initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md Add Python demo and move demos to their own subdir 2 years ago
netrun.py Allow selection of interpreter 2 years ago
requirements.txt Minimal documentation 2 years ago

README.md

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