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;