{"id":444,"date":"2026-01-26T09:14:00","date_gmt":"2026-01-26T09:14:00","guid":{"rendered":"https:\/\/blog.gpst.net.cn:4008\/?p=444"},"modified":"2026-01-28T06:24:13","modified_gmt":"2026-01-28T06:24:13","slug":"%e8%87%aa%e8%a1%8c%e5%ae%9a%e5%88%b6geoip-dat%e5%92%8ch2y-dat","status":"publish","type":"post","link":"https:\/\/opshub.com.cn\/?p=444","title":{"rendered":"\u81ea\u884c\u5b9a\u5236geoip.dat\u548ch2y.dat"},"content":{"rendered":"\n<p>\u4e0b\u8f7dLoyalsoldier\/geoip\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/Loyalsoldier\/geoip.git\ncd geoip<\/code><\/pre>\n\n\n\n<p>config.json:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"input\": &#091;\n    {\n      \"type\": \"maxmindGeoLite2CountryCSV\",\n      \"action\": \"add\",\n      \"args\": {\n        \"country\": \".\/geolite2\/GeoLite2-Country-Locations-en.csv\",\n        \"ipv4\": \".\/geolite2\/GeoLite2-Country-Blocks-IPv4.csv\",\n        \"ipv6\": \".\/geolite2\/GeoLite2-Country-Blocks-IPv6.csv\"\n      }\n    },\n    {\n      \"type\": \"cutter\",\n      \"action\": \"remove\",\n      \"args\": {\n        \"wantedList\": &#091;\"cn\"],\n        \"onlyIPType\": \"ipv4\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cn\",\n        \"uri\": \"https:\/\/raw.githubusercontent.com\/17mon\/china_ip_list\/master\/china_ip_list.txt\",\n        \"onlyIPType\": \"ipv4\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cn\",\n        \"uri\": \"https:\/\/raw.githubusercontent.com\/gaoyifan\/china-operator-ip\/ip-lists\/china.txt\",\n        \"onlyIPType\": \"ipv4\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cn\",\n        \"uri\": \"https:\/\/raw.githubusercontent.com\/gaoyifan\/china-operator-ip\/ip-lists\/china6.txt\",\n        \"onlyIPType\": \"ipv6\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"tor\",\n        \"uri\": \"https:\/\/check.torproject.org\/torbulkexitlist\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cloudflare\",\n        \"uri\": \"https:\/\/www.cloudflare.com\/ips-v4\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cloudflare\",\n        \"uri\": \"https:\/\/www.cloudflare.com\/ips-v6\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"telegram\",\n        \"uri\": \"https:\/\/core.telegram.org\/resources\/cidr.txt\"\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"google\",\n        \"uri\": \"https:\/\/www.gstatic.com\/ipranges\/goog.json\",\n        \"jsonPath\": &#091;\"prefixes.#.ipv4Prefix\", \"prefixes.#.ipv6Prefix\"]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"google\",\n        \"uri\": \"https:\/\/www.gstatic.com\/ipranges\/cloud.json\",\n        \"jsonPath\": &#091;\"prefixes.#.ipv4Prefix\", \"prefixes.#.ipv6Prefix\"]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"fastly\",\n        \"uri\": \"https:\/\/api.fastly.com\/public-ip-list\",\n        \"jsonPath\": &#091;\"addresses\", \"ipv6_addresses\"]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cloudfront\",\n        \"uri\": \"https:\/\/ip-ranges.amazonaws.com\/ip-ranges.json\",\n        \"jsonPath\": &#091;\n          \"prefixes.#(service==\\\"CLOUDFRONT\\\")#.ip_prefix\",\n          \"ipv6_prefixes.#(service==\\\"CLOUDFRONT\\\")#.ipv6_prefix\"\n        ]\n      }\n    },\n    {\n      \"type\": \"maxmindGeoLite2ASNCSV\",\n      \"action\": \"add\",\n      \"args\": {\n        \"ipv4\": \".\/geolite2\/GeoLite2-ASN-Blocks-IPv4.csv\",\n        \"ipv6\": \".\/geolite2\/GeoLite2-ASN-Blocks-IPv6.csv\",\n        \"wantedList\": {\n          \"cloudflare\": &#091;\n            \"AS395747\",\n            \"AS394536\",\n            \"AS209242\",\n            \"AS203898\",\n            \"AS202623\",\n            \"AS14789\",\n            \"AS139242\",\n            \"AS133877\",\n            \"AS13335\",\n            \"AS132892\"\n          ],\n          \"facebook\": &#091;\"AS63293\", \"AS54115\", \"AS32934\"],\n          \"fastly\": &#091;\"AS54113\", \"AS394192\"],\n          \"google\": &#091;\n            \"AS6432\",\n            \"AS55023\",\n            \"AS45566\",\n            \"AS43515\",\n            \"AS41264\",\n            \"AS40873\",\n            \"AS396982\",\n            \"AS395973\",\n            \"AS394699\",\n            \"AS394639\",\n            \"AS394507\",\n            \"AS36987\",\n            \"AS36492\",\n            \"AS36385\",\n            \"AS36384\",\n            \"AS36040\",\n            \"AS36039\",\n            \"AS26910\",\n            \"AS26684\",\n            \"AS22859\",\n            \"AS22577\",\n            \"AS19527\",\n            \"AS19448\",\n            \"AS19425\",\n            \"AS16591\",\n            \"AS16550\",\n            \"AS15169\",\n            \"AS13949\",\n            \"AS139190\",\n            \"AS139070\"\n          ],\n          \"netflix\": &#091;\"AS55095\", \"AS40027\", \"AS394406\", \"AS2906\"],\n          \"telegram\": &#091;\"AS62041\", \"AS62014\", \"AS59930\", \"AS44907\", \"AS211157\"],\n          \"twitter\": &#091;\"AS8945\", \"AS63179\", \"AS54888\", \"AS35995\", \"AS13414\"]\n        }\n      }\n    },\n    {\n      \"type\": \"private\",\n      \"action\": \"add\"\n    }\n  ],\n  \"output\": &#091;\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"geoip.dat\"\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"geoip-only-cn-private.dat\",\n        \"wantedList\": &#091;\"cn\", \"private\"]\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"geoip-asn.dat\",\n        \"wantedList\": &#091;\n          \"cloudflare\",\n          \"cloudfront\",\n          \"facebook\",\n          \"fastly\",\n          \"google\",\n          \"netflix\",\n          \"telegram\",\n          \"twitter\",\n          \"tor\"\n        ]\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"oneFilePerList\": true,\n        \"wantedList\": &#091;\"cn\", \"private\"]\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"oneFilePerList\": true\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"Country.mmdb\",\n        \"sourceMMDBURI\": \".\/geolite2\/GeoLite2-Country.mmdb\",\n        \"overwriteList\": &#091;\n          \"cn\",\n          \"cloudflare\",\n          \"cloudfront\",\n          \"facebook\",\n          \"fastly\",\n          \"google\",\n          \"netflix\",\n          \"telegram\",\n          \"twitter\",\n          \"tor\",\n          \"private\"\n        ]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"Country-without-asn.mmdb\",\n        \"sourceMMDBURI\": \".\/geolite2\/GeoLite2-Country.mmdb\",\n        \"overwriteList\": &#091;\"cn\", \"private\"],\n        \"excludedList\": &#091;\n          \"cloudflare\",\n          \"cloudfront\",\n          \"facebook\",\n          \"fastly\",\n          \"google\",\n          \"netflix\",\n          \"telegram\",\n          \"twitter\",\n          \"tor\"\n        ]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"Country-only-cn-private.mmdb\",\n        \"sourceMMDBURI\": \".\/geolite2\/GeoLite2-Country.mmdb\",\n        \"wantedList\": &#091;\"cn\", \"private\"]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\",\n        \"outputName\": \"Country-asn.mmdb\",\n        \"wantedList\": &#091;\n          \"cloudflare\",\n          \"cloudfront\",\n          \"facebook\",\n          \"fastly\",\n          \"google\",\n          \"netflix\",\n          \"telegram\",\n          \"twitter\",\n          \"tor\"\n        ]\n      }\n    },\n    {\n      \"type\": \"singboxSRS\",\n      \"action\": \"output\"\n    },\n    {\n      \"type\": \"mihomoMRS\",\n      \"action\": \"output\"\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"output\"\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\/nginx\/allow\",\n        \"outputExtension\": \".conf\",\n        \"addPrefixInLine\": \"allow \",\n        \"addSuffixInLine\": \";\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputDir\": \".\/output\/nginx\/deny\",\n        \"outputExtension\": \".conf\",\n        \"addPrefixInLine\": \"deny \",\n        \"addSuffixInLine\": \";\"\n      }\n    },\n    {\n      \"type\": \"clashRuleSetClassical\",\n      \"action\": \"output\"\n    },\n    {\n      \"type\": \"clashRuleSet\",\n      \"action\": \"output\"\n    },\n    {\n      \"type\": \"surgeRuleSet\",\n      \"action\": \"output\",\n      \"args\": {\n        \"addSuffixInLine\": \",no-resolve\"\n      }\n    }\n  ]\n}<\/code><\/pre>\n\n\n\n<p>\u8fd0\u884c\u4ee3\u7801\uff1a<\/p>\n\n\n\n<p>DownloadFile.sh\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nRequiredFile=(GeoLite2-ASN-Blocks-IPv4.csv GeoLite2-ASN-Blocks-IPv6.csv GeoLite2-ASN.mmdb GeoLite2-Country-Blocks-IPv4.csv GeoLite2-Country-Blocks-IPv6.csv GeoLite2-Country-Locations-en.csv GeoLite2-Country-Locations-zh-CN.csv GeoLite2-Country.mmdb)\nAgent=\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/83.0.4103.116 Safari\/537.36\"\nfor ((i = 0; i &lt; ${#RequiredFile&#091;@]}; i++)); do\n    Header=\"X-Forwarded-For: $(echo | awk -v A=\"$(date +%S%N)\" '{srand();a=int(A*rand())%254+1;srand();b=int(A*rand())%254+1;srand();c=int(A*rand())%254+1;srand();d=int(A*rand())%253+1;printf\"%s.%s.%s.%s\",a,b,c,d}')\"\n    curl -H \"$Header\" -A \"$Agent\" -e - -m 300 --retry 6 -x 127.0.0.1:3801 -sLk -o - \"https:\/\/raw.githubusercontent.com\/Loyalsoldier\/geoip\/refs\/heads\/release\/${RequiredFile&#091;$i]}\" &gt;${RequiredFile&#091;$i]}\n    if &#091; $? -ne 0 ]; then\n        echo \"Download ${RequiredFile&#091;$i]} failed!\"\n        exit 1\n    fi\n    if &#091; ! -f ${RequiredFile&#091;$i]} ]; then\n        echo \"Download ${RequiredFile&#091;$i]} failed!\"\n        exit 1\n    else\n        echo \"Download ${RequiredFile&#091;$i]} success!\"\n    fi\ndone<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir geolite2\ncd geolite2\nbash .\/DownloadFile.sh\ngo run .\/ convert -c .\/config.json\n\n\n\u5982\u679c\u9047\u5230EOF\u95ee\u9898\u62a5\u9519\uff0c\u89e3\u51b3\u65b9\u6cd5\uff1a\n\/bin\/rm -rf \/root\/.cache\/go-build\/\ngo clean -modcache<\/code><\/pre>\n\n\n\n<p>\u4e0b\u8f7d\uff1a<a href=\"https:\/\/github.com\/onplus\/v2ray-SiteDAT\/releases\/download\/0.1\/v2sitedat_linux_amd64.zip\">https:\/\/github.com\/onplus\/v2ray-SiteDAT\/releases\/download\/0.1\/v2sitedat_linux_amd64.zip<\/a><\/p>\n\n\n\n<p><strong><em>\u89e3\u538bzip\u5305\u65f6\u5019\u5982\u679c\u9047\u5230\u7c7b\u4f3c\uff1aneed PK compat. v6.3 (can do v4.6) \u9519\u8bef\uff0c\u89e3\u51b3\u65b9\u6cd5\uff1a<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>apt-get install p7zip-full<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>7z x v2sitedat_linux_amd64.zip<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd v2sitedat_linux_amd64\/sites\n\/bin\/rm -f cn direct proxy reject\nwget -q -O .\/gfw https:\/\/raw.githubusercontent.com\/yunhaoz659\/h2y\/refs\/heads\/main\/gfw\nwget -q -O .\/ad  https:\/\/raw.githubusercontent.com\/yunhaoz659\/h2y\/refs\/heads\/main\/ad\nwget -q -O .\/cn  https:\/\/raw.githubusercontent.com\/yunhaoz659\/h2y\/refs\/heads\/main\/cn\ncd ..\nmkdir output\n.\/v2sitedat -dat .\/output\/h2y.dat -dir .\/sites\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\"domain\": &#091;\n  \"ext:h2y.dat:gfw\"\n]<\/code><\/pre>\n\n\n\n<p>gfw\u3001cn\u3001ad\u57df\u540d\u5e93\u7684\u66f4\u65b0\u811a\u672c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nexport LANG=C\n#\u4ecegfwlist\u539f\u751f\u6587\u4ef6\u4e2d\u63d0\u53d6\u51fa\u201d\u57df\u540d\u201d\ncurl -4sLk -o - \"https:\/\/raw.githubusercontent.com\/gfwlist\/gfwlist\/refs\/heads\/master\/gfwlist.txt\" |base64 -d |grep -E \"^(\\||\\|\\||&#091;a-zA-Z0-9.-])\" |grep -E -o \"&#091;a-zA-Z0-9.-]+\\.&#091;a-zA-Z0-9-]{2,}\" |sed 's\/^&#091;^a-zA-Z0-9-]\/\/g' |sort -u &gt;\/tmp\/gfwlist.tmp\ncurl -4sLk -o - \"https:\/\/raw.githubusercontent.com\/gfwlist\/gfwlist\/refs\/heads\/master\/gfwlist.txt\" |base64 -d |grep -E \"^\/\" |grep -Eo \"google\\\\\\..*\\)\" |grep -Eo \"\\(.*\\)\" |sed 's\/)\\|(\/\/g'|awk '{b=split($0,a,\"|\")}END{for(i=1;i&lt;=b;i++){printf\"%s.%s\\n\",\"google\",a&#091;i]}}' &gt;&gt;\/tmp\/gfwlist.tmp\n#\u4ecepexcn\u9879\u76ee\u7684gfwlist\u6587\u4ef6\u4e2d\u63d0\u53d6\u201d\u57df\u540d\u201d\u5e76\u4e0e\u539f\u751f\u8ffd\u52a0\ncurl -4sLk -o - \"https:\/\/raw.githubusercontent.com\/pexcn\/daily\/gh-pages\/shadowrocket\/gfwlist.conf\" |awk -F',' '{if($1==\"DOMAIN-SUFFIX\" &amp;&amp; $3==\"PROXY\"){print $2}}' &gt;&gt;\/tmp\/gfwlist.tmp\n#\u53bb\u91cd\u6027\u8fc7\u6ee4\nsed -i 's\/^www\\.\/\/g' \/tmp\/gfwlist.tmp\nsort -u \/tmp\/gfwlist.tmp &gt;\/tmp\/gfwlist.sort\n\/bin\/mv -f \/tmp\/gfwlist.sort \/tmp\/gfwlist.tmp\n#\u6709\u6548\u6027\u8fc7\u6ee4\uff0c\u7b5b\u51fa\u201d\u771f\u57df\u540d\u201d\nmapfile -t TOPDS &lt; &lt;(awk -F. '{print $NF}' \/tmp\/gfwlist.tmp|sort -u |awk '{printf\"%s \",$1}')\ncat \/dev\/null &gt;\/tmp\/gfwlist.valid\nthreads=3\nfifofile=\/tmp\/$$.fifo\nmkfifo $fifofile\nexec 6&lt;&gt;$fifofile\n\/bin\/rm $fifofile\nfor ((i=0;i&lt;$threads;i++));do\n  echo &gt;&amp;6\ndone\nfor i in ${TOPDS&#091;@]};do\n  &#091; -z \"$i\" ] &amp;&amp; continue\n  read -u6\n  {\n    IFVALID=$(dig ${i}. |awk '\/IN.*SOA\/{if($1==a){print 1}else{print 0}}\/^&#091;^;].*IN.*A\/{if($1==a){print 1}else{print 0}}' a=\"${i}.\" |tail -1)\n    if &#091; \"$IFVALID\" -eq \"1\" ];then\n      grep -E \"\\.${i}$\" \/tmp\/gfwlist.tmp &gt;&gt;\/tmp\/gfwlist.valid\n    fi\n    echo &gt;&amp;6\n  }&amp;\ndone\nwait\nexec 6&gt;&amp;- 6&lt;&amp;-\nsort -u \/tmp\/gfwlist.valid |grep -E -o \"&#091;a-zA-Z0-9.-]+\\.&#091;a-zA-Z0-9-]{2,}\" &gt;\/root\/gfw\n#\u5220\u9664\u4e34\u65f6\u6587\u4ef6\n\/bin\/rm -f \/tmp\/gfwlist.*\n\n\n\n\n\n\n\n\n#\u4eceprivacy-protection-tools\u9879\u76ee\u7684anti-AD\u6587\u4ef6\u4e2d\u63d0\u53d6\u51fa\u201d\u57df\u540d\u201d\ncurl -4sLk -o - \"https:\/\/raw.githubusercontent.com\/privacy-protection-tools\/anti-AD\/refs\/heads\/master\/anti-ad-surge2.txt\" |awk '\/^\\.\/{gsub(\"^\\.\",\"\",$1);print $1}' &gt;&gt;\/tmp\/ad.tmp\n#\u4ecepexcn\u9879\u76ee\u7684gfwlist\u6587\u4ef6\u4e2d\u63d0\u53d6\u201d\u57df\u540d\u201d\u5e76\u4e0e\u4e0a\u9762\u9879\u76ee\u8ffd\u52a0\ncurl -4sLk -o - \"https:\/\/raw.githubusercontent.com\/pexcn\/daily\/gh-pages\/adblock\/adblock.conf\" |awk -F'\/' '{if($1==\"server=\"){print $2}}' &gt;&gt;\/tmp\/ad.tmp\n#\u53bb\u91cd\u6027\u8fc7\u6ee4\nsed -i 's\/^\\.\/\/g' \/tmp\/ad.tmp\nsort -u \/tmp\/ad.tmp &gt;\/tmp\/ad.sort\n\/bin\/mv -f \/tmp\/ad.sort \/tmp\/ad.tmp\n#\u6709\u6548\u6027\u8fc7\u6ee4\uff0c\u7b5b\u51fa\u201d\u771f\u57df\u540d\u201d\nmapfile -t TOPDS &lt; &lt;(awk -F. '{print $NF}' \/tmp\/ad.tmp|sort -u |awk '{printf\"%s \",$1}')\ncat \/dev\/null &gt;\/tmp\/ad.valid\nthreads=3\nfifofile=\/tmp\/$$.fifo\nmkfifo $fifofile\nexec 6&lt;&gt;$fifofile\n\/bin\/rm $fifofile\nfor ((i=0;i&lt;$threads;i++));do\n  echo &gt;&amp;6\ndone\nfor i in ${TOPDS&#091;@]};do\n  &#091; -z \"$i\" ] &amp;&amp; continue\n  read -u6\n  {\n    IFVALID=$(dig ${i}. |awk '\/IN.*SOA\/{if($1==a){print 1}else{print 0}}\/^&#091;^;].*IN.*A\/{if($1==a){print 1}else{print 0}}' a=\"${i}.\" |tail -1)\n    if &#091; \"$IFVALID\" -eq \"1\" ];then\n      grep -E \"\\.${i}$\" \/tmp\/ad.tmp &gt;&gt;\/tmp\/ad.valid\n    fi\n    echo &gt;&amp;6\n  }&amp;\ndone\nwait\nexec 6&gt;&amp;- 6&lt;&amp;-\nsort -u \/tmp\/ad.valid |grep -E -o \"&#091;a-zA-Z0-9.-]+\\.&#091;a-zA-Z0-9-]{2,}\" &gt;\/root\/ad\n#\u5220\u9664\u4e34\u65f6\u6587\u4ef6\n\/bin\/rm -f \/tmp\/ad.*\n\n\n\n\n\n\n\n\n#\u4ecepexcn\u9879\u76ee\u7684chinalist\u6587\u4ef6\u4e2d\u63d0\u53d6\u201d\u57df\u540d\u201d\ncurl -4sLk -o - \"https:\/\/raw.githubusercontent.com\/pexcn\/daily\/gh-pages\/chinalist\/chinalist.txt\" &gt;\/root\/cn\n\n\n\n\n\n\n\n\nif &#091; -d \"\/data\/github\/h2y\/.git\" ];then\n  \/bin\/mv -f \/root\/ad \/root\/cn \/root\/gfw \/data\/github\/h2y\n  cd \/data\/github\/h2y\/\n  git add .\n  git commit -m \"$(date +%Y%m%d) \u66f4\u65b0\u6587\u4ef6\"\n  git push origin main\nfi<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u8f7dLoyalsoldier\/geoip\uff1a config.json: \u8fd0\u884c\u4ee3\u7801\uff1a DownloadFile.sh\uff1a \u4e0b\u8f7d\uff1ahttps:\/\/github.com\/onplus\/v2ray-SiteDAT\/releases\/download\/0.1\/v2sitedat_linux_amd64.zip \u89e3\u538bzip\u5305\u65f6\u5019\u5982\u679c\u9047\u5230\u7c7b\u4f3c\uff1aneed PK compat. v6.3 (can do v4.6) \u9519\u8bef\uff0c\u89e3\u51b3\u65b9\u6cd5\uff1a apt-get install p7zip-full 7z x v2sitedat_linux_amd64.zip gfw\u3001cn\u3001ad\u57df\u540d\u5e93\u7684\u66f4\u65b0\u811a\u672c<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":2,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":613,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/613"}],"wp:attachment":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}