Bash script to change proxy every so often
A simple bash script that runs toriptables2 repeatedly, with number of repetitions and delay between them up to the user. Useful since using same proxy all the time still lets people follow you and identify you from your digital footprint, while changing it at least once per few hours improves your anonymity greatly.
This commit is contained in:
parent
bbd908679d
commit
20df4fd946
1 changed files with 19 additions and 0 deletions
19
updateproxy.sh
Normal file
19
updateproxy.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Change proxy every DELAY seconds for MAX times
|
||||
FILE=./toriptables2.py
|
||||
COUNTER=0
|
||||
MAX=$1 #
|
||||
DELAY=$2
|
||||
|
||||
#Check if arg was received
|
||||
if [ -z "$2" ]; then
|
||||
echo "USAGE: ./updateproxy.sh <number-of-repetitions <delay-between-repetitions>"
|
||||
exit
|
||||
fi
|
||||
|
||||
while [ $COUNTER -lt $MAX ]; do
|
||||
python $FILE -l
|
||||
sleep $DELAY
|
||||
let COUNTER=COUNTER+1
|
||||
done
|
Loading…
Add table
Reference in a new issue