postgresql - 使用md5密码登录postgresql

标签 postgresql md5

我阅读了 www.postgresql.org 上的文档,其中有 this text about md5 login :

The method md5 uses a custom less secure challenge-response mechanism. It prevents password sniffing and avoids storing passwords on the server in plain text but provides no protection if an attacker manages to steal the password hash from the server. Also, the MD5 hash algorithm is nowadays no longer considered secure against determined attacks.

这是否意味着,如果我知道数据库中存储的 md5 哈希值,我可以使用 md5 哈希值而不是纯密码本身进行远程连接?如果是这样,我该怎么做?我使用的 ODBC 驱动程序似乎只允许输入纯文本密码,而不允许输入 md5 哈希值。有可能这样做吗?

最佳答案

据我所知,没有任何客户端可以为您开箱即用地执行此操作。更改客户端源代码来执行此操作并编译新的“黑客化”客户端非常容易。

关于postgresql - 使用md5密码登录postgresql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50539876/

相关文章:

html - Django:在数据库中保存 HTML 代码的正确方法

sql - 需要根据列值分配不同的JSON数据结构

postgresql - 之间的 Postgres varchar 字段

java - 从字符串到十六进制 MD5 哈希并返回

python - 在Python中从md5读取哈希值

ruby - 我可以创建长度为 8 的 md5 哈希吗?

postgresql - 无法在 pl/pgsql 中创建过程,但代码无需创建过程即可工作

postgresql - 转到 time.Time 到 postgresql timestamptz 无法使用 time.Now() 保存

ios - NSData dataWithContentsOfFile 在设备上返回不同的结果

c - 安装 c api (md5)