Skip to content

Instantly share code, notes, and snippets.

@jaredhaight
Created March 31, 2015 14:33
Show Gist options
  • Save jaredhaight/6b7716da96cc74f830d5 to your computer and use it in GitHub Desktop.
Save jaredhaight/6b7716da96cc74f830d5 to your computer and use it in GitHub Desktop.
enum4linux-scan.sh
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
@ariosrandy
Copy link

how to put the result by create directory like the name of file_with_ips

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment