mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
修复ssh跳过问题
This commit is contained in:
+1
-1
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user