Skip to main content

Questions tagged [hash]

The tag has no usage guidance.

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

Nginx Fails To Start After Update To 1.25.4 - could not build optimal server_names_hash, then zero size shared memory zone "one"

I just updated nginx to 1.25.4 on one of my Ubuntu Linux 20.04.6 servers and it is now failing to start. Errors I am getting are as follows: 2024/03/07 12:46:28 [warn] 29836#29836: could not build ...
svet0slav's user avatar
0 votes
1 answer
124 views

Gitlab - What does "roles@[hash]" in a project means?

What does roles @ hash in a gitlab project means? When clicking on roles it forwards to a role folder. When clicking on the hash it forwards to a branch which name is just the hash. The branch doesn'...
s3eblue's user avatar
0 votes
0 answers
95 views

Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64 even when its set under http (stream module used)

since I can only ask questions here but its more of a solution for other people that have this issues I hope its still fine to be posting here, I didnt know a better place since I don't own a website ...
Felix941's user avatar
0 votes
0 answers
361 views

Storing Hashed Passwords for Docker and Docker Compose

What is the best way to store passwords and use them in Dockerfile and docker-compose.yaml. Can I store the secrets in a hashed format and make use of it, So that no one can read my real passwords ...
zakadmin's user avatar
0 votes
2 answers
476 views

PureFTPD 1.0.50 with MariaDB fails to auth, possible reason wrong hash

I am using pure-ftpd with MariaDB to auth users. After upgrade to Debian 12 Bookworm it stopped working. Debian 12 includes new pure-ftpd 1.0.50, which has introduced the following change: Support for ...
oneee's user avatar
  • 1
0 votes
1 answer
83 views

Strange hash lengths in OpenLDAP

I recently went through all the hashes stored in an LDAP instance I have access to and noticed something strange that I can't explain. Despite all the hashes being marked as SSHA (which should be ...
MarkZ's user avatar
  • 11
1 vote
2 answers
9k views

Generate SHA256 Hash of a STRING from Windows Command Line

While this is simple to do in the *nix world, I can't come up with a solution for generating a SHA256 hash of a string from the Windows command shell (not PowerShell) without installing a 3rd party ...
Michael Oryl's user avatar
1 vote
1 answer
827 views

Malformed BASE64 value in vmail_ssl.map.db

I'm using postfix in Ubuntu 20.04.5 . Here's my vmail_ssl.map file, with domain names redacted: mail.domain.org /etc/letsencrypt/live/mail.domain.org/privkey.pem /etc/letsencrypt/live/mail.domain.org/...
Valerica's user avatar
0 votes
1 answer
239 views

PureFtpD to Proftp Password Conversion

I am planning to migrate users from pureftp to proftpd, i need a tool to perform password conversion Mysql password format- MYSQLCrypt md5 pureftp From: 9dd4e461268c8034f5c8564e155c67a6 Proftpd - ...
Rajesh Yidi's user avatar
0 votes
1 answer
603 views

pgcrypto and password hashing

I'm thinking about my choices regarding how to store passwords in Postgres. One such option is to use pgcrypto. Reading their docs, I see that their crypt and gen_salt functions do not use sha256 but ...
Eugene mtl's user avatar
0 votes
1 answer
1k views

How to overcome the Weaker MD4 hash issue with samba

We are using samba configuration on our RedHat(RHEL7.9) systems, where SMB authentication is based on a NTLM password hash which basically a clear-text credential for a challenge-response ...
Karn Kumar's user avatar
1 vote
1 answer
2k views

Windows Server 2012: how to prevent IIS from choosing SHA-1 for connections?

The problem: IIS on Windows 2012 picks SHA-1 algorithm when the client uses SHA-1 certificate. Even though the server-side certificate is SHA-256. So Chrome/Edge don't work. On analogous Windows 2016 ...
Mikhail Orlov's user avatar
0 votes
1 answer
163 views

How to instruct Postfix to block a specific Hash (to protect against a known IOC attack) of attached files or content?

an attack is ongoing and we want to block at the relay mail level, some Hashes (of attached files or even the email content) to be sent or received. I want to instruct postfix to reject mail with ...
Boxdoss's user avatar
2 votes
0 answers
4k views

Can't change size of types_hash_max_size

Currently I'm trying to setup a nextcloud server with nginx. Now I've the following in my /etc/nginx/sites-available/nextcloud.conf: server { listen 443 ssl; server_name localhost; (...) ...
TornaxO7's user avatar
  • 185
3 votes
3 answers
679 views

Is checking data integrity with hashes useful for my scenario?

I have a NAS as production system (mostly video footage and project files) and a 1:1 backup. I only need to retrieve the backup data in cases of emergency. Such a case didn't occur yet. Lately I'm ...
Martin's user avatar
  • 31
0 votes
1 answer
2k views

Compute and update the md5 hash after the fact

So... I just realized that the utility I’ve been using to upload data to azure blobs has only been setting content-md5 hashes for the small files, leaving the larger (more important) files without a ...
Brian O'Connor's user avatar
1 vote
1 answer
265 views

Which EC2 Instance to hash a large amount of 25gb files

I have an EBS (elastic block storage) on AWS with large amount of 25GB files (1000). I would like to calculate a SHA256 sum for each file. Which EC2 instance would be the best for such task (cpu ...
ECII's user avatar
  • 225
0 votes
1 answer
519 views

Unknown directive "hash" for nginx while using with $remote_addr

I have using ip_hash in nginx conf file but found the requests were always redirected to same server address. Found that using $remote_addr should help to resolve this but nginx gives error 2020/05/...
Bijendra's user avatar
  • 171
1 vote
0 answers
42 views

What hash function is used to cache credentials on Windows 10?

I am looking for the hash function used by Windows to cache user passwords locally on a computer. The client machine would run Windows 10. The AD Controller would run Windows Server 2016.
LeWoody's user avatar
  • 309
0 votes
0 answers
65 views

Modify OpenLDAP hashing algorithm [duplicate]

I have a CentOS7 Server running slapd 2.4.44 and I'd like to modify the default hashing algorithm being used. Instead of using SSHA, i'd like to use SHA-256 or SHA-512. I've been having trouble ...
redhatsamurai's user avatar
0 votes
1 answer
677 views

Openldap re-hashes already hashed password

I have an openldap with ppolicy on SSHA-512. When clear text password is sent from client, the password will be stored as SSHA-512, fine. My problem appears, once already hashed password is send e.g ...
FastFoot's user avatar
2 votes
1 answer
1k views

Templated dict keys in ansible YAML

I am trying to use a dict in an Ansible task, which is defined like this: in vars/main.yml file: username: user1 userpass: pass1 users: "{{ username }}": pass: "{{ userpass }}" This doesn't ...
Alexander Shcheblikin's user avatar
1 vote
0 answers
42 views

Is there a way to tell what image was used to deploy a machine from Windows Deployment Services?

Is there a way to tell what image was used to deploy a machine from Windows Deployment Services? Is there some sort of a hash that would identify a machine being deployed from a particular image?
leeand00's user avatar
  • 4,929
1 vote
1 answer
1k views

haproxy tls hash algorithm

I'm using HAProxy 1.7.5 and openssl 1.1.0f (from Debian 9.5 stabel) to serve TLS connections. Now there are clients offering SHA-384 and SHA-512 based signature algorithms in the client hello message. ...
C.Scharfenberg's user avatar
2 votes
1 answer
10k views

Set already hashed password for user against open ldap

Let me describe the infrastructure I am trying to configure. There is an opne ldap server on centOS (running slapd 2.4.40) as distributed authentication method for a couple of boxes. Is there a way ...
anadam__'s user avatar
0 votes
1 answer
6k views

How to reset Ubiquiti UniFi Controller admin password?

I need to get into a Ubiquiti UniFi Controller system that was setup by one of my predecessors. The admin password has long since been lost and the company now uses a different Wi-Fi system at the ...
KidACrimson's user avatar
2 votes
1 answer
338 views

shasum returns an incorrect result

Calculating SHA256 gives me an incorrect result when I'm using "shasum": $ echo "abcd" | shasum -a 256 fc4b5fd6816f75a7c81fc8eaa9499d6a299bd803397166e8c4cf9280b801d62c - # or $ echo abcd | shasum -...
gadded's user avatar
  • 21
0 votes
1 answer
2k views

multiple sha1 file hashes conversion

Issue Description: I'm trying to comply with our Security Advisories. The advisories contain nearly 1000 MD5 & Sha 256 file hashes. I need to convert them into sha1 and update them in our endpoint ...
Faheem Memon's user avatar
1 vote
3 answers
2k views

Can you set the number of rounds that ansible's password_hash jinja2 filter uses?

In ansible, it's pretty convenient to use something like this: - name: Make sure user password is set user: name: my_user password: "{{ user_password|password_hash('sha512', 'SomeSalt') }}"...
Tal's user avatar
  • 305
0 votes
0 answers
681 views

get SHA256 has of certificate chain of my certificate

I got my server certificate mycert.pem by command: cho -n | openssl s_client -connect <my.server.hostname> | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > mycert.pem. I would like ...
Mellon's user avatar
  • 121
0 votes
1 answer
770 views

Linux FTP server which can work with unsalted SHA256 hashes?

Problem Some old WS_FTP server stopped booting at work after a Windows update. The corresponding admin is long gone. The only information I have is : file structure user names unsalted SHA256 hash ...
Eric Duminil's user avatar
0 votes
1 answer
43 views

compare 2 directories with different files names and locations of the files

I'm currently having 2 (top level) directories with a lot of sub directories and files. There are a lot of duplicate files between those directories but there is one problem with it, the names of the ...
grezly's user avatar
  • 1
0 votes
1 answer
518 views

sendmail authentication with passwords in SHA512 hash

Is it possible for sendmail to authenticate users from LDAP with passwords stored as SHA512 hash ? If yes, how? Edit: OS is Arch Linux and i want to use only LDAP to authenticate users.
Aas's user avatar
  • 348
4 votes
3 answers
4k views

How does "your new password must differ at least n characters from the previous" work when only hash codes are stored?

I am wondering how the password policy "your new password must differ at least n characters from your old password" works. My understanding is that the OS never actually stores the old passwords ...
Honza Zidek's user avatar
13 votes
3 answers
27k views

Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64

I need to use redirect map with quite a lot rules (2k+ lines, file size is ~200K) I have the following settings in nginx: map $uri $new_uri { include /etc/nginx/conf.d/redirects.map; } ...
Putnik's user avatar
  • 2,347
0 votes
1 answer
1k views

Does any varnish using directors.hash() and hash.backend() always choose the same backend?

I have 2 varnish, each of them having 2 backends (same varnish versions -v4.x- and configuration file). Incoming client connections are randomly distributed to any available varnish. I need clients ...
Totor's user avatar
  • 3,018
11 votes
3 answers
3k views

Windows 2012 R2 - Search for Files using MD5 Hash?

My organization recently discovered malware that was sent to some users via email that managed to get past our email security in a sophisticated, targeted attack. The names of the files vary from user ...
Brandon Wetter's user avatar
14 votes
1 answer
1k views

Why isn't MacTripleDes algorithm output in PowerShell stable?

I am checking the file hashes using several different algorithms in powershell. When I use MacTripleDes, I always get different hashes. All of the others, such as SHA256 or MD5 always give reliable ...
user6722022's user avatar
0 votes
2 answers
2k views

Secure link depending only on directory name?

I am currently struggling to make nginx secure just folder name, dependlessly what the file name inside of it is. Let's say, I'm accessing a file in a folder /one/two/three, it would look like this: ...
Gallardo994's user avatar
0 votes
1 answer
187 views

ansible hash summ of vaiables

Help please, the second day can not solve the problem. I need to add checksum sha1 in file that is created from a template Example: {{ item.some_var1 | hash('sha1') }} - work fine But when I'm trying ...
Maxim K's user avatar
2 votes
1 answer
3k views

CSP nginx nonce

I have some problems with adding CSP to my site. I configured Content-Security-Policy-Report-Only in my nginx configuration. And i get this. adsbygoogle.js:37 [Report Only] Refused to apply inline ...
Hasanagha Aliyev's user avatar
10 votes
7 answers
10k views

How does one check huge files identity if hashing is CPU bound?

For small files hashing is just ok, but with huge ones you can easily find md5sum is CPU bound. Is there any hashing algorithm able to scale out on multiple cores? Any workarounds? Ideas? Anything? :)
poige's user avatar
  • 9,595
1 vote
0 answers
462 views

How can I replicate Microsoft .NET manifest hashes, ideally on Linux command line?

I have a .NET click-once application which, I found out the hard way (user could not install), checks the checksums of its configuration files against checksums in the .exe.manifest as calculated at ...
Wilbur Whateley's user avatar
1 vote
1 answer
71 views

How to know which files to specify exclusions for the installers of whitelisted apps using hashes with a Windows GPO?

To specify in the software restriction GPO, the hashes of executable/script files that are allowed to execute during the installation of a program run from, for example %LOCALAPPDATA%\Temp, during ...
leeand00's user avatar
  • 4,929
0 votes
1 answer
147 views

What is the exact Juniper and Cisco router per-packet balancing hash algorithm?

Due to JunOS and Cisco documentation there is ability to configure hashing algorithm choosing one of the next-hop from the several multiple equal-cost paths. There is information about fields that ...
Alexander Klimenko's user avatar
0 votes
1 answer
1k views

Custom algorithm for password hashing with vsftpd

Traditionally, when the client logs in, it sends the credentials (username+pw) without any further processing. The server then checks if an entry exists in its user database that matches the supplied ...
Dreadlockyx's user avatar
2 votes
1 answer
1k views

Cloud-Config - Hashed Password Being Set Incorrectly

I'm provisioning an Ubuntu 14.04 server with Digital Ocean and am using Cloud-Config in the user data field to do some initial setup. The issue I am having is creating a new user and setting a ...
PDX Fixed's user avatar
0 votes
1 answer
244 views

rsync syncs too much files

I have the following directory structure: /tmp1 \_ file1.txt \_ file2.txt /tmp2 \_ file1.txt \_ file2.txt \_ file3.txt /changes With rsync's --compare-dest option, I want to sync all ...
J. Pee's user avatar
  • 42
2 votes
1 answer
565 views

RKHunter report: "No hash value found"

I'm getting RKHunter warnings every day when my cron job runs the check. I'm on FreeBSD 10.2 This is the warning I'm getting: Warning: No hash value found for file '/usr/bin/perl' in the 'rkhunter....
basbebe's user avatar
  • 313
1 vote
2 answers
1k views

How can I distribute clients to servers evenly with hash_ip in Nginx as loadbalancer?

I know Nginx can use hash_ip to tie specific clients to a server. My question is when Nginx is hashing with client IP, does it distribute clients to servers evenly regardless of whatever client IP is ...
asleea's user avatar
  • 169