diff --git a/README.md b/README.md index 6c28e2e..d3167b4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ * General Windows 10 and mobile security guide Install customscripts on linux with -`curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL"` +`curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh` ## Usage ### Linux diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 2e29f2b..7ce8147 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -1,4 +1,6 @@ #!/bin/bash +# install with +## curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh # set -e # make sure da silly thing dont continue when there be errorZ gitRepo='https://github.com/PrincessPi3/general-scripts-and-system-ssssssetup.git' diff --git a/customscripts/wifi_monitor b/customscripts/wifi_monitor index cd82a70..c713ca3 100644 --- a/customscripts/wifi_monitor +++ b/customscripts/wifi_monitor @@ -2,15 +2,16 @@ # usage: ## wifi_monitor ### examples -#### wifi_monitor # DEFAULTS wlan0 and ifconfig method -#### wifi_monitor wlan1 # wlan1 and default ifconfig method +#### wifi_monitor # DEFAULTS wlan1 and ip method +#### wifi_monitor wlan1 # wlan1 and default ip method #### wifi_monitor wlan0 i # wlan0 and ip method #### wifi_monitor wlan0 a # wlan0 and airmon-ng method +#### wifi_monitor wlan0 if # wlan0 and ifconfig method ## wifi device ### wlan0 [DEFAULT] ## methods: -### ifconfig, iwconfig, if, or iw ifconfig/iwconfig method [DEFAULT] -### ip, iw or i - ip/iw method +### ifconfig, iwconfig, if, or iw ifconfig/iwconfig method +### ip, iw or i - ip/iw method [DEFAULT] ### airo, air, airmon-ng, or a - airodump-ng/airmon-ng method # set -e # fail on error @@ -89,8 +90,8 @@ else fi # default, ifconfig/iwconfig method -if [ -z $2 ]; then # default ifconfig method - ifconfig_method +if [ -z $2 ]; then # default ip method + ip_method elif [ "$2" == "ifconfig" -o "$2" == "if" ]; then ifconfig_method # explicit ifconfig method elif [ "$2" == "ip" -o "$2" == "i" -o "$2" == "iw" ]; then @@ -99,6 +100,9 @@ elif [ "$2" == "airo" -o "$2" == "air" -o "$2" == "airmon-ng" -o "$2" == "a" ]; airmon_method fi +echo "Hold on 5 seconds..." +sleep 5 + echo "Current wireless configuration" iwconfig