Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.216
Cant Read [ /etc/named.conf ]
7.4.32
finalho
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 /
src /
imagick /
util /
[ HOME SHELL ]
Name
Size
Permission
Action
Float32Info.php
737
B
-rw-r--r--
FloatInfo.php
738
B
-rw-r--r--
analyze_params.php
946
B
-rw-r--r--
calculate_cflags.php
1.84
KB
-rw-r--r--
calculate_test_jobs.php
335
B
-rw-r--r--
checkSymbols.php
3.7
KB
-rw-r--r--
check_fonts.php
560
B
-rw-r--r--
check_for_missing_class_method...
5.48
KB
-rw-r--r--
check_for_missing_enums.php
7.92
KB
-rw-r--r--
check_version.php
2.31
KB
-rw-r--r--
fixup_arginfo.php
4.19
KB
-rw-r--r--
functions.php
8.41
KB
-rw-r--r--
genSymbols.sh
1012
B
-rw-r--r--
type_check.php
2.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : calculate_cflags.php
<?php // Run with something like: // export CFLAGS=$(php util/calculate_cflags.php "8.1" "7.1.0-17") // where the first number is the PHP version, and the second number // is the ImageMagick version number if ($argc !== 3) { fwrite(STDERR, "usage php calculate_cflags.php \$PHP_VERSION \$IMAGEMAGICK_VERSION \n"); exit(-1); } $PHP_VERSION = $argv[1]; $IMAGEMAGICK_VERSION = $argv[2]; $message = sprintf( "Calculating for PHP_VERSION [%s] IMAGEMAGICK_VERSION [%s]\n", $PHP_VERSION, $IMAGEMAGICK_VERSION ); fwrite(STDERR, $message); $CFLAGS = array( "-Wno-deprecated-declarations", "-Werror", "-Wall", "-Wextra", "-Wimplicit-function-declaration", "-Wno-variadic-macros", "-Wformat" ); if (strpos($IMAGEMAGICK_VERSION, "7.1.1") === 0 || strpos($IMAGEMAGICK_VERSION, "git7") === 0) { // The definition of channel changed to be a non-negative number, which // results in this code: // // if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels)) // // giving this error: // error: comparison is always false due to limited range of data type [-Werror=type-limits] $CFLAGS[] = "-Wno-type-limits"; } if (strpos($IMAGEMAGICK_VERSION, "6") === 0 || strpos($IMAGEMAGICK_VERSION, "git6") === 0) { $CFLAGS[] = "-Wno-sign-compare"; $CFLAGS[] = "-Wno-unused-parameter"; } if (strpos($IMAGEMAGICK_VERSION, "6.8") === 0) { $CFLAGS = array("-Wno-deprecated-declarations"); } if (strpos($IMAGEMAGICK_VERSION, "6.9") === 0) { $CFLAGS[] = "-Wno-unused-variable"; } if ($PHP_VERSION == "5.6") { $CFLAGS = array( "-Wno-deprecated-declarations", "-Wdeclaration-after-statement", "-Werror", "-Wall", "-Wimplicit-function-declaration" ); } $result = implode(" ", $CFLAGS); echo $result; fwrite(STDERR, "Ok. CFLAGS are: $result\n");
Close