shell bypass 403

UnknownSec Shell

: /home/.cpan/build/Test-File-1.995-0/t/ [ drwxr-xr-x ]
Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.216.229
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : win32.t
use strict;
use warnings;

use Test::Builder::Tester;
use Test::More 1;

subtest load => sub {
	use_ok( 'Test::File' );
	ok( defined &{ "Test::File::_win32" }, "_win32 defined" );
	};

subtest darwin => sub {
	local $^O = 'darwin';
	ok( ! Test::File::_win32(), "Returns false for darwin" );
	};

subtest win32 => sub {
	local $^O = 'Win32';
	ok( Test::File::_win32(), "Returns true for Win32" );
	};

subtest linux_pretend_win32 => sub {
	local %ENV;
	$ENV{PRETEND_TO_BE_WIN32} = 1;
	local $^O = 'linux';
	ok( Test::File::_win32(), "Returns true for linux when ENV{PRETEND_TO_BE_WIN32} is defined" );
	};

subtest file_modes => sub {
	local $^O = 'Win32';

	my @subs = qw(
		file_mode_is file_mode_isnt
		file_executable_ok file_not_executable_ok
		);

	foreach my $sub ( @subs ) {
		no strict 'refs';

		test_out("ok 1 # skip $sub doesn't work on Windows");
		&{$sub}();
		test_test();
		}
	done_testing();
	};

done_testing();
© 2026 UnknownSec