mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-09 02:04:59 -04:00
update checksum script
This commit is contained in:
parent
7ae6b4572f
commit
e014e27fc1
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@
|
|||
# usage:
|
||||
# ./check_checksum.sh <file> <hash>
|
||||
|
||||
filehash=`md5 -q $1`
|
||||
filehash=`sha1sum $1`
|
||||
|
||||
echo "Checking file: $1, calculated as $filehash"
|
||||
echo "Using MD5 file: $2"
|
||||
echo "Using SHA1 file: $2"
|
||||
|
||||
if [ $filehash != $2 ]
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue