ssl/ezXSS

Call to undefined function curl_init()

Nzoth9 opened this issue · 2 comments

Hello there. First of all, thank you for creating such a great program.
I followed the wiki and installed it on my Debian (Kali LINUX).

I then unzipped it to /var/www/html and after many steps, I made it to /manage/install.
However, any subsequent access to the dashboard will result in a 500 error.

This will also check the error log.

[Mon Apr 10 00:50:05.366132 2023] [php7:error] [pid 973814] [client 160.238.37.149:45838] PHP Fatal error:  
Uncaught Error: Call to undefined function curl_init() in /var/www/html/app/controllers/Dashboard.php:55\n
Stack trace:\n#0 /var/www/html/system/Router.php(70): Dashboard->index()\n#1 /var/www/html/init.php(22): Router->proccess()\n#2 {main}\n  thrown in /var/www/html/app/controllers/Dashboard.php on line 55,
referer: https://ds.io/manage/account/login

The same error occurs with php-curl and curl, even when restarting the service after installation using apt.
Here's the source code for that part of the error.

스크린샷 2023-04-10 오후 1 59 30

I'm not sure what the problem is, as I'm getting the error even though I clearly have curl installed. Thank you. I look forward to your reply.

I had PHP versions 7.3, 7.4, and 8.3 installed on my cali, but after deleting all versions except 8.3 and installing php-curl, it worked fine. I apologize for the fuss.

ssl commented

If anyone else encounters this issue, its important to install php-curl, as stated in the wiki:
apt-get install curl php-curl