Code Monkey home page Code Monkey logo

websum's Introduction

WebSum

WebSum is a next-gen integrity checker written in Rust.

It can be used for finding out what an installation image contains or just validating it!

Installation

# Arch Linux
yay -S websum-bin

# Other
cargo install websum

How to use

The usage is pretty much the same as other tools like sha256sum

$ websum ./installation.iso

Example (Successful):

$ websum ./arch.iso
Processing...
SHA256: 55284A14F71DF3E1E45A1E732097F2CA0034C0FC0D912E58812C2EEDEDA0828F
This file is a valid "archlinux-2024.08.01-x86_64.iso" file.

Example (Unsuccessful):

$ websum ./random.iso
Processing...
SHA256: 59AFA864CE54B70CADFFE846A251CB8462E868188154CBB1BABFA92BEBF1C2A0
This file is not found in our archive! It is either invalid or not in our archive.

How does it work

WebSum firstly gets the sha256 hash of the file that is given as an argument. Then the result sha256 is used to set a url to the archive directory in this repository. (if the default server is used)

https://raw.githubusercontent.com/yilmaz08/websum/main/archive/%h (%h is replaced with sha256 hash)

and if the hash has been saved before, it contains the name of the file inside.

Finally, the HTTP response is used to print final response.

The archive can also be used manually by getting the hash with sha256 and visiting the raw file on the browser (or with curl).

Contribution

WebSum is open source and we welcome any contributions.

You can either improve/fix the code or update hashes from the archive.

  • Open an issue to discuss your proposed changes if it changes the source code. (When you only change the archive, you don't need an issue beforehand.)
  • Fork the repository and make needed changes on the forked repository. (If you split changes into different commits, it would be better.)
  • Open a pull request to merge your changes into the main WebSum repository.

We appreciate any contributions, no matter how small!

websum's People

Contributors

yilmaz08 avatar

Stargazers

 avatar Ahmet Arda Kavakcı avatar  avatar

Watchers

 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.