What is bitcheck?
Why - Safety. Nothing is perfect, but rust goes along way to make it more difficult for things like: out-of-bounds reads/writes, use-after-free, null pointer dereference and data races to occur. All of which, can lead to potentially exploitable behavior
How
- To use this script, simply install it, with cargo.
username@example.home> cargo install bitcheck
//the script will install to ~/.cargo/bin
- It is suggested that the ~/.cargo/bin folder be added to the existing path
- This can be done by adding the following line to the .bashrc, in the home folder
export PATH=$PATH:$HOME/.cargo/bin
- Save, exit and relaunch the terminal to load the recent changes.
- Bitcheck now supports all versions of ArchLabs currently available for download.
- ~~Currently only two version of ArchLabs can be downloaded.~~
- ~~archlabs-2017-10.iso~~
- ~~archlabs-2017-10-lts.iso~~
Note: The script will crawl your home directory tree looking for the ArchLabs images. - When a potential ArchLabs image is found, it will return the location of it. - Added support for Windows Directory Tree structure!
Running Bitcheck ``` // In a terminal or the command line for Windows, not PowerShell. Only after bitcheck has been installed using cargo ~~//Note: the script assumes the target image has been downloaded to the //users default directory of ~/Downloads~~ ~~username@example.home> cd Downloads/~~ ~~username@example.home> bitcheck filename.iso~~ // Linux Terminal username@example.home>bitcheck
//Windows Command Line C:\Users\username\bitcheck "C:\Users\username\Downloads\archlabs-2018-03.iso" SHA1 CHECKSUM PASS: true MD5 CHECKSUM PASS: true ``` *Important Note* If the one or both of the following is not present, after the location of the image: SHA1 CHECKSUM PASS: true MD5 CHECKSUM PASS: true The image you have is CORRUPT! Do not use it, as it could have been tampered with.
bitcheck , is only intended for use with ArchLabs. Currently, it does not support other distributions.