"chkw" added.

Check wifi networks around.
master
sıx 2018-03-06 09:38:05 +00:00 committed by GitHub
parent 45ce8b3100
commit b20f184f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -7,8 +7,6 @@
# Provided IP -> vhost enum -> scan everything connected-> Identify services -> Vuln scan -> Add to queryable db
# Provided domain name -> ip enum -> scan everything connected -> Identify services -> Vuln scan -> Add to queryable db
debug=0
fpath=(~/.ptz/v3das $fpath)
autoload -U compinit
compinit
@ -110,6 +108,16 @@ function chkcrt {
}
function chkw {
wdev4s="wlan0" # Change it if you want another.
echo "$wdev4s scan results:"
scanw=$(iw dev $wdev4s scan |egrep "SSID|WEP|WPA|CCMP|TKIP")
echo $scanw
echo "---- / Enc up - List down / ----"
echo $scanw|grep "SSID"|sort|uniq
}
function rnd {
# get some random characters
cat /dev/urandom | tr -dc _A-Z-a-z-0-9 | head -c${1:-8};echo;