Audi-1 / sqli-labs

SQLI labs to test error based, Blind boolean based, Time based.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should I define sql functions myself?

liumiao-p opened this issue · comments

commented

sql-connection目录下找不到定义操作sql的一系列函数的php文件,比如mysql_connect(),mysql_query()等等,是不是需要读者自行定义?

No, just follow this pull request #19 (comment)
Problem is that mysql_connect is banned from php-7.x, the fork of the pull request did the compatible work.

By the way, you may need to apt install php7.x-mysql and modify the php.ini in /etc/php/7.3/apache2 to enable the mysql extention. Then restart related services.