parent
ff8917a230
commit
3c797be3f2
|
@ -15,15 +15,18 @@ wpservicefile='wipri.service' # wipri.service file location for the boot section
|
|||
echo "Creating /etc/wipri directory..."
|
||||
sudo mkdir /etc/wipri
|
||||
sleep .5
|
||||
sudo touch /etc/wipri/maclist
|
||||
echo "Copying OUI files into /etc/wipri..."
|
||||
sudo cp final.OUI /etc/wipri
|
||||
sudo cp phone.OUI /etc/wipri
|
||||
sleep .5
|
||||
echo "Copying wipri executable to /usr/bin/wipri for command access..."
|
||||
sudo cp wipri /usr/bin/wipri
|
||||
sudo cp wipri-list /usr/bin/wipri-list
|
||||
sleep .5
|
||||
echo "Making wipri an executable command..."
|
||||
chmod +x /usr/bin/wipri
|
||||
chmod +x /usr/bin/wipri-list
|
||||
sleep .5
|
||||
echo "We are done installing the command!"
|
||||
echo ""
|
||||
|
@ -48,5 +51,5 @@ if [ $boot == yes ]; then
|
|||
echo "To stop/disable issue at boot: systemctl stop wipri && systemctl disable wipri."
|
||||
echo "Enjoy your right to privacy [Declared a basic right in United Nations Declaration Of Human Rights]."
|
||||
else
|
||||
"You did not select 'yes' for starting at boot. Thus we are exiting. wipri installed as command only."
|
||||
echo "You did not select 'yes' for starting at boot. Thus we are exiting. wipri installed as command only."
|
||||
fi
|
||||
|
|
44
wipri
44
wipri
|
@ -7,12 +7,11 @@
|
|||
#
|
||||
#--------------------------------------------
|
||||
#
|
||||
# SUPPORT FUTURE/CURRENT PUBLIC INTEREST WORKS:
|
||||
# SUPPORT:
|
||||
#
|
||||
# BTC: 3QDdTcLwLTPXKMBp5dLUhKJG6KbDxWsYWS
|
||||
# XMR:481wHzXEsW9E519uu3SiynMuGe1yUT43iiJ8M49fgxfngHr9MUPVNAmPgyjS4XYtvzD1TbK7P5ywUWhGo11ibT2RQhEcRSX
|
||||
# Support Options Listed Here: https://buymeacoffee.com/politictech (+ public blog + more)
|
||||
# CashApp: https://cash.app/$HumanRightsTech
|
||||
# https://www.buymeacoffee.com/politictech (Read my public blog posts, help me to a coffee (if you like))
|
||||
# https://www.buymeacoffee.com/politictech/posts public blog posts, help to a coffee (if you like))
|
||||
#
|
||||
#---------------------------------------------
|
||||
#
|
||||
|
@ -110,15 +109,12 @@ cat << "EOF"
|
|||
\___)=(___/'
|
||||
|
||||
|
||||
▄█ █▄ ▄█ ▄███████▄ ▄████████ ▄█
|
||||
███ ███ ███ ███ ███ ███ ███ ███
|
||||
███ ███ ███▌ ███ ███ ███ ███ ███▌
|
||||
███ ███ ███▌ ███ ███ ▄███▄▄▄▄██▀ ███▌
|
||||
███ ███ ███▌ ▀█████████▀ ▀▀███▀▀▀▀▀ ███▌
|
||||
███ ███ ███ ███ ▀███████████ ███
|
||||
███ ▄█▄ ███ ███ ███ ███ ███ ███
|
||||
▀███▀███▀ █▀ ▄████▀ ███ ███ █▀
|
||||
███ ███
|
||||
██╗ ██╗██╗██████╗ ██████╗ ██╗
|
||||
██║ ██║██║██╔══██╗██╔══██╗██║
|
||||
██║ █╗ ██║██║██████╔╝██████╔╝██║
|
||||
██║███╗██║██║██╔═══╝ ██╔══██╗██║
|
||||
╚███╔███╔╝██║██║ ██║ ██║██║
|
||||
╚══╝╚══╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝
|
||||
|
||||
EOF
|
||||
|
||||
|
@ -257,7 +253,7 @@ namebase4="xfinitywifi"
|
|||
|
||||
|
||||
# If setting nc (netcat) notify set "off" disregard below
|
||||
ncnotify="on" # Turn on or off netcat name change notification
|
||||
ncnotify="off" # Turn on or off netcat name change notification
|
||||
ncport="60821" # port to send name changes
|
||||
ncprotocol="tcp" # netcat protocol [udp/tcp]
|
||||
ncserver="192.168.42.38" # netcat server to notify each name change (static ip/name)
|
||||
|
@ -305,7 +301,7 @@ netname() {
|
|||
|
||||
# Notify server of new name changes [Work in progress- set the $ncnotify variable above to 'yes' or 'no' to turn off]
|
||||
notify() {
|
||||
if [ $ncnotify == "on" ]; then
|
||||
if [ $ncnotify == "off" ]; then
|
||||
echo -n $randname >>/dev/$ncprotocol/$ncserver/$ncport
|
||||
fi
|
||||
}
|
||||
|
@ -352,7 +348,7 @@ while getopts ":d:apPrm:ihRsAH" arg; do
|
|||
p)
|
||||
echo -e "$BLUE new static random cellphone MAC identity (retained/checked to prevent leaks) $ENDCOLOR"
|
||||
phmacrand
|
||||
maccheck
|
||||
maccheck
|
||||
;;
|
||||
|
||||
# cellphone continuous mimics (Samsung/Apple mac addresses- continually changing times/random mac addresses)
|
||||
|
@ -401,7 +397,7 @@ while getopts ":d:apPrm:ihRsAH" arg; do
|
|||
i)
|
||||
echo -e "$BLUE new static random valid MAC identity ($RED HELD: $BLUE checked/retained to prevent leaks) $ENDCOLOR"
|
||||
macrand
|
||||
maccheck
|
||||
maccheck
|
||||
;;
|
||||
|
||||
|
||||
|
@ -431,18 +427,8 @@ while getopts ":d:apPrm:ihRsAH" arg; do
|
|||
# can (depending on environment/trackers) simulate movement [EXPERIMENTAL]
|
||||
# DISCLAIMER: be sure not to exceed any local regulations for tx
|
||||
s)
|
||||
echo -e "$BLUE signal variation (experimental): $RED ON $ENDCOLOR"
|
||||
while :
|
||||
do
|
||||
rando=$((RANDOM%$hightime+$lowtime))
|
||||
randtx=$((RANDOM%$hightx+$lowtx))
|
||||
sleep 1
|
||||
signaljumper
|
||||
echo -e "$BLUE $netdev tx power is now: $RED $randtx"
|
||||
echo -e "$BLUE for $RED$rando sec"
|
||||
sleep $rando
|
||||
done
|
||||
;;
|
||||
signaljumper
|
||||
;;
|
||||
|
||||
# Randomize WiFi Network Name (SSID)
|
||||
# Set additional flags if you would like to set simultaneous random mac
|
||||
|
|
50
wipri-list
50
wipri-list
|
@ -2,7 +2,17 @@
|
|||
#
|
||||
# wipri-list - saved/trusted list mode
|
||||
#
|
||||
# Why this? Many asked for it. People like to recognize their machines.
|
||||
# Why this? People like to recognize machines on network and there was interest.
|
||||
# This can also be helpful where more than one machine carries same default hardware address (mac)
|
||||
#
|
||||
# You can use this to create valid yet random OUI mac address lists + use them
|
||||
#
|
||||
# USAGE:
|
||||
# wipri-list -d eth0 -s # this selects/sets random from list
|
||||
# (if no device is selected after -d, wlan0 is default)
|
||||
# wipri-list -a # generates and adds new valid mac to list
|
||||
# wipri-list -l # show our current list of mac addresses
|
||||
# wipri-list -r 00:00:00:00:00:00 # remove 00:00:00:00:00:00 from list
|
||||
#
|
||||
# Public Blog/Support options: https://buymeacoffee.com/politictech
|
||||
# email righttoprivacy[at]tutanota.com
|
||||
|
@ -12,16 +22,48 @@
|
|||
export BLUE='\033[1;94m'
|
||||
export GREEN='\033[1;92m'
|
||||
export RED='\033[1;91m'
|
||||
export WHITE='\033[0;37m'
|
||||
export ENDCOLOR='\033[1;00m'
|
||||
|
||||
|
||||
# VARIABLES
|
||||
macfile='/etc/wipri/maclist' # current mac list file
|
||||
oui_file='/etc/wipri/phone.OUI' # OUI file - default is phones - change to any OUI list
|
||||
netdev="wlan0" # default value for wifi card
|
||||
netdev="wlan0" # default value for wifi or ethernet card (not all cards allow mac changes)
|
||||
checktime='.5' # time between checks
|
||||
newmac="" # variable for the new mac in each setting
|
||||
|
||||
# checks current mac address to be sure firmware didn't change it/crash/set back mac;
|
||||
echo -e "\n"
|
||||
cat << "EOF"
|
||||
██╗ ██╗██╗██████╗ ██████╗ ██╗ ██╗ ██╗███████╗████████╗
|
||||
██║ ██║██║██╔══██╗██╔══██╗██║ ██║ ██║██╔════╝╚══██╔══╝
|
||||
██║ █╗ ██║██║██████╔╝██████╔╝██║█████╗██║ ██║███████╗ ██║
|
||||
██║███╗██║██║██╔═══╝ ██╔══██╗██║╚════╝██║ ██║╚════██║ ██║
|
||||
╚███╔███╔╝██║██║ ██║ ██║██║ ███████╗██║███████║ ██║
|
||||
╚══╝╚══╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝╚══════╝ ╚═╝
|
||||
|
||||
Public Blog/Tutorials: https://buymeacoffee.com/politictech
|
||||
EOF
|
||||
|
||||
sleep .5
|
||||
|
||||
echo "" && sleep .2
|
||||
echo -e "$WHITE Example:$ENDCOLOR wipri-list -a"
|
||||
echo -e "${BLUE}[Above]${ENDCOLOR} generates ${RED}NEW${ENDCOLOR} valid OUI mac address adding it to our file"
|
||||
echo "" && sleep .2
|
||||
echo -e "${WHITE}Example:${ENDCOLOR} wipri-list -d eth0 -s"
|
||||
echo -e "${BLUE}[Above]${ENDCOLOR} selects random address from list - MUST first use -a to add mac addresses]${ENDCOLOR}"
|
||||
echo -e "Run wipri-list -a \e[1;5m at least once \e[0m to begin creating your mac address list (or single mac)"
|
||||
echo "" && sleep .2
|
||||
echo -e "$WHITE Example:${ENDCOLOR} wipri-list -l"
|
||||
echo -e "${BLUE}[Above]${ENDCOLOR} lists current mac addresses from our list${ENDCOLOR}"
|
||||
echo "" && sleep .2
|
||||
echo -e "$WHITE Example:$ENDCOLOR wipri-list -r fe:ed:de:ad:be:ef"
|
||||
echo -e "${BLUE}[Above]${ENDCOLOR} removes ${RED}fe:ed:de:ad:be:ef${ENDCOLOR} from our list"
|
||||
echo "" && sleep .2
|
||||
|
||||
|
||||
# concept I created to check current mac address to be sure firmware didn't change it/crash/set back mac;
|
||||
# when device is detected to have wrong mac, immediately sets our valid OUI random addr
|
||||
maccheck() {
|
||||
while :
|
||||
|
@ -64,7 +106,7 @@ while getopts ":d:alr:s" arg; do
|
|||
# SET NETWORK DEVICE FOR MAC CHANGES - ALWAYS USE -d FLAG
|
||||
d)
|
||||
netdev=${OPTARG}
|
||||
echo "device chosen: ${RED}$netdev${ENDCOLOR}"
|
||||
echo -e "Device chosen: ${RED}$netdev${ENDCOLOR}\n"
|
||||
;;
|
||||
|
||||
# GENERATE AND ADD NEW RANDOM BUT VALID OUI MAC TO OUR LIST
|
||||
|
|
Loading…
Reference in New Issue