[GH-ISSUE #759] How to avoid false detection by Imunify360 #519

Closed
opened 2026-03-02 15:59:25 +03:00 by kerem · 9 comments
Owner

Originally created by @hexclann on GitHub (Mar 25, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/759

Hello, I'm trying to use tinyfilemanager in a shared hosting environment. Cpanel has an antivirus, Imunify360 which is detecting the tinyfilemanager.php as a malware. There's no way to whitelist the file and the support is not willing to disable Imunify for my account. Is there any way I can use tinyfilemanager?

Originally created by @hexclann on GitHub (Mar 25, 2022). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/759 Hello, I'm trying to use tinyfilemanager in a shared hosting environment. Cpanel has an antivirus, Imunify360 which is detecting the tinyfilemanager.php as a malware. There's no way to whitelist the file and the support is not willing to disable Imunify for my account. Is there any way I can use tinyfilemanager?
kerem closed this issue 2026-03-02 15:59:25 +03:00
Author
Owner

@prasathmani commented on GitHub (Mar 26, 2022):

#273, #754

<!-- gh-comment-id:1079612230 --> @prasathmani commented on GitHub (Mar 26, 2022): #273, #754
Author
Owner

@crispa commented on GitHub (Mar 26, 2022):

Add file tinyfilemanager.php to ignore list at cpanel, in Imunify360.

<!-- gh-comment-id:1079646056 --> @crispa commented on GitHub (Mar 26, 2022): Add file tinyfilemanager.php to ignore list at cpanel, in Imunify360.
Author
Owner

@FransW5 commented on GitHub (Jul 21, 2022):

Solution for cPanel firewall:

Open tinyfilemanager.php in a text editor And

Replace All:
fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH));

With:
$FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH));

<!-- gh-comment-id:1191076071 --> @FransW5 commented on GitHub (Jul 21, 2022): Solution for cPanel firewall: Open tinyfilemanager.php in a text editor And Replace All: fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH)); With: $FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH));
Author
Owner

@blrcoderbro commented on GitHub (Oct 14, 2022):

@FransW5 the solution you have mentioned is now obsolete. @prasathmani or @FransW5 Kindly Update With a newer solution on this thread

<!-- gh-comment-id:1279138310 --> @blrcoderbro commented on GitHub (Oct 14, 2022): @FransW5 the solution you have mentioned is now obsolete. @prasathmani or @FransW5 Kindly Update With a newer solution on this thread
Author
Owner

@FransW5 commented on GitHub (Oct 17, 2022):

@codedivinetech

I tested on (cPanel 106.0.8 + cPGuard + imunify360 Malware scanner) and with the following replacement, solves the problem.

What hosting management system are you using?
What antivirus and firewall is running on your host?

Replace All:
fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH));

With:
$FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH));
<!-- gh-comment-id:1281269417 --> @FransW5 commented on GitHub (Oct 17, 2022): @codedivinetech I tested on (cPanel 106.0.8 + cPGuard + imunify360 Malware scanner) and with the following replacement, solves the problem. What hosting management system are you using? What antivirus and firewall is running on your host? ``` Replace All: fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH)); With: $FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH)); ```
Author
Owner

@blrcoderbro commented on GitHub (Oct 17, 2022):

image
image

@FransW5 You can find the exact info on the above pics

<!-- gh-comment-id:1281296967 --> @blrcoderbro commented on GitHub (Oct 17, 2022): ![image](https://user-images.githubusercontent.com/74067051/196252825-9080214b-1db3-41bd-8c2d-bd4a21f57aaf.png) ![image](https://user-images.githubusercontent.com/74067051/196253704-0c5415fe-5fec-4188-8e88-b77bb9beff38.png) @FransW5 You can find the exact info on the above pics
Author
Owner

@FransW5 commented on GitHub (Oct 18, 2022):

@codedivinetech

Access to your host is required to check the issue!

<!-- gh-comment-id:1281837033 --> @FransW5 commented on GitHub (Oct 18, 2022): @codedivinetech Access to your host is required to check the issue!
Author
Owner

@blrcoderbro commented on GitHub (Oct 18, 2022):

@FransW5 Please Msg me on telegram https://t.me/spartancinemax

<!-- gh-comment-id:1281839669 --> @blrcoderbro commented on GitHub (Oct 18, 2022): @FransW5 Please Msg me on telegram https://t.me/spartancinemax
Author
Owner

@sohailsarwar101 commented on GitHub (Feb 10, 2023):

@codedivinetech

I tested on (cPanel 106.0.8 + cPGuard + imunify360 Malware scanner) and with the following replacement, solves the problem.

What hosting management system are you using? What antivirus and firewall is running on your host?

Replace All:
fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH));

With:
$FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH));

Still the same issue even after replacing the mentioned code. (Cpanel with cPGuard). Any other suggestion please?

<!-- gh-comment-id:1425250377 --> @sohailsarwar101 commented on GitHub (Feb 10, 2023): > @codedivinetech > > I tested on (cPanel 106.0.8 + cPGuard + imunify360 Malware scanner) and with the following replacement, solves the problem. > > What hosting management system are you using? What antivirus and firewall is running on your host? > > ``` > Replace All: > fm_redirect(FM_SELF_URL . '?p=' . urlencode(FM_PATH)); > > With: > $FM_PATH=FM_PATH; fm_redirect(FM_SELF_URL . '?p=' . urlencode($FM_PATH)); > ``` Still the same issue even after replacing the mentioned code. (Cpanel with cPGuard). Any other suggestion please?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#519
No description provided.