Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/www/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/www/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/Endianness.php
<?php

namespace Wordfence\MmdbReader;

class Endianness {

	const BIG = 0;
	const LITTLE = 1;

	private static $SYSTEM = null;

	private static function detect() {
		$test = unpack('S', "\x00\x01");
		return $test[1] >> 8;
	}

	public static function get() {
		if (self::$SYSTEM === null)
			self::$SYSTEM = self::detect();
		return self::$SYSTEM;
	}

	public static function isBig() {
		return self::get() === self::BIG;
	}

	public static function isLittle() {
		return self::get() === self::LITTLE;
	}

	public static function convert($value, $source, $target = null) {
		if ($target === null)
			$target = self::get();
		if ($target === $source)
			return $value;
		return strrev($value);
	}

}

Spamworldpro Mini