403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/robotics/wp-content/plugins/postman-smtp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/robotics/wp-content/plugins/postman-smtp/test-domainNameAddress.php
<?php
require_once 'Postman/PostmanUtils.php';
require_once 'Postman/Postman-Configuration/PostmanSmtpDiscovery.php';
function test() {
	// DNS tests
	check ( 'andrethierry.com', false );
	// IPv4 tests
	check ( '0.0.0.0', true );
	check ( '127.0.0.1', true );
	check ( '255.255.255.255', true );
	check ( '256.256.256.256', false );
	// IPv6 tests
	check ( '2001:0db8:85a3:0000:0000:8a2e:0370:7334', true );
	check ( '2001:db8:85a3:0:0:8a2e:370:7334', true );
	check ( '2001:db8:85a3::8a2e:370:7334', true );
	check ( '::ffff:192.0.2.128', true );
}
function check($ipAddress, $expectedresult) {
	$result = PostmanUtils::isHostAddressNotADomainName ( $ipAddress );
	$displaySuccess = 'fail';
	if ($result == $expectedresult) {
		$displaySuccess = 'pass';
	}
	print sprintf ( "%s: %s=%s\n", $displaySuccess, $ipAddress, $result );
}
test ();

Youez - 2016 - github.com/yon3zu
LinuXploit