File Manager shows "BAILOUT Malware" error editing file

If you encounter the "BAILOUT Malware" error while attempting to edit a file through cPanel File Manager, it means that Imunify360 has detected content within the file that matches known malware signatures or suspicious code patterns.

There are two common ways to resolve this issue:

Option 1: Encode the PHP Source Code

You may encode the PHP file before uploading or editing it. Encoded files are generally not flagged by malware scanners when they contain legitimate protected code.

A free online PHP encoder is available at:

https://encoder.cpanelcentral.com/

The encoder supports multiple protection methods, including:

  • ionCube

  • SourceGuardian

  • phpBolt

  • Other supported PHP encoding technologies

Simply choose your preferred encoder, upload your PHP file, generate the encoded version, and replace the original file.

Option 2: Add the File to the Imunify360 Ignore List

If you are certain that the file is safe and trusted, you can instruct Imunify360 to ignore it.

To do this:

  1. Log in to WHM as root.

  2. Navigate to Plugins → Imunify360 → Malware Scanner → Ignore Lists.

  3. Add the full path of the affected file.

Example:

/home/username/public_html/file.php

Once added, Imunify360 will exclude the file from future malware scans, allowing it to be edited normally through File Manager.

Need Assistance?

We also provide PHP Encoding Services for clients who require source code protection using ionCube, SourceGuardian, phpBolt, or other supported encoders.

Please open a support ticket, and our team will be happy to assist you.

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to install ImunifyAV free malware scanner?

To install ImunifyAV FREE antivirus for cPanel and DirectAdmin hosting panels, open an SSH...

How to install ModSec Rulesets of Imunify360?

This section includes specific settings for each hosting panel that Imunify360 supports. It is...

Upgrade Imunify360 instance to the Latest Version

If you want to upgrade to the new Imunify360 version, you can use the updated script by running...

Imunify360 - IDS Integrations - Fix Conflicts

CXS Integration ConfigServer eXploit Scanner (CXS) has different types of malware scanning,...

How to install Imunify360 on your cPanel server?

Imunify360 is simple to install. It runs on the following distributions: CentOS 6, 7 &...