Updated Surfshark Configuration and Added a Script to Mass Rename and Adjust Downloaded Configs

This commit is contained in:
borichamehul5
2020-03-14 05:57:51 +05:30
parent c87fc1c067
commit 7cdba3f0ea
136 changed files with 11215 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
#Mass Rename All the Latest Config File Downloaded from https://account.surfshark.com/api/v1/server/configurations
rename 's/.prod.surfshark.com//' ./*.prod.surfshark.com*
#Remove The Following Three Lines Related to Ping from All Configs
for configFile in *.ovpn;
do
sed -i '/ping\ 15/d' "$configFile"
sed -i '/ping-restart\ 0/d' "$configFile"
sed -i '/ping-timer-rem/d' "$configFile"
done