当前位置:网站首页>Use ngrok for intranet penetration
Use ngrok for intranet penetration
2022-07-27 05:08:00 【wen-pan】
1、 Download installation package
To ngrok Official website Sign in ( have access to GitHub To login ) And download ngrok Installation package

2、 Unzip to the directory you specified
- After decompressing, you get an executable file

3、 add to authtoken
Go to the official website to check your authtoken

It needs to be decompressed just now ngrok Execute the following command under the directory of , The following is what you can see on the official website authtoken
ngrok config add-authtoken zzzzzzzzzzxxxxxxxxxxMhzJT0i_4KfwYpPURLbaFsyS3Kb4X
4、 Perform intranet penetration
Be careful : Need to ngrok Execute the command under the unzipped directory , Otherwise it would be impossible to recognize ngrok command
Execute the following command , Create a connection with this computer 8080 port ( You can choose ) The tunnel
# there localhost You can also change to other domain names
ngrok http localhost:8080
After successful execution , too 1s The following interface will appear on the clock

Then you can take this domain name on the extranet to access your local localhost8080 Port !!!!
5、 test
Create your own web engineering , Write an interface
@GetMapping("test")
public static String test() {
log.error(" Received request pull .....");
return "success";
}
Access the interface in the browser , give the result as follows :

Be careful : Because this is free intranet penetration , Therefore, only one port is allowed to be bound at the same time , Cannot bind multiple ports at the same time .
边栏推荐
- Final Cut Pro Chinese tutorial (1) basic understanding of Final Cut Pro
- 多态的详讲
- Mysql表的约束
- Complete Binary Tree
- The digital China Construction Summit ended with a list of massive pictures on site!
- MySQL storage engine and its differences
- 智慧展厅设计的优势及适用行业分析
- Why is select not recommended*
- Sub database and sub table
- Read write separation and master-slave synchronization
猜你喜欢

【搜索】—— 多源BFS + 最小步数模型

Unit test Chapter6

What about PS too laggy? A few steps to help you solve the problem
![[error reporting]: cannot read properties of undefined (reading 'prototype')](/img/e4/528480610b9eed6028d7b3b87571e2.png)
[error reporting]: cannot read properties of undefined (reading 'prototype')

「Photoshop2021入门教程」“拉平”带有透视感的图像

Could not autowire.No beans of ‘userMapper‘ type found.

如何重置Photoshop首选项?ps重置首选项的方法

【报错】Cannot read property ‘parseComponent‘ of undefined

树莓派输出PWM波驱动舵机

Knowledge about hash index and b+ tree
随机推荐
File dialog box
项目对接支付宝支付,内网穿透实现监听支付宝的支付成功异步回调通知
How to create an applet project
Replication of df-gan experiment -- detailed steps of replication of dfgan and forwarding from remote port to local port using mobaxtem
C中文件I/O的使用
Installation and template setting of integrated development environment pychar
传智教育|软件测试工程师未来的发展方向有哪些?
节流函数的demo——正则表达式匹配
34. 分析flexible.js
Complete Binary Tree
The project connects with Alipay payment, and the intranet penetration realizes the monitoring of asynchronous callback notification of successful payment of Alipay
How do I reset Photoshop preferences? PS method of resetting preferences
Final Cut Pro中文教程 (1) 基础认识Final Cut Pro
ps怎么导入lut预设?Photoshop导入lut调色预设教程
Use of file i/o in C
事件(event)
【报错】:Cannot read properties of undefined (reading ‘prototype‘)
Counting Nodes in a Binary Search Tree
Hiding skills of Photoshop clipping tool
Hiding skills of Photoshop clipping tool