Created
March 31, 2015 14:33
-
-
Save jaredhaight/6b7716da96cc74f830d5 to your computer and use it in GitHub Desktop.
enum4linux-scan.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z "$1" ]; then | |
echo "Usage: $0 <file_with_ips>" | |
exit 0 | |
fi | |
echo "Running enum4linux\n" | |
echo "IP File: $1" | |
echo "\n" | |
for ip in $(cat $1);do | |
echo "Scanning $ip..." | |
enum4linux $ip > $ip"_enum4linux" & | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to put the result by create directory like the name of file_with_ips