File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,18 @@ jobs:
1414
1515 - name: Fetch Telegram CIDR List
1616 run: |
17- curl -s "https://core.telegram.org/resources/cidr.txt" | sed "s/[[:space:]]//g" > Telegram-CIDR.rsc
17+ curl -s "https://core.telegram.org/resources/cidr.txt" > Telegram-CIDR.rsc
1818 # Additional processing steps (Converting to .rsc format)
1919 sed -nEi 's/(([0-9]+\.){3}[0-9]+) */add list=Telegram address=\1/p' Telegram-CIDR.rsc
2020 sed -i '1 i\\/ip firewall address-list' Telegram-CIDR.rsc
21+
22+ - name: Fetch Whatsapp CIDR List
23+ run: |
24+ curl -s "https://raw.githubusercontent.com/HybridNetworks/whatsapp-cidr/main/WhatsApp/whatsapp_cidr_ipv4.txt" > Whatsapp-CIDR.rsc
25+ # From a project by HybridNetworks: https://github.com/HybridNetworks/whatsapp-cidr?tab=readme-ov-file
26+ # Additional processing steps (Converting to .rsc format)
27+ sed -nEi 's/(([0-9]+\.){3}[0-9]+) */add list=Whatsapp address=\1/p' Whatsapp-CIDR.rsc
28+ sed -i '1 i\\/ip firewall address-list' Whatsapp-CIDR.rsc
2129 # Add more steps to process the data and commit changes
2230
2331 - name: Commit and Push
You can’t perform that action at this time.
0 commit comments