Repair Scheme of PHPCMS vulnerability File poster.php
The purpose of this article is to share with you the contents of the fix scheme for the file poster.php, which is about the PHPCMS vulnerability. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
On the vulnerability repair scheme of Aliyun prompt "phpcms injection vulnerability file poster.php"
Introduction: vulnerability name: phpcms injection vulnerability patch file: www/phpcms/modules/poster/poster.php patch source: network.
Solution:
1. Open the file www/phpcms/modules/poster/poster.php and find line 221 or so.
2. Modify the code by adding the following code after the code if ($_ GET ['group']) {:
$_ GET ['group'] = preg_replace (' # `#','', $_ GET ['group'])
3. Then, upload the modified file to the corresponding file location on the server and overwrite it directly.
4. Finally, log in to Aliyun backend and click verify (screenshot below) to complete the repair of this injection vulnerability.
Thank you for reading! On the PHPCMS vulnerability file poster.php repair program is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.