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
| import requests | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| base = "https://developer.huawei.com/repo/com/huawei/hms" | |
| artifact = "wearengine" | |
| # Ranges to try (adjust as needed) | |
| majors = range(4, 10) # 0–9 | |
| minors = range(0, 10) # 0–9 | |
| patches = range(0, 10) # 0–9 |
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
| route add 59.0.0.0 mask 255.128.0.0 0.0.0.0 | |
| route add 59.103.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 59.12.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 59.152.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 59.152.0.0 mask 255.255.192.0 0.0.0.0 | |
| route add 59.152.96.0 mask 255.255.240.0 0.0.0.0 | |
| route add 59.153.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 59.153.128.0 mask 255.255.128.0 0.0.0.0 | |
| route add 59.160.0.0 mask 255.224.0.0 0.0.0.0 | |
| route add 59.18.0.0 mask 255.255.0.0 0.0.0.0 |
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
| #!/bin/bash | |
| echo "WireGuard Clients Traffic:" | |
| echo "--------------------------" | |
| printf "%-40s %-30s %-12s %-12s\n" "Config" "IP Address" "Received" "Sent" | |
| find . -name "*.conf" -exec awk ' | |
| /PresharedKey/ {print $3 " " FILENAME} | |
| ' {} \; > ./wg_psk_map.txt |
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
| route add 103.224.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 104.16.0.0 mask 255.240.0.0 0.0.0.0 | |
| route add 104.16.51.111 mask 255.255.255.255 0.0.0.0 | |
| route add 104.17.192.0 mask 255.255.192.0 0.0.0.0 | |
| route add 104.18.0.0 mask 255.254.0.0 0.0.0.0 | |
| route add 104.21.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 104.22.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 104.24.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 104.26.0.0 mask 255.255.0.0 0.0.0.0 | |
| route add 108.61.169.0 mask 255.255.255.0 0.0.0.0 |