From 82a54f251058730669e2459de33a3d24ab9a852c Mon Sep 17 00:00:00 2001 From: sinspired Date: Thu, 14 Nov 2024 14:37:26 +0800 Subject: [PATCH] new cofig --- configs/config.toml | 6 +++--- data/backup_custom_google_translate_ip_ranges.txt | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 data/backup_custom_google_translate_ip_ranges.txt diff --git a/configs/config.toml b/configs/config.toml index 8d4b0c1..57d3677 100644 --- a/configs/config.toml +++ b/configs/config.toml @@ -8,7 +8,7 @@ Workers = 300 # Limit the maximum number of IPs scanned. No limit if it is less than or equal to 0. ScannedLimit = 0 # Limit the maximum number of IPs found. No limit if it is less than or equal to 0. -FoundLimit = 10 +FoundLimit = 1000 [Ping] # avaivable values: icmp, tcp, udp @@ -20,7 +20,7 @@ Count = 3 # Millisecond Timeout = 500 # true: it's legal if it succeeds every time. false: it's legal if it has one succeeds -all = false +all = true [HTTP] # Standard HTTPS ports are 443 and 8443. @@ -43,7 +43,7 @@ CustomIPRangesFile = "./data/custom_google_translate_ip_ranges.txt" # Output the available IPs found IPOutputFile = "./data/output_google_translate_ips.txt" # # boolean that turns on/off scanning for IPv6. true or false. -WithIPv6 = false +WithIPv6 = true # URL for testing HTTPS connection HttpsURL = "https://translate.google.com" # Domains for write into hosts file diff --git a/data/backup_custom_google_translate_ip_ranges.txt b/data/backup_custom_google_translate_ip_ranges.txt new file mode 100644 index 0000000..a084556 --- /dev/null +++ b/data/backup_custom_google_translate_ip_ranges.txt @@ -0,0 +1,5 @@ +216.239.32.0/19 +64.233.160.0/19 +108.177.0.0/17 +142.250.0.0/15 +74.125.0.0/16 \ No newline at end of file