0x00 File Inclusion Vulnerability Definition
File Inclusion Vulnerability: File Inclusion Sion, which indicates File Inclusion (vulnerability)
① Local file inclusion: local file inclusion is formed when the contained file is stored locally on the server.
② Remote File Inclusion: When the contained file is on a third-party server, it is called Remote File Inclusion.
Common functions contained in files:
Include (): contains and runs the specified file. If an error occurs in the file, the Program warns, but continues to execute.
Include_once (): similar to include, the difference is that include_once checks whether the file has been imported. If it has already been imported, it will not be imported any more. The direct-once operation means only one import.
Require (): contains and runs the specified file. When an error occurs in the file, the program terminates the execution.
Require_once (): similar to require, the difference is that require_once is only imported once.
File Inclusion Vulnerability