PHP builds a high-performance API architecture based on SW-X framework
prefaceOfficial website address: SW-X framework - PHP swoolex framework focusing on high-performance and convenient developmentI hope the big guys raise their hands and give my little brother a star: https://github.com/swoolex/swoolex1. 404 interface configurationIn the HTTP service, when the corresponding route cannot be found, it will load / ...
Added by MikeTyler on Fri, 04 Mar 2022 11:33:43 +0200
Notes-WeChat Subscription Number Development
Notes-WeChat Subscription Number Development Process
create menu
First in: https://mp.weixin.qq.com/ Create an applet subscription number: The difference between subscription number and service number:
The subscription number is equivalent to a user in a group. The message he sends needs to be opened in the subscription number assistan ...
Added by impulse() on Thu, 03 Mar 2022 22:57:19 +0200
Working principle of php FPM in php
1.CGI
It is a protocol for the interaction between the server and the background language. With this protocol, developers can use any language to process the requests forwarded by the server and dynamically generate content,
It ensures that the transmitted data is in standard format (specifies which data is transmitted in what format (UR ...
Added by jini01 on Thu, 03 Mar 2022 22:46:47 +0200
SuiteCRM setup and installation (apache+msyql+php)
Step 1: install the LAMP environment
1. First update the system software package to the latest version
yum update
2.. After the package is updated, you can now install LAMP (Linux, Apache, MySQL and PHP) using all required PHP modules, as shown in the figure
yum install httpd php php-common php-curl php-xml php-json php-mbstring php-zip php ...
Added by Fixxer on Thu, 03 Mar 2022 16:16:11 +0200
php disable_function bypass
bypass disable_functions
disable_functions is PHP Ini, which can be used to set the PHP environment to prohibit the use of some functions. Usually, the website administrator can disable some dangerous command execution functions for security reasons. If you want to add it, it's in PHP Ini, separated by commas.
to configure
Open PHP Ini, sear ...
Added by powelly on Thu, 03 Mar 2022 14:54:45 +0200
Order number creation (php)
Simple order number creation (php):
function generateOrderSn()
{
$yearCode = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K"];
//Generate rule year (convert to an uppercase letter to shorten the length) + Month (convert to hexadecimal number) + day + after the current timestamp
//Several ...
Added by sublimenal on Thu, 03 Mar 2022 09:21:37 +0200
Two Java replicas of SUSCTF2022
Two Java replicas of SUSCTF2022
preface
I didn't watch the game. First, I can't remember Java after touching the whole winter vacation... Second, because the hearts and minds of the team are directly seconds..
However, these two fastjson seem to have some strange problems. If you reproduce them, just learn something from them.
baby gadget v ...
Added by GoodGuy201 on Wed, 02 Mar 2022 16:36:24 +0200
PHP learning and MYSQL advanced
PHP
Application of php annotation
Comments are the interpretation and explanation of the code, and the comments will be ignored by the interpreter
<?php
/*
Multiline text note
*/
?>
<?php
//Single line text note
?>
Initial experience of php program
Each line of php code must end with an English semicolon
Th ...
Added by scarlson on Tue, 01 Mar 2022 03:16:21 +0200
Original title of CTFSHOW competition (web711-web725)
Because there are many topics, many places are relatively simple. I hope the masters will understand..
web711
Scanning the directory found robots Txt, prompt static / secret key txt Access to get a string ctfshow_love_you Then enter the normal page, there is a login and registration, randomly register a user, and after logging in, it is fo ...
Added by slyte33 on Sun, 27 Feb 2022 13:22:34 +0200
[OS command injection 01] common functions that may cause OS command injection (system, exec, passthru, popen and backquote structure)
1. Overview of OS command injection
Background: when programmers use script language (such as PHP) to develop applications, script language development is very fast, concise and convenient, but it is also accompanied by some problems, such as slow speed, unable to touch the bottom of the system, etc. When developing applications, especiall ...
Added by jonnym00 on Sun, 27 Feb 2022 06:35:42 +0200