lukasmartinelli / nigit Goto Github PK
View Code? Open in Web Editor NEWWeb server that wraps around programs and shell scripts and exposes them as API
License: MIT License
Web server that wraps around programs and shell scripts and exposes them as API
License: MIT License
I'm not sure to understand what are the security implications of using nigit on the Internet, I could see a problem if the input variables are executed , however what security issues could be exploited from?:
#!/bin/bash
wkhtmltopdf "$URL" page.pdf > /dev/null 2>&1
cat page.pdf
nigit html2pdf.sh
The current v0.3 release doesn't work on Linux amd64, I've not tested it on other platforms, so I'm not sure if the same issue is present in other systems.
$ wget -O nigit https://github.com/lukasmartinelli/nigit/releases/download/v0.3/nigit_linux_amd64
$ echo '#!/bin/sh' > echo.sh
$ echo 'echo $SAY' >> echo.sh
$ chmod +x nigit echo.sh
$ ./nigit echo.sh
2016/10/29 23:33:27 INFO ▶ Serve from port 8000 with 5 seconds timeout
2016/10/29 23:33:27 INFO ▶ Handle /echo -> echo.sh
2016/10/29 23:33:27 CRITICA ▶ Executable program not found
Compiling from source with go get github.com/lukasmartinelli/nigit
works fine, so the problem probably is within the latest commits before releasing v0.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.