Skip to content

Instantly share code, notes, and snippets.

@aklap
aklap / solutions.md
Last active January 16, 2017 08:36
bandit@overthewire

Bandit at overthewire.org

Levels 0-26. As of 5/24/16 there is no level 27.

Level 0


Login into remote server using ssh

Commandss:

@aklap
aklap / checking_shasums.md
Last active July 7, 2023 14:11
How to check a file's shasum

How to check file integrity with shasum


For verifying the integrity (but not authenticity of data, i.e., who authored it or the origin of the file) of a file, it is necessary to run a checksum function on the file which will output a value and compare it to a previously stored checksum value; if both values match, we can be relatively confident that the file hasn't been tampered with or altered.

You might be asked to verify a file's sha1sum or sha2sum–-all this means is calculating and verifying the cryptographic sha1 or sha2 hash value or digest included in the file.

Various commands and methods for verifying shasum 1 or 2:


Organic:
In terminal run: