One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
xampp7
/
perl
/
vendor
/
lib
/
Win32
/
View File Name :
File.pm
package Win32::File; # # File.pm # Written by Douglas_Lankshear@ActiveWare.com # # subsequent hacks: # Gurusamy Sarathy # $VERSION = '0.07'; require Exporter; require DynaLoader; @ISA= qw( Exporter DynaLoader ); @EXPORT = qw( ARCHIVE COMPRESSED DIRECTORY HIDDEN NORMAL OFFLINE READONLY SYSTEM TEMPORARY ); @EXPORT_OK = qw(GetAttributes SetAttributes); =head1 NAME Win32::File - Manage file attributes in perl =head1 SYNOPSIS use Win32::File; =head1 DESCRIPTION This module offers the retrieval and setting of file attributes. =head1 Functions =head2 NOTE All of the functions return FALSE (0) if they fail, unless otherwise noted. The function names are exported into the caller's namespace by request. =over 10 =item GetAttributes(filename, returnedAttributes) Gets the attributes of a file or directory. returnedAttributes will be set to the OR-ed combination of the filename attributes. =item SetAttributes(filename, newAttributes) Sets the attributes of a file or directory. newAttributes must be an OR-ed combination of the attributes. =back =head1 Constants The following constants are exported by default. =over 10 =item ARCHIVE =item COMPRESSED =item DIRECTORY =item HIDDEN =item NORMAL =item OFFLINE =item READONLY =item SYSTEM =item TEMPORARY =back =cut sub AUTOLOAD { my($constname); ($constname = $AUTOLOAD) =~ s/.*:://; #reset $! to zero to reset any current errors. local $! = 0; my $val = constant($constname); if($! != 0) { if($! =~ /Invalid/) { $AutoLoader::AUTOLOAD = $AUTOLOAD; goto &AutoLoader::AUTOLOAD; } else { ($pack,$file,$line) = caller; die "Your vendor has not defined Win32::File macro $constname, used in $file at line $line."; } } eval "sub $AUTOLOAD { $val }"; goto &$AUTOLOAD; } bootstrap Win32::File; 1; __END__