Questions tagged [hashsum]

Questions related to hashes, hash values or hash codes that are returned by hash functions such as SHA-1.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Hash Sum mismatch Installing docker-ce on Virtualbox Umbuntu Server 18.04

I am following the directions to install Docker-CE. Instructions located at: Get Docker Engine I follow all steps on the guide and get Hash Sum Mismatch when executing the command sudo apt-get ...
0
votes
0answers
23 views

Kali Linux: apt update returns “Hash Sum mismatch” error

I'm experiencing exactly the same issue as described in this question: Kali Linux: apt-get update returns “Hash Sum mismatch” error. Before you mark this as a duplicate however, I have tried the ...
1
vote
0answers
10 views

Argon2 Commands in the Terminal

I have been using Argon2 in my terminal (Debian), but I keep messing up, and I have been unable to find the manual or any other documentation that lists examples of commands that work. Could someone ...
1
vote
1answer
31 views

Update hash file when rechecking files

I'm currently saving each folder on a hash file with the following code find folder/ -type f -exec sha256sum {} > checksumfolder.txt \; I'm wondering if it is possible instead of checking/...
0
votes
1answer
27 views

Unable to pass argument to argon2 command

According to the manual of argon2 (Debian package), it says to pass the password from standard input. However, when I follow the instructions and attempt echo -n "password" | argon2 salt "...
2
votes
1answer
69 views

What encryption mechanism is used to store passwords in `/etc/shadow` in a typical Unix, such as Gnu/Linux?

(From a novice's point of view) The other day I was thinking about how a typical "passwd" command works in a LINUX OS. For example, when we type in "passwd", a prompt appears letting us type in our ...
0
votes
1answer
112 views

List all keys with SHA-1 in the gpg keyring

After reading a paper about "First Chosen-Prefix Collision on SHA-1 and Application to the PGP Web of Trust", I wonder how many SHA-1 keys are left in specific key rings. How to list all keys in a ...
5
votes
1answer
755 views

How to know if password in /etc/shadow is hashed with SHA or MD?

I want to know my /etc/shadow password hash if its SHA or MD or something else. From what I read, it is related to the $ sign, but I don't have any dollar signs. Im using Ubuntu 16 Example: user:0....
8
votes
2answers
745 views

How do I use GNU parallel to calculate sha256 hash?

Based on this: Simultaneously calculate multiple digests (md5, sha256)? I have a folder that has a large number of files that I want to compute the SHA256 hash for. I used to code segment: #!/bin/...
3
votes
1answer
255 views

Automatically verify passwords for classroom exercise? [duplicate]

I'm trying to write a bash script which, among several other things, will "log in" as a user (preferably with su if possible) without needing to interact with the password prompt, i.e., will ...
-2
votes
1answer
28 views

How am I able to use the command “sha256sum x.img” “without” a network connection, and get a hash-response?

I am under the impression that sha256sum pings the distro side of things and reads "THEIR" hash file for my .img and gives me that info in a hash-printout in my term. If so, how I am able to get that ...
1
vote
1answer
92 views

PBKDF2 not the same

I am trying to calculate a PBKDF2 hash, but am getting inconsistent results. Message: Hello Salt: 60C100D05C610E8B94A854DFC0789885 Iterations: 1 Key length: 16 Expected hash: ...
0
votes
1answer
42 views

calculate the total md5 of specific match files

in folder , we have the following HADOOP binary files and their size (BYTES) du -sb * | grep HADOOP[a-z] 334542327 HADOOPaa 334542327 HADOOPab 334542327 HADOOPac 334542327 ...
3
votes
2answers
178 views

Failing to untar

I am dealing with transferring large files from one machine to another (600GB+) and I'm tarring them up using tar -cpvzf file.tar.gz -C PATH_TO_DIR DIR Once finished with the tarring process, the ...
0
votes
0answers
7 views

optware rhash install

Attempts to install Optware: myHostname:/tmp/home/root# ipkg list_installed | grep -i rhash myHostname:/tmp/home/root# ipkg list | grep -i rhash myHostname:/tmp/home/root# ipkg install rhash Nothing ...
2
votes
1answer
66 views

160-bit fingerprint of RSA key

The command ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub prints the 128-bit fingerprint of the RSA key. What is the command to get the 160-bit fingerprint of a RSA key?
0
votes
0answers
35 views

Base64 encoding from SHA512 hash bytes [duplicate]

How to get base64 encoding directly from SHA512 hash bytes and not from the uppercase hexadecimal representation of the SHA512 in linux shell?
0
votes
1answer
70 views

Custom context menu items in file manager? (execute with custom bash script shortcut)

Is there a way in any Linux GUI file manager to create a custom shortcut to a bash file to be executed using the selected file(s)? Example: Create hash sums of this file. Bash script: makehashsums....
1
vote
0answers
35 views

GraphDriver & RootFS entry in manifest file

When the image is pushed to Docker registery, the content of each image layer is compressed and then the corresponding digest(SHA-256) is placed in manifest file. Manifest file for redis repository ...
1
vote
1answer
1k views

How do I fix this error: “ipset v6.11: Hash is full, cannot add more elements”

When I run the update script for voipbl manually, I get this error from ipset: ipset v6.11: Hash is full, cannot add more elements. I am running it manually because some IPs that are on the blacklist ...
0
votes
0answers
62 views

What is the sha1sum -c equivalent with OpenSSL?

I generated checksums for a list of files and stored them a .sha1 file by using the following command: openssl dgst -r -sha1 -out sums.sha1 * which is the equivalent of: sha1sum * > sums.sha1 ...
0
votes
0answers
38 views

Continuously detect a change of chksum of files under folder with inotify-tools [duplicate]

I just installed inotify-tools. I would like to continuously detect change of chksum of files under folder /path Once a change was detect ( under /path ) then it will print echo “chksum of files ...
0
votes
1answer
124 views

do I use sha256sum or sha256hmac for file checksum

I have a text file with stuff in it I want to checksum it and create a hash for later use to know if the file has changed, when used anywhere else which to use? sha256sum myfile or sha256hmac myfile
2
votes
1answer
80 views

md5sum of /dev/sr1 different than ISO image?

After writing an ISO image using Brasero, I discovered that the md5sum of the target DVD is different than the ISO image, despite no readability errors. What has caused that difference?
0
votes
1answer
54 views

Generate a sfv file with bash (crcs along with the paths)

How would I script something so that it gives me a list of crcs along with the paths, like an sfv file? I could code this in python but there is probably a simpler way in shell. So far I have: find ....
0
votes
1answer
300 views

In a bash script, how to use a variable inside a command and assign to a new variable?

I'm trying to store the MD5 of a variable into another variable. Between backticks and the more modern () notation, I cannot figure out how to assign the value of a variable run through a command to ...
0
votes
2answers
278 views

Fast hashing in awk?

I find it cool that someone has written MD5 in AWK: https://kaworu.ch/blog/2017/05/23/implementing-md5-in-AWK/ Unfortunately that one is quite slow. I am looking for a fast hashing tool for AWK that ...
0
votes
1answer
2k views

how to generate bcrypt 2a variation hash instead of 2y?

On my linux machine, I'm able to generate bcrypt hash from command line using htpassword htpasswd -bnBC 10 "" password | tr -d ':\n' however it generates "$2y$" but I need "$2a$" (bcrypt 2a). How ...
6
votes
5answers
854 views

Using pv with md5sum

I used md5sum with pv to check 4 GiB of files that are in the same directory: md5sum dir/* | pv -s 4g | sort The command completes successfully in about 28 seconds, but pv's output is all wrong. ...
-1
votes
1answer
132 views

find the relevant files with their checksum

We want to find all the .jar files with their chksum. find . -name "*.jar" ./lib/ant-1.8.0.jar ./lib/ant-launcher-1.8.0.jar ./lib/backport-util-concurrent-3.1.jar ./lib/classworlds-1.1-alpha-2.jar ./...
1
vote
1answer
66 views

awk inside another awk's system

I am given a file containing the md5 values for files within the same folder. The information is in the file md5checksums.txt in the following format: b0da7ead9d82a3494d7e0a7099871ef4 ./...
0
votes
3answers
1k views

Print SHA sums without “-” at the end?

Is it possible to have SHA sums print without the - appended to the end? $ echo test | sha1sum 4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 - <--- this "-" dash/hyphen I know we can use awk and ...
1
vote
1answer
51 views

Command line generates different hashsum than online hash generator… [duplicate]

Input text: test Online MD5 hashsum generator: 098f6bcd4621d373cade4e832627b4f6 echo "test" | md5sum: d8e8fca2dc0f896fd7cb4cb0031ba249 Also the same happens to sha512sum and sha1sum. Why does Linux ...
9
votes
1answer
1k views

How to check a hash sum file on FreeBSD?

Situation I'm on FreeBSD 11.2 without GUI. I'm brand new to BSD systems. Suppose we have a SHA512SUM file generated on FreeBSD with: sha512 encrypt-file-aes256 decrypt-file-aes256 > SHA512SUM ...
1
vote
1answer
442 views

Using korn shell to compare local and remote MD5 over sftp

I am in need of creating and checking checksums between a local file, and the remote file I just pushed. If the MD5 checks, continue, else break. This needs to be in KORN shell scripting because we ...
0
votes
2answers
55 views

Restoring files names using md5 file

I recovered some files from my HDD, but there names were changed. Also, I found md5 files of the recovered files. How can I use the md5 file to restore files names?
-4
votes
2answers
52 views

Remove all before last “:” in Terminal [closed]

I have millions of lines with these 2 formats all in one merged file. hash:salt:password hash:password hash:hash What I want is just keep the password, then remove duplicates and after remove ...
2
votes
2answers
749 views

Compare tarballs with sha1sum

I create a .tgz/tarball with $(npm pack). I then run: sha1sum oresoftware-npp-0.0.1001.tgz and I get: 77c58da68593dcdcd14bb16a37f5f63ef42bab63 oresoftware-npp-0.0.1001.tgz I want to compare ...
2
votes
4answers
851 views

Reverse engineering IP camera firmware to find admin password

I'm trying to reverse engineering an IP camera firmware and found the complete ROM OS but I would like to find out the system password so I have looked at /etc/passwd. The file is not there, it is ...
0
votes
1answer
532 views

md5sum warning about formatted lines

I am trying to validate a file using the following command: $ md5sum myfile_v2.1.ova -c myfile_v2.1.md5 md5sum: myfile_v2.1.ova: no properly formatted MD5 checksum lines found myfile_v2.1.ova: OK ...
0
votes
2answers
760 views

get base64 value from openssl md5 command in script

I am trying to get the base64 md5 value of the latest file in an oracle backup directory: for file in "$(find /oracle/PD1/sapbackup/b*/ -newermt $date -type f)"; do openssl md5 -binary $file | ...
0
votes
1answer
130 views

md5 sum (fdupes) vs sha256sum - why different results - ubuntu server

I have a directory structure that I know contains a LOT of duplicate files. (the dir tree has 67K files with around 8K duplicates). Naturally, the duplicates are all same size in bytes and the same ...
0
votes
2answers
648 views

Postfix configuration issue with fips on centos 7; mailgun relay

I am trying to setup postfix to relay all mail generated on the local machine via SMTP to a mailgun relay. I have used the mailgun relay before with success on an ubuntu server, but I am migrating to ...
1
vote
1answer
1k views

How to install md5sum in FreeBSD?

I am using FreeBSD 11.1 I am unable to find right way to install md5sum package in FreeBSD installation. I need md5sum for Conda installation. Please suggest if you know anyways.
6
votes
2answers
1k views

Tar produces different files each time

I often have large directories that I want to transfer to a local computer from a server. Instead of using recursive scp or rsync on the directory itself, I'll often tar and gzip it first and then ...
1
vote
2answers
2k views

md5sum failed to open a file, directory issue

I'm having a problem checking certain .md5 files, they are all files that are in directories which have been renamed since the files were downloaded. [User1 Directory X]$ md5sum -c file1.txt.md5 ...
11
votes
1answer
9k views

How to find the hashing algorithm used to hash passwords?

I have the working password and can see the hash (/etc/passwd). How do I find the hashing algorithm used to hash the password, without manually trying different algorithms until I find a match?
15
votes
3answers
13k views

No sha256sum in MacOS

I tried to use sha256sum in High Sierra; I attempted to install it with MacPorts, as: sudo port install sha256sum It did not work. What to do?
0
votes
1answer
282 views

sha512sum from terminal is wrong [duplicate]

Runing echo "zyc.txt" | openssl dgst -sha512 (stdin)= 11aa472bf4c97ffb1fae06a3f7175127da084c5dfb840038ee308b37136330e5b6a56cc053c62881f10aec88948d8addb1d4844496cdb08e4067b4fd4601330e or ...
22
votes
2answers
2k views

md5sum prepends '\' to the checksum

Why md5sum is prepending "\" in front of the checksum when finding the checksum of a file with "\" in the name? $ md5sum /tmp/test\\test \d41d8cd98f00b204e9800998ecf8427e /tmp/test\\test The same ...

1
2 3 4 5