Linux:~/.config/ngrok/ngrok.yml MacOS (Darwin):~/Library/Application Support/ngrok/ngrok.yml Windows:"%HOMEPATH%\AppData\Local\ngrok\ngrok.yml" Config File Merging The--configflag in thengrokcommand allows you to specify one or more ngrok configuration files to merge when starting the ngro...
If you see an exit code5orInput/output error, it usually indicates that ngrok is not able to find the config file and/or does not have permissions to do so. Make sure you have installed the ngrok service with a valid config file and that when the service is run (either as you or ...
6、设置ngrok,使其连接到自己的账户: ngrok config add-authtoken 2Wxhip***KvmEVKE PS E:\temp\ngfrok> .\ngrok config add-authtoken 2Wxhip***KvmEVKE Authtoken saved to configuration file: C:\Users\Administrator\AppData\Local/ngrok/ngrok.yml PS E:\temp\ngfrok> 1. 2. 3. 4. 这串toke...
... more config omitted ... </configuration> Custom ngrok Subdomains with ASP.NET Core or Azure Functions If you are using an ASP.NET Core or Azure Functions project and want to test locally, you can set thengrok.subdomainkey in theappsettings.jsonfile like so: { "IsEncrypted": false,...
ngrok config upgrade The default locations of the config file have changed too, you can upgrade and move your config file with the command: ngrok config upgrade --relocate The library makes this command available as well. To get the same effect you can run: ...
ngrok config add-authtoken 2ZT0cbRFDpd4PJlMTagoxMMwEcW_34HDRaFhHWB3dVqhRi6Tn 这个token串是网站应该是自动生成的,每个人不同 执行完毕提示如下 Authtoken saved to configuration file: C:\Users\UserName\AppData\Local/ngrok/ngrok.yml 但不要轻易泄露,你可以通过菜单去重置 ...
-config string Path to ngrok configuration file. (default: $HOME/.ngrok) -hostname string Request a custom hostname from the ngrok server. (HTTP only) (requires CNAME of your DNS) -httpauth string username:password HTTP basic auth creds protecting the public tunnel endpoint ...
// reserved tunnel name https://alex.ngrok.io authtoken: '12345', // your authtoken from ngrok.com region: 'us', // one of ngrok regions (us, eu, au, ap, sa, jp, in), defaults to us configPath: '~/git/project/ngrok.yml', // custom path for ngrok config file binPath: pat...
1、下载windows版本的客户端,解压到你喜欢的⽬录 2、配置ngrok.conf⽂件 3、在命令⾏(cmd)下进⼊到ngrok客户端⽬录下 4、执⾏ ngrok -config=ngrok.cfg -subdomain xxx 80 //(xxx 是你⾃定义的域名前缀)5、如果开启成功你就可以使⽤ xxx.ngrok.xiaomiqiu.cn 来访问你本机的 127.0.0.1...
我们的第一个突破点是我们发现了这道指令:「<random> tcp –authtoken <token> -config <config file> <ip>:445」。光从它的参数就能判断这应该是某种网络通讯工具,而且使用的是企业常用的连接埠 (SMB/TCP 445)。 找到对应档案后,我们相信它应该是「ngrok」软件的拷贝,该软件可让企业内的电脑被外界看到,其...