27-11-2011, 04:53 AM
(This post was last modified: 27-11-2011, 09:06 PM by Radiotubes.)
Code:
# !/bin/bash
community_strings=(
"pHuCKtWc"
"yZaK4E8l"
"84ish3r3t0d4y"
)
for j in "${community_strings[@]}"
do
for i in {1..255}
do
# echo "$i"
snmpget -r 0 -t .25 -Lo -v2c -c "$j" 10.xx.192."$i":162 1.3.6.1.2.1.1.1.0
done
done
# community strings to test
# 84ish3r3t0d4y
# yZaK4E8l
# sL08MykN0b
# pHuCkTwc
I whipped up a little script to see if I get any replies using various community strings over a narrow range if coax side IPs (10.xxx.xxx.1~>254). I got a few more hits from Arris modems.