Ganteng Doang Upload Shell Gak Bisa


Linux server.jmdstrack.com 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
/ scripts/

//scripts/fix_pear_registry

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

# cpanel - scripts/fix_pear_registry               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

use strict;
use Cpanel::Imports;
use Cpanel::Binaries        ();
use Cpanel::Pkgr            ();
use Cpanel::SafeRun::Object ();

# This script is intended to clean up after the Horde and other PEAR RPMs that had
# a faulty %postun. This has since been fixed, but the script is needed as a one-time
# operation to repair the PEAR registry, since the %postun of the old RPM is executed
# after the new RPM's %post has already run. This could be handled with a %triggerpostun,
# but that would add a new element to the long-term behavior of the RPMs, which is
# undesirable for this one-time cleanup measure.

exit run(@ARGV) unless caller;

sub run {

    my %report;

    my $pear_bin = Cpanel::Binaries::CPANEL_PHP_BIN() . '/pear';    # Don't use Cpanel::FindBin for this. It may grab the system pear, which we don't want.

    my $php_rpm_prefix          = 'cpanel-php' . Cpanel::Binaries::get_php_version( flat => 1 ) . '*';
    my @installed_pear_packages = keys( %{ Cpanel::Pkgr::installed_packages($php_rpm_prefix) } );
    $report{installed} = @installed_pear_packages;

    for my $pkg ( sort @installed_pear_packages ) {
        my $xmlfile = Cpanel::Binaries::CPANEL_PHP . '/lib/pear/' . $pkg . '.xml';
        if ( -f $xmlfile ) {

            my $package_is_registered = is_registered($pkg);

            if ($package_is_registered) {
                logger->info( locale->maketext( 'The “[_1]” package is already in the [asis,PEAR] registry.', $pkg ) );
                $report{already_registered}++;
                next;
            }

            $report{not_already_registered}++;

            my @pear_args = ( qw(install --nodeps --force --register-only), $xmlfile );
            my $run       = Cpanel::SafeRun::Object->new(
                program => $pear_bin,
                args    => \@pear_args,
            );
            if ( $run->CHILD_ERROR || !is_registered($pkg) ) {
                logger->warn( locale->maketext( 'The system failed to add the [asis,PEAR] registry entry for “[_1]”: [_2]', $pkg, $run->stdout ) );    # pear errors are on stdout, and pear may exit zero without actually doing anything
                logger->warn("Command: $pear_bin @pear_args");
                $report{failed}++;
            }
            else {
                print $run->stdout;
                logger->info( locale->maketext( 'The system added the [asis,PEAR] registry entry for “[_1]”.', $pkg ) );
                $report{succeeded}++;
            }
        }
        else {
            logger->info( locale->maketext( 'The system could not find the [asis,XML] file for “[_1]”.', $pkg ) );
            $report{no_xml}++;
        }
    }

    logger->info(
        locale->maketext(
            'There are [numf,_1] installed [asis,PEAR] packages. Of those packages, [numf,_2] already existed in the [asis,PEAR] registry, [numf,_3] did not, and [numf,_4] did not contain an [asis,XML] file. Of the [quant,_3,package,packages] not listed in the registry, the system successfully added [numf,_5], and failed to add [numf,_6].',
            map { $_ || 0 } @report{qw(installed already_registered not_already_registered no_xml succeeded failed )}
        )
    );

    # We can't count on every single PEAR package to always register successfully, so only exit nonzero if something
    # very bad like the pear binary being missing occurred.

    return 0;
}

sub is_registered {
    my ($pkg) = @_;
    my $pear_bin = Cpanel::Binaries::THIRD_PARTY_BIN . '/pear';
    return scalar grep {
        my $channel   = $_;
        my @pear_args = ( qw(list -c horde), "$channel/$pkg" );
        my $run       = Cpanel::SafeRun::Object->new(
            program => $pear_bin,
            args    => \@pear_args,
        );
        !$run->CHILD_ERROR;
    } 'horde', 'pear';
}
			
			


Thanks For 0xGh05T - DSRF14 - Mr.Dan07 - Leri01 - FxshX7 - AlkaExploiter - xLoveSyndrome'z - Acep Gans'z

JMDS TRACK – Just Another Diagnostics Lab Site

Home

JMDS TRACK Cameroon

Boost the productivity of your mobile ressources


Make An Appointment


Fleet management

  1. Reduce the operting cost and the unavailability of your vehicles
  2. reduce the fuel consumption of your fleet
  3. Improve the driving dehavior and safety of your drivers
  4. optimize the utilization rate of your equipment 
  5. protect your vehicle against theft
  6. Improve the quality of your customer service


Find out more

Assets management

  1. Track the roaming of your equipment
  2. Optimise the management of your assets on site and during transport
  3. Secure the transport of your goods
  4. Make your team responsible for preventing the loss of tools, equipment
  5. Take a real-time inventory of your equipment on site
  6. Easily find your mobile objects or equipment



Find out more



Find out more

Antitheft solutions

  1. Secure your vehicles and machinery and increase your chances of recovering them in the event of theft
  2. Protect your assets and reduce the costs associated with their loss
  3. Combine immobiliser and driver identification and limit the risk of theft
  4. Identify fuel theft and reduce costs
  5. Protect your goods and take no more risks
  6. Be alerted to abnormal events

Our Location

 Douala BP cité 

     and

Yaoundé Total Essos


Make An Appointment


Get Directions

682230363/ 677481892

What makes us different from others

  • young and dynamic team
  • call center 24/24 7/7
  • roaming throughout Africa
  • team of developers who can develop customer-specific solutions
  • diversity of services
  • reactive and prompt after-sales service when soliciting a customer or a malfunction
  • Free Maintenance and installation in the cities of Douala and Yaounde

https://youtu.be/xI1cz_Jh2x8

15+
years of experience in GPS system development, production and deployment.

15 Collaborators

More than 15 employees dedicated to the research and development of new applications and to customer care

5 000 Vehicles and mobile assets

5 000 vehicles and mobile assets under management, in Africa

Our Partners










Latest Case Studies

Our current projects 

5/5
Bon SAV , SATISFAIT DU TRAITEMENT DES REQUETES

M DIPITA CHRISTIAN
Logistic Safety Manager Road Safety Manager
5/5
La réactivité de JMDS est excellente
Nous restons satisfait dans l’ensemble des prestations relatives a la couverture de notre parc automobile

Hervé Frédéric NDENGUE
Chef Service Adjoint de la Sécurité Générale (CNPS)
5/5
L’APPLICATION EMIXIS est convivial A L’utilisation
BEIG-3 SARL
DIRECTOR GENERAL
5/5
Nevertheless I am delighted with the service
MR. BISSE BENJAMIN
CUSTOMER

Subsribe To Our Newsletter

Stay in touch with us to get latest news and special offers.



Address JMDS TRACK

Douala bp cité



and

YAOUNDE Total Essos

Call Us

+237682230363



Email Us


info@jmdstrack.cm