Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.216.129
Domains :
Cant Read [ /etc/named.conf ]
User : celfico1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl5 /
vendor_perl /
Delete
Unzip
Name
Size
Permission
Date
Action
App
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Archive
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
B
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Bundle
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Business
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
CGI
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
CPAN
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
CPANPLUS
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Carp
[ DIR ]
drwxr-xr-x
2020-06-12 07:58
DBIx
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Date
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Devel
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Digest
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Encode
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Error
[ DIR ]
drwxr-xr-x
2020-06-12 11:14
Exporter
[ DIR ]
drwxr-xr-x
2020-06-12 07:58
ExtUtils
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
File
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Getopt
[ DIR ]
drwxr-xr-x
2020-06-12 07:58
Git
[ DIR ]
drwxr-xr-x
2026-05-04 10:31
HTML
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
HTTP
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
IO
[ DIR ]
drwxr-xr-x
2018-04-10 23:52
IPC
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
JSON
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
LWP
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Locale
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Log
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Module
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Mozilla
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Net
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
POD2
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Params
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Parse
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Perl
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Perl4
[ DIR ]
drwxr-xr-x
2020-06-13 04:32
Pod
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
RPC
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
TAP
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Term
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Test
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Text
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
Thread
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Time
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
Try
[ DIR ]
drwxr-xr-x
2022-03-29 18:18
Version
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
WWW
[ DIR ]
drwxr-xr-x
2020-06-12 11:05
autodie
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
inc
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
lib
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
local
[ DIR ]
drwxr-xr-x
2020-06-12 11:13
CGI.pm
255.24
KB
-rw-r--r--
2012-11-14 23:42
CPANPLUS.pm
7.05
KB
-rw-r--r--
2013-05-20 21:46
Carp.pm
19.93
KB
-rw-r--r--
2012-06-18 11:32
Digest.pm
10.35
KB
-rw-r--r--
2011-10-02 10:06
Env.pm
5.39
KB
-rw-r--r--
2013-03-02 17:10
Error.pm
24.27
KB
-rw-r--r--
2014-06-09 20:19
Exporter.pm
18.31
KB
-rw-r--r--
2013-03-27 15:34
Fatal.pm
45.16
KB
-rw-r--r--
2013-02-22 14:49
Git.pm
42.55
KB
-r--r--r--
2013-06-10 20:01
abbrev.pl
819
B
-rw-r--r--
2017-06-13 23:38
assert.pl
1.27
KB
-rw-r--r--
2017-06-13 23:38
autodie.pm
11.83
KB
-rw-r--r--
2013-02-22 14:49
bigfloat.pl
7.14
KB
-rw-r--r--
2017-06-13 23:38
bigint.pl
8.71
KB
-rw-r--r--
2017-06-13 23:38
bigrat.pl
4.35
KB
-rw-r--r--
2017-06-13 23:38
cacheout.pl
1.1
KB
-rw-r--r--
2017-06-13 23:38
chat2.pl
9.73
KB
-rw-r--r--
2017-06-13 23:38
complete.pl
3.12
KB
-rw-r--r--
2017-06-13 23:38
constant.pm
13.04
KB
-rw-r--r--
2014-06-10 02:51
ctime.pl
1.93
KB
-rw-r--r--
2017-06-13 23:38
dotsh.pl
2.12
KB
-rw-r--r--
2017-06-13 23:38
exceptions.pl
1.7
KB
-rw-r--r--
2017-06-13 23:38
fastcwd.pl
1019
B
-rw-r--r--
2017-06-13 23:38
find.pl
1.16
KB
-rw-r--r--
2017-06-13 23:38
finddepth.pl
1.1
KB
-rw-r--r--
2017-06-13 23:38
flush.pl
642
B
-rw-r--r--
2017-06-13 23:38
ftp.pl
23.53
KB
-rw-r--r--
2017-06-13 23:38
getcwd.pl
1.37
KB
-rw-r--r--
2017-06-13 23:38
getopt.pl
1.27
KB
-rw-r--r--
2017-06-13 23:38
getopts.pl
1.35
KB
-rw-r--r--
2017-06-13 23:38
hostname.pl
727
B
-rw-r--r--
2017-06-13 23:38
importenv.pl
283
B
-rw-r--r--
2017-06-13 23:38
look.pl
1.23
KB
-rw-r--r--
2017-06-13 23:38
newgetopt.pl
2.15
KB
-rw-r--r--
2010-07-09 12:26
open2.pl
185
B
-rw-r--r--
2017-06-13 23:38
open3.pl
185
B
-rw-r--r--
2017-06-13 23:38
parent.pm
2.83
KB
-rw-r--r--
2011-03-08 17:26
perldoc.pod
8.25
KB
-rw-r--r--
2013-01-28 03:32
pwd.pl
1.44
KB
-rw-r--r--
2017-06-13 23:38
shellwords.pl
280
B
-rw-r--r--
2017-06-13 23:38
stat.pl
525
B
-rw-r--r--
2017-06-13 23:38
syslog.pl
4.69
KB
-rw-r--r--
2017-06-13 23:38
tainted.pl
164
B
-rw-r--r--
2017-06-13 23:38
termcap.pl
4.02
KB
-rw-r--r--
2017-06-13 23:38
timelocal.pl
690
B
-rw-r--r--
2017-06-13 23:38
validate.pl
3.64
KB
-rw-r--r--
2017-06-13 23:38
Save
Rename
# # syslog.pl # # $Log: syslog.pl,v $ # # tom christiansen <tchrist@convex.com> # modified to use sockets by Larry Wall <lwall@jpl-devvax.jpl.nasa.gov> # NOTE: openlog now takes three arguments, just like openlog(3) # # call syslog() with a string priority and a list of printf() args # like syslog(3) # # usage: require 'syslog.pl'; # # then (put these all in a script to test function) # # # do openlog($program,'cons,pid','user'); # do syslog('info','this is another test'); # do syslog('mail|warning','this is a better test: %d', time); # do closelog(); # # do syslog('debug','this is the last test'); # do openlog("$program $$",'ndelay','user'); # do syslog('notice','fooprogram: this is really done'); # # $! = 55; # do syslog('info','problem was %m'); # %m == $! in syslog(3) package syslog; use warnings::register; $host = 'localhost' unless $host; # set $syslog'host to change if ($] >= 5 && warnings::enabled()) { warnings::warn("You should 'use Sys::Syslog' instead; continuing"); } require 'syslog.ph'; eval 'use Socket; 1' || eval { require "socket.ph" } || require "sys/socket.ph"; $maskpri = &LOG_UPTO(&LOG_DEBUG); sub main'openlog { ($ident, $logopt, $facility) = @_; # package vars $lo_pid = $logopt =~ /\bpid\b/; $lo_ndelay = $logopt =~ /\bndelay\b/; $lo_cons = $logopt =~ /\bcons\b/; $lo_nowait = $logopt =~ /\bnowait\b/; &connect if $lo_ndelay; } sub main'closelog { $facility = $ident = ''; &disconnect; } sub main'setlogmask { local($oldmask) = $maskpri; $maskpri = shift; $oldmask; } sub main'syslog { local($priority) = shift; local($mask) = shift; local($message, $whoami); local(@words, $num, $numpri, $numfac, $sum); local($facility) = $facility; # may need to change temporarily. die "syslog: expected both priority and mask" unless $mask && $priority; @words = split(/\W+/, $priority, 2);# Allow "level" or "level|facility". undef $numpri; undef $numfac; foreach (@words) { $num = &xlate($_); # Translate word to number. if (/^kern$/ || $num < 0) { die "syslog: invalid level/facility: $_\n"; } elsif ($num <= &LOG_PRIMASK) { die "syslog: too many levels given: $_\n" if defined($numpri); $numpri = $num; return 0 unless &LOG_MASK($numpri) & $maskpri; } else { die "syslog: too many facilities given: $_\n" if defined($numfac); $facility = $_; $numfac = $num; } } die "syslog: level must be given\n" unless defined($numpri); if (!defined($numfac)) { # Facility not specified in this call. $facility = 'user' unless $facility; $numfac = &xlate($facility); } &connect unless $connected; $whoami = $ident; if (!$ident && $mask =~ /^(\S.*):\s?(.*)/) { $whoami = $1; $mask = $2; } unless ($whoami) { ($whoami = getlogin) || ($whoami = getpwuid($<)) || ($whoami = 'syslog'); } $whoami .= "[$$]" if $lo_pid; $mask =~ s/%m/$!/g; $mask .= "\n" unless $mask =~ /\n$/; $message = sprintf ($mask, @_); $sum = $numpri + $numfac; unless (send(SYSLOG,"<$sum>$whoami: $message",0)) { if ($lo_cons) { if ($pid = fork) { unless ($lo_nowait) { do {$died = wait;} until $died == $pid || $died < 0; } } else { open(CONS,">/dev/console"); print CONS "<$facility.$priority>$whoami: $message\r"; exit if defined $pid; # if fork failed, we're parent close CONS; } } } } sub xlate { local($name) = @_; $name = uc $name; $name = "LOG_$name" unless $name =~ /^LOG_/; $name = "syslog'$name"; defined &$name ? &$name : -1; } sub connect { $pat = 'S n C4 x8'; $af_unix = &AF_UNIX; $af_inet = &AF_INET; $stream = &SOCK_STREAM; $datagram = &SOCK_DGRAM; ($name,$aliases,$proto) = getprotobyname('udp'); $udp = $proto; ($name,$aliases,$port,$proto) = getservbyname('syslog','udp'); $syslog = $port; if (chop($myname = `hostname`)) { ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($myname); die "Can't lookup $myname\n" unless $name; @bytes = unpack("C4",$addrs[0]); } else { @bytes = (0,0,0,0); } $this = pack($pat, $af_inet, 0, @bytes); if ($host =~ /^\d+\./) { @bytes = split(/\./,$host); } else { ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($host); die "Can't lookup $host\n" unless $name; @bytes = unpack("C4",$addrs[0]); } $that = pack($pat,$af_inet,$syslog,@bytes); socket(SYSLOG,$af_inet,$datagram,$udp) || die "socket: $!\n"; bind(SYSLOG,$this) || die "bind: $!\n"; connect(SYSLOG,$that) || die "connect: $!\n"; local($old) = select(SYSLOG); $| = 1; select($old); $connected = 1; } sub disconnect { close SYSLOG; $connected = 0; } 1;