From b20f184f0ea8a4c2237cbedf470df3b91b631cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?s=C4=B1x?= <16022325+51x@users.noreply.github.com> Date: Tue, 6 Mar 2018 09:38:05 +0000 Subject: [PATCH] "chkw" added. Check wifi networks around. --- profile_files/.zsh/pentest_functions.zsh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/profile_files/.zsh/pentest_functions.zsh b/profile_files/.zsh/pentest_functions.zsh index 0f59dbf..491b399 100644 --- a/profile_files/.zsh/pentest_functions.zsh +++ b/profile_files/.zsh/pentest_functions.zsh @@ -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;