小编Ken*_*h L的帖子

如何在许多大文件上检查 md5sum 的进度?

我有大约 500 个 650MB 的文件,命名为bigfile.000to bigfile.199,我需要计算所有文件的 MD5 校验和。我使用的命令是:

cat bigfile.* | md5sum
Run Code Online (Sandbox Code Playgroud)

我有时间,我知道这需要几个小时才能完成,但我仍然想检查进度。有什么办法吗?就像在两者之间插入一些东西并进行对性能影响不大的字数统计?

command-line md5sum

24
推荐指数
2
解决办法
9267
查看次数

SSH 为没有 shell 的用户入侵

我认为我的 Ubuntu 机器坏了,黑客试图用我的电脑发送垃圾邮件(通过端口 25)。

部分/var/log/auth.log提取如下(我将实际用户更改为myuser,将一些外部IP地址更改为1.2.3.x):

Feb 20 06:07:12 ubuntu systemd-logind[954]: New session 77 of user myuser.
Feb 20 06:08:22 ubuntu sshd[21251]: error: connect_to 1.2.3.4 port 25: failed.
Feb 20 06:08:22 ubuntu sshd[21251]: error: connect_to 1.2.3.5 port 25: failed.
Feb 20 06:08:22 ubuntu sshd[21251]: error: connect_to 1.2.3.5 port 25: failed.
Feb 20 06:08:22 ubuntu sshd[21251]: error: connect_to 1.2.3.6 port 25: failed.
...(thousands of similar lines follows)...
Run Code Online (Sandbox Code Playgroud)

由于错误消息是由 生成的sshd,我认为黑客是通过以myuser. 其各自的记录/etc/passwd如下: …

ssh security authentication

5
推荐指数
1
解决办法
2510
查看次数

标签 统计

authentication ×1

command-line ×1

md5sum ×1

security ×1

ssh ×1