2025.3.14 php漏洞
1,PHP变量覆盖漏洞,例:<?php $a="want_to_be_a_cat"; $b="meovv"; $test=$a; $$test=$b; var_dump($want_to_be_a_cat); ?>先解析 $test 的值(即 "want_to_be_a_cat"),然后创建一个名为 $want_to_be_a_cat 的变量,并赋值为 $b 的值(即 "meovv")
2,PHP文件漏洞,文件包含,上传恶意文件
1,PHP变量覆盖漏洞,例:<?php $a="want_to_be_a_cat"; $b="meovv"; $test=$a; $$test=$b; var_dump($want_to_be_a_cat); ?>先解析 $test 的值(即 "want_to_be_a_cat"),然后创建一个名为 $want_to_be_a_cat 的变量,并赋值为 $b 的值(即 "meovv")
2,PHP文件漏洞,文件包含,上传恶意文件