mirror of
https://github.com/MegaManSec/SSH-Snake.git
synced 2024-12-04 20:30:37 +01:00
MacOS assumes a new version of Bash from Homebrew.
This commit is contained in:
parent
6e54e542a9
commit
cc6b55d722
@ -69,7 +69,7 @@ SSH-Snake takes a [depth-first approach](https://en.wikipedia.org/wiki/Depth-fir
|
||||
|
||||
The name SSH-Snake comes from the fact that the output of the script looks like a snake slithering up and down the network. However unlike the game Snake, SSH-Snake will not die when it bites its own tail (connects to a systems it has already scanned or is currently scanning): it will simply print how it connected there as normal, but return and not re-scan the destination (in order to avoid infinite recursion).
|
||||
|
||||
SSH-Snake has been tested on various flavors of Linux, and MacOS. If you encounter a Linux-based OS it isn't compatible with, please submit a report.
|
||||
SSH-Snake has been tested on various flavors of Linux, and MacOS (with Homebrew Bash installed). If you encounter a Linux-based OS it isn't compatible with, please submit a report.
|
||||
|
||||
# Features
|
||||
|
||||
|
@ -1201,7 +1201,7 @@ fi
|
||||
if [[ "$line" == *"Unable to negotiate with"* ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ "$line" == "Warning: Identity file"* || "$line" == "Load key"* ]]; then
|
||||
if [[ "$line" == "Warning: Identity file"* || "$line" == "Load key"* || "$line" == *"No such file or directory"* ]]; then
|
||||
_ignored_key_files["$key_file"]=1
|
||||
break
|
||||
fi
|
||||
|
3
Snake.sh
3
Snake.sh
@ -2047,9 +2047,10 @@ recursive_scan() {
|
||||
#
|
||||
# Warning: Identity file [file] not accessible: No such file or directory.
|
||||
# Warning: Identity file [file] not accessible: Permission denied.
|
||||
# no such identity: [file]: No such file or directory
|
||||
# Load key [file]: invalid format
|
||||
# Load key [file]: bad permissions
|
||||
if [[ "$line" == "Warning: Identity file"* || "$line" == "Load key"* ]]; then
|
||||
if [[ "$line" == "Warning: Identity file"* || "$line" == "Load key"* || "$line" == *"No such file or directory"* ]]; then
|
||||
_ignored_key_files["$key_file"]=1
|
||||
break
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user