This article mainly introduces the PHP implementation of the intranet penetration application spike reconstruction completed, has a certain reference value, now share to everyone, the need for friends can refer to
Formula attached project address: https://github.com/slince/spike;
This small application last year, the first version has been completed, according to their own project needs, anyway, there are some people response to some problems, the two days to deal with the time to find a lot of code problems are very large, so simply refactoring a bit of code;
This version mainly removes some over-designed code, and clarifies several important roles in the code ecosystem. Modified the transmission of the custom Protocol, the spike protocol in the previous version was designed as a form of the class HTTP protocol, the refactoring when it was found that this format is not directly processed, and then replaced in the form of JSON transmission.
The usage is not different from the previous version, and the specific documents can refer to the following readme file;
A simple schematic diagram is attached below:
The figure of the several characters in the source code has a concrete embodiment, I hope that the students in the need to penetrate the needs of the intranet spike can give you a more choice.
The above is the whole content of this article, I hope that everyone's learning has helped, more relevant content please pay attention to topic.alibabacloud.com!