• Resolved charlieswp

    (@charlieswp)


    Hi, I have a custom perl script that is executed on every page on my WP installs, but installing Hide My WP is disabling the execution (it no longer executes or produces any output). Is there a way to not interfere with this perl script execution?

    Here’s what my request looks like, located within the footer of the theme template:
    <?php
    shell_exec("/usr/bin/perl /home/httpd/html/domain.com/cgi-bin/script.cgi");
    ?>

    Disabling Hide My WP and the above executes from every WP page. With Hide My WP running, the above request is removed entirely and not being processed. I’m not sure if the entire cgi-bin path is being disabled or something else is being blocked while Hide My IP is running, but I require access to this specific script on all pages.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Peter

    (@petersquirrly)

    ??Hi Charlie,

    I’m sorry to hear about that. Please see if it works when the option ‘ Firewall against Script Injection’ from Hide My WP > Change Paths > Firewall & Headers is disabled.

    Thread Starter charlieswp

    (@charlieswp)

    Hi, I disabled Firewall against Script Injection as suggested, it didn’t work unfortunately.

    Thread Starter charlieswp

    (@charlieswp)

    I went through enabling/disabling one setting at a time and found the one that worked… Hide My WP – Tweaks – Hide HTML Comments (Disable). I’m not sure why a perl execution is considered a comment, but disabling this one option got it to work. Thank you ??

    Plugin Support Peter

    (@petersquirrly)

    It depends on what is displayed in the CGI script, if there is an HTML comment in the code then HMWP deletes it, in the source code that line does not appear but the execution of it. It’s a good thing that you identified the issue, there are situations in which the comment from the source code is used.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide My WP Disabling Perl Script’ is closed to new replies.