HEX
Server: Apache
System: Linux 95-217-38-122.cprapid.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
User: targetplatform (1004)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //scripts/configure_rh_firewall_for_cpanel
#!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/configure_firewall_for_cpanel   Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

package scripts::configure_firewall_for_cpanel;

use strict;
use Cpanel::Services::Firewall ();

exit( Cpanel::Services::Firewall::setup_firewall() || 0 );