Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh 爆破ip 查看 #69

Open
aiastia opened this issue May 31, 2022 · 0 comments
Open

ssh 爆破ip 查看 #69

aiastia opened this issue May 31, 2022 · 0 comments

Comments

@aiastia
Copy link
Owner

aiastia commented May 31, 2022

检测服务器被多少ip进行了ssh爆破

lastb |awk '{print $3}'|sort |uniq -c|awk '{if ($1 > 4) print $2}'|wc -l

查看ssh爆破你服务器的ip列表

lastb |awk '{print $3}'|sort |uniq -c|awk '{if ($1 > 4) print $2}'

查看每个ip爆破你服务器ssh的次数

lastb |awk '{print $3}'|sort |uniq -c

查看服务器ssh登录失败总次数

lastb |wc -l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant