!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/share/webmin/firewall6/   drwxr-xr-x
Free 28.65 GB of 117.98 GB (24.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     firewall4-lib.pl (1.82 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# firewall4-lib.pl
# has to be included after firewall-lib from every cgi

# ipv4 initialization
if ($config{'save_file'}) {
    # Force use of a different save file, and webmin's functions
    $iptables_save_file = $config{'save_file'};
    }
else {
    if (-r "$module_root_directory/$gconfig{'os_type'}-lib.pl") {
        # Use the operating system's save file and functions
        do "$gconfig{'os_type'}-lib.pl";
        }

    if (!$iptables_save_file) {
        # Use webmin's own save file
        $iptables_save_file = "$module_config_directory/iptables.save";
        }
    }

%access = &get_module_acl();

@known_tables = ( "filter", "mangle", "nat" );
@known_args =   ('-p', '-m', '-s', '-d', '-i', '-o', '-f',
         '--dport', '--sport', '--tcp-flags', '--tcp-option',
         '--icmp-type', '--mac-source', '--limit', '--limit-burst',
         '--ports', '--uid-owner', '--gid-owner',
         '--pid-owner', '--sid-owner', '--state', '--ctstate', '--tos',
         '-j', '--to-ports', '--to-destination', '--to-source',
         '--reject-with', '--dports', '--sports', '--match-set',
         '--comment',
         '--physdev-is-bridged',
         '--physdev-is-in',
         '--physdev-is-out',
         '--physdev-in',
         '--physdev-out');

@ipvx_rtypes = ( "icmp-net-unreachable", "icmp-host-unreachable",
          "icmp-port-unreachable", "icmp-proto-unreachable",
          "icmp-net-prohibited", "icmp-host-prohibited",
          "echo-reply", "tcp-reset" );

$ipvx_todestpattern='^([0-9\.]+)(\-([0-9\.]+))?(:(\d+)(\-(\d+))?)?$';


# set IP Version
&set_ipvx_version('ipv4');

# IP V4 only functions
sub check_ipmask
{
foreach my $w (split(/[ \t\r\n,]+/, $_[0])) {
    my $ok = &to_ipaddress($w) ||
        $w =~ /^([0-9\.]+)\/([0-9\.]+)$/ &&
            &to_ipaddress("$1") &&
            (&check_ipaddress("$2") || ($2 =~ /^\d+$/ && $2 <= 32));
    return 0 if (!$ok);
    }
return 1;
}

# check_ipvx_ipaddress(ipv4)
# Validates an IPv4 address
sub check_ipvx_ipaddress
{
return &check_ipaddress(@_);
}

1;


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0051 ]--