Skip to content

Possible error messages

elyesa edited this page Sep 21, 2024 · 10 revisions

You did not setup your config file yet.

Rename .env.example to .env and fill in your database information.

There is something wrong with your config file.

PHP was unable to read your config file. Maybe you made a typo somewhere?

Your mod_rewrite is not setup correctly.

Please read instructions on how to install ezXSS correctly on Installation.

PHP 7.1 or up is required to use ezXSS

Please update your PHP to 7.1 or up.

ezXSS does not work without SSL

ezXSS is designed to live on a website with an certificate. It is also not possible to execute payloads on websites with https if your ezXSS does not have a certificate.

If you still want to use ezXSS, for example on localhost to test, you can set the httpmode to true inside your config file .env

500 Error on callback or 'Unable to save screenshot to server, check permissions'

If you have screenshots enabled, you need to have the right permissions on the img directory to allow creating images. You can fix this by running chown 777 on your /assets/img/ folder. For example on Apache you would:

chmod 777 /var/www/html/assets/img

You can also change your screenshot settings to store in the database instead of on the server. Change these settings on the /manage/settings page.

Notifications not working

When email notifications are not working, make sure your mail service is setup correctly on your server. ezXSS uses the default php mail to send mails.

When Telegram / Slack / Discord notifications aren't working, there might be something wrong with curl. ezXSS uses curl to send the notification details to the webhooks. Make sure curl is installed on your server.

To install curl with apt:

apt-get install curl php-curl

Update has finished with errors. ezXSS was unable to add indexes to your database.

This error can happen in MySQL. Changing to MariaDB might fix this as well. ezXSS will still work but not all indexes got added to the database. Indexes make sure all database queries run fast. You can try to fix this by hand by running the indexes queries by hand. This will tell you which column might be too big.

No report received on http:// site

When your payload works fine on https:// sites, but not on http:// sites, this might have todo with your payload automatically redirecting http:// to https://. This can result in an 301 redirect header which is not always followed, and the payload is therefore not loaded.

If you want ezXSS to work on all sites, make sure you do not redirect http:// requests to https:// by default. Your payload should load without a redirect on http://example.com

could not find driver

You are missing the mysql/pdo driver that ezXSS uses to connect to your database. Install the proper php mysql driver. (for example sudo apt-get install php8.0-mysql)