— — — — — — — — — — — — — — — — — — — — 2021.4.19 update — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

Solved those two small defects, here is the HTTP-server background run, another nail software can also follow the same idea with a script to execute the corresponding code, so as to background run, eliminate the small black box.

Enable the http-server to run in the background (no small black box)

— — — — — — — — — — — — — — — — — — — — 2021.4.6 update — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

Ngrok, ngrok.cc and IOEE are added, which are similar to ngrok

— — — — — — — — — — — — — — — — — — — — 2021.2.4 update — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

It turns out the lab computer hasn’t been on since I went home for the holidays, and I’m speechless, so I’ll just put it on my server

Nail the Intranet penetration and nodeJS download address

— — — — — — — — — — — — — — — — — — — — 2021.2.4 update — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

When I was a junior in college, I had an idea that my notes and things I thought useful could be accessed by others. I could get files by directly visiting a website

In my junior year, I had an internship with Apache in Huawei, and I thought it could be done. However, after a period of time (in fact, only two or three days ha ha ha), I found that it could be done in LAN, but not in Internet, so I probably knew that I had to penetrate the Intranet.

I have been studying for a few months, I rented a server, with the help of another friend, I probably know how to do such a thing on the server, and this method I am still groping, did not understand, let a friend teach me again next time

Today I suddenly found a very simple way (but also a little flaw) to implement this thing. For the record, I am pure white in the front end, so this article can be done as long as it is an individual.

Something needed

  • A Windows computer
  • Someone who knows a little bit about computers

Things that are involved

  • The NPM nodejs
  • http-server
  • Staple’s Intranet penetration tools, they’re all packed for you

steps

  1. Download and install the Nail penetration tool, I will learn to sell now, put the nail penetration tool download on my computer, click it will start downloading

  1. Download nodejs and install http-server. Click download Nodejs to get a.msi file. Double-click to run it.
  2. Once installed, search for the command line from the lower left corner and typenpm install http-server -gInstall the HTTP server,-gIndicates that http-server is installed globally

       

       

  1. Create a folder of resources you want to share, for exampleD:\shareAnd then put the resources you want to share in that directory, like I put this oneindex.htmlIn this directory,index.htmlIt’s very simple
<! DOCTYPE html PUBLIC <html> <head><meta charset="UTF-8"</head> </ HTMLCopy the code

  1. Open the command line in this folder. It won’t. See this blog postWin10 Open the command line window in the file path, usuallyShift + rightAnd then typehttp-server, press Enter, the following interface appears, the default is port 8080, you can pass-pDesignated open port, here I did not do, this Internet search a lot of

  1. Open the command line in the directory where the Intranet penetration tool is installed and enterDing-config = ding.cfg-subdomain = domain name you want and port you want to open, attention, domain name where may be occupied by others, try not to use common characters, all English, the second is you want to open the port and the fifth step to enable the port, such as mine isding -config=ding.cfg -subdomain=liminggulugulu 8080

Ok, you’re done, the browser type http://liminggulugulu.vaiwan.com/index.html you can see the following interface, because my computer doesn’t often open, step by step, so you can come, then I let you in other friends help you to test

This way you can put anything you want to share in this directory, others just need to visit http:// step 6 of your own domain name. Vaiwan.com/ full name includes the suffix to download resources

For example, I would like to share the Intranet penetration tool and nodejs to put the compressed package in the directory

Other people just have to visitLiminggulugulu.vaiwan.com/node-v14.15… 和 Liminggulugulu.vaiwan.com/windows_64….In fact, the above two connection address is also this, ha ha ha

A minor flaw

This method is simple and simple, but there is a minor flaw that the two command line Windows cannot be crossed and must remain open.

       

Nail the internal penetration diagram

        Nailing development document Intranet penetration of HTTP penetration