Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.224.202.121
Cant Read [ /etc/named.conf ]
8.1.13
www
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
mysql /
mysql-test /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
My
[ DIR ]
drwxr-xr-x
v1
[ DIR ]
drwxr-xr-x
mtr_cases.pm
38.71
KB
-rw-r--r--
mtr_cases_from_list.pm
3
KB
-rw-r--r--
mtr_gcov.pl
2.43
KB
-rw-r--r--
mtr_gprof.pl
1.71
KB
-rw-r--r--
mtr_io.pl
3.26
KB
-rw-r--r--
mtr_match.pm
2.4
KB
-rw-r--r--
mtr_misc.pl
7.39
KB
-rw-r--r--
mtr_process.pl
4.14
KB
-rw-r--r--
mtr_report.pm
25.85
KB
-rw-r--r--
mtr_results.pm
4.28
KB
-rw-r--r--
mtr_stress.pl
6.46
KB
-rw-r--r--
mtr_unique.pm
3.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mtr_process.pl
# -*- cperl -*- # Copyright (c) 2004, 2022, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, # as published by the Free Software Foundation. # # This program is also distributed with certain software (including # but not limited to OpenSSL) that is licensed under separate terms, # as designated in a particular file or component or in included license # documentation. The authors of MySQL hereby grant you an additional # permission to link the program and your derivative works with the # separately licensed software that they have included with MySQL. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License, version 2.0, for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # This is a library file used by the Perl version of mysql-test-run, # and is part of the translation of the Bourne shell script with the # same name. use strict; use Socket; use Errno; use My::Platform; use if IS_WINDOWS, "Net::Ping"; # Ancient perl might not have port_number method for Net::Ping. # Check it and use fallback to connect() if it is not present. BEGIN { my $use_netping= 0; if (IS_WINDOWS) { my $ping = Net::Ping->new(); if ($ping->can("port_number")) { $use_netping= 1; } } eval 'sub USE_NETPING { $use_netping }'; } sub sleep_until_file_created ($$$); sub mtr_ping_port ($); sub mtr_ping_port ($) { my $port= shift; mtr_verbose("mtr_ping_port: $port"); if (IS_WINDOWS && USE_NETPING) { # Under Windows, connect to a port that is not open is slow # It takes ~1sec. Net::Ping with small timeout is much faster. my $ping = Net::Ping->new(); $ping->port_number($port); if ($ping->ping("localhost",0.1)) { mtr_verbose("USED"); return 1; } else { mtr_verbose("FREE"); return 0; } } my $remote= "localhost"; my $iaddr= inet_aton($remote); if ( ! $iaddr ) { mtr_error("can't find IP number for $remote"); } my $paddr= sockaddr_in($port, $iaddr); my $proto= getprotobyname('tcp'); if ( ! socket(SOCK, PF_INET, SOCK_STREAM, $proto) ) { mtr_error("can't create socket: $!"); } mtr_debug("Pinging server (port: $port)..."); if ( connect(SOCK, $paddr) ) { close(SOCK); # FIXME check error? mtr_verbose("USED"); return 1; } else { mtr_verbose("FREE"); return 0; } } ############################################################################## # # Wait for a file to be created # ############################################################################## # FIXME check that the pidfile contains the expected pid! sub sleep_until_file_created ($$$) { my $pidfile= shift; my $timeout= shift; my $proc= shift; my $sleeptime= 100; # Milliseconds my $loops= ($timeout * 1000) / $sleeptime; for ( my $loop= 1; $loop <= $loops; $loop++ ) { if ( -r $pidfile ) { return 1; } my $seconds= ($loop * $sleeptime) / 1000; # Check if it died after the fork() was successful if ( defined $proc and ! $proc->wait_one(0) ) { mtr_warning("Process $proc died after mysql-test-run waited $seconds " . "seconds for $pidfile to be created."); return 0; } mtr_debug("Sleep $sleeptime milliseconds waiting for $pidfile"); # Print extra message every 60 seconds if ( $seconds > 1 && int($seconds * 10) % 600 == 0 && $seconds < $timeout ) { my $left= $timeout - $seconds; mtr_warning("Waited $seconds seconds for $pidfile to be created, " . "still waiting for $left seconds..."); } mtr_milli_sleep($sleeptime); } mtr_warning("Timeout after mysql-test-run waited $timeout seconds " . "for the process $proc to create a pid file."); return 0; } 1;
Close