1754698889

This commit is contained in:
2025-08-08 18:21:28 -06:00
parent 0ee8e011c3
commit 87ac2a6d5d
3 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -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'
+10 -6
View File
@@ -2,15 +2,16 @@
# usage:
## wifi_monitor <WIFI DEVICE> <METHOD>
### 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