Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
cpan /
File-Temp /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
cmp.t
1.1
KB
-r--r--r--
2014-12-27 11:48
fork.t
2.04
KB
-r--r--r--
2014-12-27 11:48
lock.t
1.29
KB
-r--r--r--
2014-12-27 11:48
mktemp.t
2.4
KB
-r--r--r--
2014-12-27 11:48
object.t
4.38
KB
-r--r--r--
2014-12-27 11:48
posix.t
1.45
KB
-r--r--r--
2014-12-27 11:48
rmtree.t
898
B
-r--r--r--
2014-12-27 11:48
security.t
2.91
KB
-r--r--r--
2014-12-27 11:48
seekable.t
1.39
KB
-r--r--r--
2014-12-27 11:48
tempfile.t
4.98
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!/usr/local/bin/perl -w # Test for File::Temp - POSIX functions use strict; use Test::More tests => 7; use File::Temp qw/ :POSIX unlink0 /; use FileHandle; ok(1); # TMPNAM - scalar print "# TMPNAM: in a scalar context: \n"; my $tmpnam = tmpnam(); # simply check that the file does not exist # Not a 100% water tight test though if another program # has managed to create one in the meantime. ok( !(-e $tmpnam )); print "# TMPNAM file name: $tmpnam\n"; # TMPNAM list context # Not strict posix behaviour (my $fh, $tmpnam) = tmpnam(); print "# TMPNAM: in list context: $fh $tmpnam\n"; # File is opened - make sure it exists ok( (-e $tmpnam )); # Unlink it - a possible NFS issue again if TMPDIR is not a local disk my $status = unlink0($fh, $tmpnam); if ($status) { ok( $status ); } else { skip("Skip test failed probably due to \$TMPDIR being on NFS",1); } # TMPFILE $fh = tmpfile(); if (defined $fh) { ok( $fh ); print "# TMPFILE: tmpfile got FH $fh\n"; $fh->autoflush(1) if $] >= 5.006; # print something to it my $original = "Hello a test\n"; print "# TMPFILE: Wrote line: $original"; print $fh $original or die "Error printing to tempfile\n"; # rewind it ok( seek($fh,0,0) ); # Read from it my $line = <$fh>; print "# TMPFILE: Read line: $line"; ok( $original, $line); close($fh); } else { # Skip all the remaining tests foreach (1..3) { skip("Skip test failed probably due to \$TMPDIR being on NFS",1); } }