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:
-
Log in to WHM as root.
-
Navigate to Plugins → Imunify360 → Malware Scanner → Ignore Lists.
-
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.
