mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-09-14 14:06:44 +08:00
修复ssh跳过问题
This commit is contained in:
parent
f5c9667f91
commit
61e814119d
@ -73,9 +73,9 @@ func CheckErrs(err error) bool {
|
|||||||
"established connection failed", "connection attempt failed",
|
"established connection failed", "connection attempt failed",
|
||||||
"Unable to read", "is not allowed to connect to this",
|
"Unable to read", "is not allowed to connect to this",
|
||||||
"no pg_hba.conf entry",
|
"no pg_hba.conf entry",
|
||||||
"no supported methods remain",
|
|
||||||
"No connection could be made",
|
"No connection could be made",
|
||||||
"invalid packet size",
|
"invalid packet size",
|
||||||
|
"bad connection",
|
||||||
}
|
}
|
||||||
for _, key := range errs {
|
for _, key := range errs {
|
||||||
if strings.Contains(strings.ToLower(err.Error()), strings.ToLower(key)) {
|
if strings.Contains(strings.ToLower(err.Error()), strings.ToLower(key)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user