文章目录
phpstudy地址 :
https://www.xp.cn/
sqli-libs地址 :https://github.com/Audi-1/sqli-labs
一、PhPstudy下载、安装
1、下载--解压--安装,安装完成如下图
2、更换php版本
二、Sqli-libs下载、搭建
1、sqli-libs下载、解压
2、将解压缩好的"sqli-labs"文件夹移动到www目录下
3、查看phpstudy数据库账号密码
4、修改"db-creds.inc"配置文件
三、启用Sqli-libs
1、启动phpstudy,启用WNMP
2、访问http://localhost/sqli-labs
3、点击"Setup/reset Database for labs" 来创建数据库、创建表和填充数据
4、如下显示搭建成功
SQLi-LABS Page-1(Basic Challenges)
SQLi-LABS Page-2 (Adv Injections)
SQLi-LABS Page-3 (Stacked Injections)
SQLi-LABS Page-4 (Challenges)
