@echo off set url=https://raw.githubusercontent.com/ set output=result.txt set iplookup=https://www.iplocation.net/ip-lookup

echo 正在查询IP地址,请稍等...

for /f "delims=" %%i in ('nslookup %url% ^| findstr /i "Address"') do ( set ip=%%i set ip=!ip:~9! )

echo 查询到的IP地址为:%ip%

echo 正在进行IP地址查询,请稍等...

curl -s %iplookup%/%ip% > %output%

echo 查询结果已经保存到 %output% 中。

pause

写一个bat自动脚本在httpswwwiplocationnetip-lookup网站查询httpsrawgithubusercontentcom网站的真实IP地址

原文地址: https://www.cveoy.top/t/topic/crnP 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录