Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我们可以使用参数运行 Q 进程,该-p参数使其他实例能够连接到它并在该端口上启用 Web 界面。
-p
有没有办法保护连接,所以会有某种授权?目前我不喜欢任何人都可以在使用-p参数运行时查看甚至在我的数据库上执行查询的事实。
您可以使用以下方式添加身份验证-U:
-U
-U /path/to/password.txt
该文件包含用户:密码,其中密码是 q 的结果并在前面md5"password"剥离。0x
md5"password"
0x
还有.z.pwand.z.ac钩子,可用于更复杂的身份验证逻辑
.z.pw
.z.ac