Giter Site home page Giter Site logo

curlbash's Introduction

curlbash

Revolutionary tool, that brings curl | bash of the future.

Security issues

Have you even been bothered by security concerns like the one mentioned on certain article?

Have you addressed that by tiresome calculating SHA256 for each file manually, and then writing a lot of code to make sure that curled file is the same as the one you already reviewed?

Are you tired by lack of standard solution for that common problem? Do you screams in pain each time you have to install something when you build your docker image?

curlbash to the rescue!

curlbash is an amazing way of solving all your issues. It's beautiful and simple and mind-blowing tool for secure installation with bash scripts downloaded from external server!

Usage

It is amazingly simple:

curlsha [url]

This will download the script and display it to you with less. Once you end up investigating and close the file, it will return SHA256 hash of the script.

Then you and your fellow developers can run:

curlbash [url] [sha256]

and the tool will download and run script only if it matches the SHA256 hash. Amazing!

Installation

curlbash depends on bash, curl and sha256sum. You can install it with

sudo make install

and remove with

sudo make uninstall

By default it will install to /usr/bin, but you can override it with INSTALL_DIR environment variable.

curlbash's People

Contributors

mateuszkubuszok avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.