摘要: 这个是纯真ip库修改的3级库 顶级国家>省>市 ip存的为 int 类型 ip转int C# 代码 https://www.cnblogs.com/87duan/p/15039204.html 下载地址 IPAddress.rar 阅读全文
posted @ 2021-07-27 17:34 87de海雷 阅读(149) 评论(0) 推荐(0)
摘要: @echo off setlocal enabledelayedexpansion echo. curl httpbin.org/ip>D:\ip.txt echo. for /f "delims=" %%i in ('type "D:\ip.txt"') do (set ip=!ip!%%i) s 阅读全文
posted @ 2021-07-27 17:22 87de海雷 阅读(270) 评论(0) 推荐(0)
摘要: @echo off echo 4.0 为.net版本 core 请添空 C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"SiteName" /managedRuntimeVersion:"4.0" C:\Windows\System 阅读全文
posted @ 2021-07-27 17:14 87de海雷 阅读(167) 评论(0) 推荐(0)
摘要: @echo off echo add IIS ... start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-Direct 阅读全文
posted @ 2021-07-27 17:09 87de海雷 阅读(325) 评论(0) 推荐(0)
摘要: @echo off title Auto Install setlocal enabledelayedexpansion echo 读取密码 setlocal enabledelayedexpansion for /f "delims=" %%i in ('type "C:\Users\admini 阅读全文
posted @ 2021-07-27 17:07 87de海雷 阅读(2025) 评论(0) 推荐(0)
摘要: @echo off setlocal enabledelayedexpansion set c=AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890!@#$& for /l %%a in (1 1 16) do ( set/a 阅读全文
posted @ 2021-07-27 17:03 87de海雷 阅读(185) 评论(0) 推荐(0)
摘要: call 一键安装.bat 阅读全文
posted @ 2021-07-27 16:59 87de海雷 阅读(123) 评论(0) 推荐(0)
摘要: --读取成文本 var txt = System.IO.File.ReadAllText("1.txt"); --读取成逐行数组 string[] arr = System.IO.File.ReadAllLines("1.txt"); -- 没有文件会自动创建,有就追加 System.IO.File 阅读全文
posted @ 2021-07-27 16:26 87de海雷 阅读(1580) 评论(0) 推荐(0)
摘要: public string ToIPv4(int val) { return string.Join(".",BitConverter.GetBytes(val).Reverse()); } 阅读全文
posted @ 2021-07-27 16:20 87de海雷 阅读(81) 评论(0) 推荐(0)
摘要: Startup 文件 注册服务 public void ConfigureServices(IServiceCollection services){ services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>(); } 获取IP 阅读全文
posted @ 2021-07-22 11:36 87de海雷 阅读(533) 评论(0) 推荐(0)