Created
April 8, 2025 08:25
-
-
Save ramajd/5e405716ca495d61817f4caf71f5940e to your computer and use it in GitHub Desktop.
script to gather proxies which are based on port 443
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
data=$(curl https://raw.githubusercontent.com/soroushmirzaei/telegram-configs-collector/main/splitted/mixed 2>/dev/null) | |
echo $data | base64 -d | while IFS= read -r line; do | |
if [[ "$line" != "trojan"* && "$line" != "vmess"* ]]; then | |
port=$(echo $line | cut -d '@' -f2 | cut -d'#' -f1 | cut -d '?' -f1 | cut -d ':' -f2) | |
if [[ "$port" == "443" ]]; then | |
echo $line | |
fi | |
fi | |
done | |
>&2 echo DONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment