GRAYBYTE WORDPRESS FILE MANAGER8615

Server IP : 149.255.58.128 / Your IP : 216.73.216.71
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/bin/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/bin//snmpconf
#!/usr/bin/perl

#
# A simple configuration file builder based on questions listed in
# its own configuration file.  It would certainly be easy to use this
# for other (non-snmp) programs as well.
#

use Getopt::Std;
use Term::ReadLine;
use IO::File;
use Data::Dumper;
use File::Copy;
if ($^O eq 'MSWin32') {
  eval 'require Win32::Registry;';
  if ($@) {
    print "\nWarning: Perl module Win32::Registry is not installed.  This module is\n";
    print "         required to read the SNMPSHAREPATH and SNMPCONFPATH values from \n";
    print "         the registry.  To use snmpconf without the module you need to\n";
    print "         define SNMPSHAREPATH and SNMPCONFPATH as environment variables\n";
    print "         or use the -c and -I command line options.\n";
  }
}

# globals
%tokenitems=qw(line 1 info 1 comment 1);
%arrayitems=qw(question 1 validanswer 1);

# default folder for snmpconf-data
if (defined(&my_getenv("SNMPSHAREPATH"))) {
  $opts{'c'} = &my_getenv("SNMPSHAREPATH") . "/snmpconf-data";
}
else {
  $opts{'c'} = "/usr/share/snmp/snmpconf-data";
}
 
# default config file path
if (defined(&my_getenv("SNMPCONFPATH"))) {
  $confpath = &my_getenv("SNMPCONFPATH");
}
else {
  $confpath = "/usr/share/snmp";
}

# home environment variable
if (defined(&my_getenv("HOME"))) {
  $home = &my_getenv("HOME") . "/.snmp";
}
else {
  $home = "(HOME dir - n/a)";
}

# read the argument string
getopts("qadhfc:piI:r:R:g:G", \%opts);

# display help
if ($opts{'h'}) {
    print "$0 [options] [FILETOCREATE...]\n";
    print "options:\n";
    print "  -f           overwrite existing files without prompting\n";
    print "  -i           install created files into $confpath.\n";
    print "  -p           install created files into $home.\n";
    print "  -I DIR       install created files into DIR.\n";
    print "  -a           Don't ask any questions, just read in current\n";
    print "                   current .conf files and comment them\n";
    print "  -r all|none  Read in all or none of the .conf files found.\n";
    print "  -R file,...  Read in a particular list of .conf files.\n";
    print "  -g GROUP     Ask a series of GROUPed questions.\n";
    print "  -G           List known GROUPs.\n";
    print "  -c conf_dir  use alternate configuration directory.\n";
    print "  -q           run more quietly with less advice.\n";
    print "  -d           turn on debugging output.\n";
    print "  -D           turn on debugging dumper output.\n";
    exit;
}

# setup terminal interface.
$ENV{'PERL_RL'}='o=0' if (!exists($ENV{'PERL_RL'}));
$term = new Term::ReadLine 'snmpconf';

# read in configuration file set
read_config_files($opts{'c'}, \%filetypes);
debug(my_Dumper(\%filetypes));

if ($opts{'G'}) {
    Print("\nKnown GROUPs of tokens:\n\n");
    foreach my $group (keys(%groups)) {
	print "  $group\n";
    }
    Print("\n");
    exit;
}

#
# Expand the search path in case it contains multiple directories.
#
my $ENV_SEPARATOR = ':';
my @searchpath = split(/$ENV_SEPARATOR/, $confpath);
push @searchpath, "/etc/snmp";
push @searchpath, ".";
push @searchpath, "$home";

# Remove trailing /'s or \'s
for (my $i=0; $i <= $#searchpath; $i++) {
  $searchpath[$i] =~ /(.*?)([\/\\])*$/;
  $searchpath[$i] = $1;
}

# Determine persistent directory.  Order of preference:
# 
# file in SNMP_PERSISTENT_FILE environment variable
# directory defined by persistentDir snmp.conf variable
# directory in SNMP_PERSISTENT_DIR environment variable
# default PERSISTENT_DIRECTORY directory
my $persistentDir = "";
my $persistentFile = "";

# SNMP_PERSISTENT_FILE environment variable
if (defined(&my_getenv("SNMP_PERSISTENT_FILE"))) {
  $persistentFile = &my_getenv("SNMP_PERSISTENT_FILE");
  debug ("persistent file: SNMP_PERSISTENT_FILE environment variable set\n");
}

# snmp.conf persistentDir
if (!($persistentDir) && !($persistentFile)) {
  foreach my $i (@searchpath) {
    debug ("Searching file $i/snmp.conf for persistentDir\n");
    my $temp = get_persistentDir("$i/snmp.conf");
    if ($temp) {
      debug("persistent directory: set to $temp in $i/snmp.conf\n");
      $persistentDir = $temp;
      last;
    }
  }
}

# SNMP_PERSISTENT_DIR environment variable
if (!($persistentDir) && !($persistentFile)) {
  if (&my_getenv("SNMP_PERSISTENT_DIR")) {
    $persistentDir = &my_getenv("SNMP_PERSISTENT_DIR");
    debug ("persistent directory: SNMP_PERSISTENT_DIR environment variable set\n");
  }
}

# PERSISTENT_DIRECTORY default variable
if (!($persistentDir) && !($persistentFile)) {
  $persistentDir = "/var/lib/net-snmp";
  debug ("persistent directory: Using default value\n");
}

# Rebuild search path without persistent folder
# Note:  persistent file handled in Find existing 
# files to possibly read in section
if ($persistentDir) {
  # Remove trailing /'s or \'s
  $persistentDir =~ /(.*?)([\/\\])*$/;
  $persistentDir = $1;
  debug ("persistent directory: $persistentDir\n");

  my @searchpath_old = @searchpath;
  @searchpath = ();
  foreach my $path_temp (@searchpath_old) {
    if ($path_temp eq $persistentDir) {
      debug("skipping persistent directory $path_temp\n");
      next;
    }
    push @searchpath, $path_temp;
  }
}

# Reset $confpath to the first path
$confpath = $searchpath[0];

#
# Find existing files to possibly read in.
#
push @searchpath, $opts{I} if ($opts{I});
foreach my $i (@searchpath) {
    debug("searching $i\n");
    foreach my $ft (keys(%filetypes)) {
        if ("$i/$ft" eq $persistentFile) {
          debug("skipping persistent file $i/$ft\n");
          next;
        }
	debug("searching for $i/$ft\n");
	$knownfiles{"$i/$ft"} = $ft if (-f "$i/$ft");
	my $localft = $ft;
	$localft =~ s/.conf/.local.conf/;
	$knownfiles{"$i/$localft"} = $ft if (-f "$i/$localft");
    }
}

#
# Ask the user if they want them to be read in and read them
#
if (keys(%knownfiles)) {
    my @files;
    if (defined($opts{'r'})) {
	if ($opts{'r'} eq "all" || $opts{'r'} eq "a") {
	    @files = keys(%knownfiles);
	} elsif ($opts{'r'} ne "none" && $opts{'r'} ne "n") {
	    print "unknown argument to -r: $opts{'r'}\n";
	    exit(1);
	}
    } elsif(defined($opts{'R'})) {
	@files = split(/\s*,\s*/,$opts{'R'});
	foreach my $i (@files) {
	    my $x = $i;
	    $x =~ s/.*\/([^\/]+)$/$1/;
	    $knownfiles{$i} = $x;
	}
	Print("reading: ", join(",",@files),"\n");
    } else {
	@files = display_menu(-head => "The following installed configuration files were found:\n",
			      -tail => "Would you like me to read them in?  Their content will be merged with the\noutput files created by this session.\n\nValid answer examples: \"all\", \"none\",\"3\",\"1,2,5\"\n",
			      -multiple => 1,
			      -question => 'Read in which',
			      -defaultvalue => 'all',
			      sort keys(%knownfiles));
    }
    foreach my $i (@files) {
	debug("reading $i\n");
	read_config($i, $knownfiles{$i});
    }
}

if ($opts{'g'}) {
    my @groups = split(/,:\s/,$opts{'g'});
    foreach my $group (@groups) {
	do_group($group);
    }
} elsif ($#ARGV >= 0) {
    #
    # loop through requested files.
    #
    foreach my $i (@ARGV) {
	if (!defined($filetypes{$i})) {
	    warn "invalid file: $i\n";
	} else {
	    if ($opts{'a'}) {
		$didfile{$i} = 1;
	    } else {
		build_file($term, $i, $filetypes{$i});
	    }
	}
    }
} else {
    #
    # ask user to select file type to operate on.
    #
    while(1) {
	my $line = display_menu(-head => "I can create the following types of configuration files for you.\nSelect the file type you wish to create:\n(you can create more than one as you run this program)\n",
				-question => 'Select File',
				-otheranswers => ['quit'],
				-mapanswers => { 'q' => 'quit' },
				keys(%filetypes));
	last if ($line eq "quit");
	debug("file selected: $line\n");
	build_file($term, $line, $filetypes{$line});
    }
}

#
# Write out the results to the output files.
#
output_files(\%filetypes, $term);


#
# Display the files that have been created for the user.
#
Print("\n\nThe following files were created:\n\n");
@didfiles = keys(%didfile);
foreach my $i (@didfiles) {
    if ($didfile{$i} ne "1") {
	if ($opts{'i'} || $opts{'I'}) {
          $opts{'I'} = "$confpath" if (!$opts{'I'});

          if (! (-d "$opts{'I'}") && ! (mkdir ("$opts{'I'}", 0755))) {
	    print "\nCould not create $opts{'I'} directory: $!\n";
	    print ("File $didfile{$i} left in current directory\n");
	  }
	  else {
            move ("$opts{'I'}/$i", "$opts{'I'}/$i.bak") if (-f "$opts{'I'}/$i");
            if (move ("$didfile{$i}", "$opts{'I'}")) {
              print("  $didfile{$i} installed in $opts{'I'}\n");	    
            }
            else {
              print "\nCould not move file $didfile{$i} to $opts{'I'}/$i: $!\n";
              print ("File $didfile{$i} left in current directory\n");
            }
          }
	} elsif ($opts{'p'}) {
	  if (! (-d "$home") && ! (mkdir ("$home", 0755))) {
	    print "\nCould not create $home directory: $!\n";
	    print ("File $didfile{$i} left in current directory\n");
	  }
	  else {	    
	    move ("$home/$i", "$home/$i.bak") if (-f "$home/$i");
	    if (move ("$didfile{$i}", "$home")) {
	      print("  $didfile{$i} installed in $home\n");
	    }
	    else {
	      print "\nCould not move file $didfile{$i} to $home: $!\n";
	      print ("File $didfile{$i} left in current directory\n");
  	    }
	  }
  	} else {
	    Print("  $didfile{$i} ",
	    ($i ne $didfile{$i})?"[ from $i specifications]":" ","\n");
	    if ($opts{'d'}) {
		open(I,$didfile{$i});
		debug("    " . join("    ",<I>) . "\n");
		close(I);
	    }
	}
    }
}

if (!$opts{'p'} && !$opts{'i'} && !$opts{'I'}) {
    Print("\nThese files should be moved to $confpath if you
want them used by everyone on the system.  In the future, if you add 
the -i option to the command line I'll copy them there automatically for you.

Or, if you want them for your personal use only, copy them to
$home .  In the future, if you add the -p option to the
command line I'll copy them there automatically for you.

");
}

###########################################################################
# Functions
###########################################################################

sub Print {
    print @_ if (!$opts{'q'});
}
#
# handle a group of questions
#
sub get_yn_maybe {
    my $question = shift;
    my $ans = "y";
    if ($question ne "") {
	$ans = get_answer($term, $question,
			  valid_answers(qw(yes y no n)), 'y');
    }
    return ($ans =~ /^y/)?1:0;
}

sub do_group {
    my $group = shift;
    die "no such group $group\n" if (!$groups{$group});
    foreach my $token (@{$groups{$group}}) {
	if ($token->[0] eq "message") {
	    Print ("$token->[1] $token->[2]\n");
	} elsif ($token->[0] eq "subgroup") {
	    do_group($token->[1]) if (get_yn_maybe($token->[2]));
	} elsif (defined($tokenmap{$token->[1]})) {
	    if (get_yn_maybe($token->[2])) {
		do {
		    do_line($token->[1], $tokenmap{$token->[1]});
		} until ($token->[0] ne "multiple" ||
			 get_answer($term, "Do another $token->[1] line?",
				    valid_answers(qw(yes y no n)), 'y')
			 =~ /n/);
	    }
	} elsif (defined($filetypes{$token->[1]})) {
	    $didfile{$token->[1]} = 1;
	} else {
	    die "invalid member $token->[1] of group $group\n";
	}
    }
}

#
# build a particular type of file by operating on sections
#
sub build_file {
    my ($term, $filename, $fileconf) = @_;
    $didfile{$filename} = 1;
    my (@lines);
    while(1) {
	my $line = display_menu(-head => "The configuration information which can be put into $filename is divided\ninto sections.  Select a configuration section for $filename\nthat you wish to create:\n",
				-otheranswers => ['finished'],
				-mapanswers => { 'f' => 'finished' },
				-question => "Select section",
				-numeric => 1,
				map { $_->{'title'}[0] } @$fileconf);

	return @lines if ($line eq "finished");
	do_section($fileconf->[$line-1]);
    }
}

#
# configure a particular section by operating on token types
#
sub do_section {
    my $confsect = shift;
    my @lines;
    while(1) {
	Print ("\nSection: $confsect->{'title'}[0]\n");
	Print ("Description:\n");
	Print ("  ", join("\n  ",@{$confsect->{'description'}}),"\n");
	my $line =
	    display_menu(-head => "Select from:\n",
			 -otheranswers => ['finished','list'],
			 -mapanswers => { 'f' => 'finished',
					  'l' => 'list' },
			 -question => 'Select section',
			 -descriptions => [map { $confsect->{$_}{info}[0] } 
					   @{$confsect->{'thetokens'}}],
			 @{$confsect->{'thetokens'}});
	return @lines if ($line eq "finished");
	if ($line eq "list") {
	    print "Lines defined for section \"$confsect->{title}[0]\" so far:\n";
	    foreach my $i (@{$confsect->{'thetokens'}}) {
		if ($#{$confsect->{$i}{'results'}} >= 0) {
		    print "  ",join("\n  ",@{$confsect->{$i}{'results'}}),"\n";
		}
	    }
	    next;
	}
	do_line($line, $confsect->{$line});
    }
    return;
}

#
# Ask all the questions related to a particular line type
#
sub do_line {
    my $token = shift;
    my $confline = shift;
    my (@answers, $counter, $i);
#    debug(my_Dumper($confline));
    Print ("\nConfiguring: $token\n");
    Print ("Description:\n  ",join("\n    ",@{$confline->{'info'}}),"\n\n");
    for($i=0; $i <= $#{$confline->{'question'}}; $i++) {
	if (defined($confline->{'question'}[$i]) &&
	    $confline->{'question'}[$i] ne "") {
	    my $q = $confline->{'question'}[$i];
	    $q =~ s/\$(\d+)/$answers[$1]/g;
	    debug("after: $term, $q, ",$confline->{'validanswer'}[$i],"\n");
	    $answers[$i] = get_answer($term, $q,
				      $confline->{'validanswer'}[$i]);
	    $answers[$i] =~ s/\"/\\\"/g;
	    $answers[$i] = '"' . $answers[$i] . '"' if ($answers[$i] =~ /\s/);
	}
    }
    if ($#{$confline->{'line'}} == -1) {
	my ($i,$line);
	for($i=0; $i <= $#{$confline->{'question'}}; $i++) {
	    next if (!defined($confline->{'question'}[$i]) ||
		     $confline->{'question'}[$i] eq "");
	    $line .= " \$" . $i;
	}
	push @{$confline->{'line'}}, $line;
    }

    foreach my $line (@{$confline->{'line'}}) {
	my $finished = $line;
	debug("preline: $finished\n");
	debug("answers: ",my_Dumper(\@answers));
	$finished =~ s/\$(\d+)/$answers[$1]/g;
	if ($line =~ s/^eval\s+//) {
	    debug("eval: $finished\n");
	    $finished = eval $finished;
	    debug("eval results: $finished\n");
	}
	$finished = $token . " " . $finished;
	Print ("\nFinished Output: $finished\n");
	push @{$confline->{'results'}},$finished;
    }
}

#
# read all sets of config files in the various subdirectories.
#
sub read_config_files {
    my $readdir = shift;
    my $filetypes = shift;
    opendir(DH, $readdir) || die "no such directory $readdir, did you run make install?\n";
    my $dir;
    my $configfilename="snmpconf-config";

    while(defined($dir = readdir(DH))) {
	next if ($dir =~ /^\./);
	next if ($dir =~ /CVS/);
	debug("dir entry: $dir\n");
	if (-d "$readdir/$dir" && -f "$readdir/$dir/$configfilename") {

	    my $conffile;

	    # read the top level configuration inforamation about the direcotry.
	    open(I, "$readdir/$dir/$configfilename");
	    while(<I>) {
		$conffile = $1 if (/forconffile: (.*)/);
	    }
	    close(I);

	    # no README informatino.
	    if ($conffile eq "") {
		print STDERR "Warning: No 'forconffile' information in $readdir/$dir/$configfilename\n";
		next;
	    }

	    # read all the daat in the directory
	    $filetypes->{$conffile} = read_config_items("$readdir/$dir", $conffile);
	} else {
	    # no README informatino.
	    print STDERR "Warning: No $configfilename file found in $readdir/$dir\n";
	}
    }
    closedir DH;
}

#
# read each configuration file in a directory
#
sub read_config_items {
    my $itemdir = shift;
    my $type = shift;
    opendir(ITEMS, $itemdir);
    my $file;
    my @results;
    while(defined($file = readdir(ITEMS))) {
	next if ($file =~ /~$/);
	next if ($file =~ /^snmpconf-config$/);
	if (-f "$itemdir/$file") {
	    my $res = read_config_item("$itemdir/$file", $type);
	    if (scalar(keys(%$res)) > 0) {
		push @results, $res;
	    }
	}
    }
    closedir(ITEMS);
    return \@results;
}

#
# mark a list of tokens as a special "group"
#
sub read_config_group {
    my ($fh, $group, $type) = @_;
    my $line;
    debug("handling group $group\n");
    push (@{$groups{$group}},['filetype', $type]);
    while($line = <$fh>) {
	chomp($line);
	next if ($line =~ /^\s*$/);
	next if ($line =~ /^\#/);
	return $line if ($line !~ /^(single|multiple|message|filetype|subgroup)/);
	my ($type, $token, $rest) = ($line =~ /^(\w+)\s+([^\s]+)\s*(.*)/);
	debug ("reading group $group : $type -> $token -> $rest\n");
	push (@{$groups{$group}}, [$type, $token, $rest]);
    }
    return;
}
	

#
# Parse one file
#
sub read_config_item {
    my $itemfile = shift;
    my $itemcount;
    my $type = shift;
    my $fh = new IO::File($itemfile);
    return if (!defined($fh));
    my (%results, $curtoken);
    debug("tokenitems:  ", my_Dumper(\%tokenitems));
  topwhile:
    while($line = <$fh>) {
	next if ($line =~ /^\s*\#/);
	my ($token, $rest) = ($line =~ /^(\w+)\s+(.*)/);
	next if (!defined($token) || !defined($rest));
	while ($token eq 'group') {
	    # handle special group list
	    my $next = read_config_group($fh, $rest,$type);
	    if ($next) {
		($token, $rest) = ($next =~ /^(\w+)\s+(.*)/);
	    } else {
		next topwhile;
	    }
	}
	debug("token: $token => $rest\n");
	if ($token eq 'steal') {
	    foreach my $stealfrom (keys(%{$results{$rest}})) {
		if (!defined($results{$curtoken}{$stealfrom})) {
		    @{$results{$curtoken}{$stealfrom}} = 
			@{$results{$rest}{$stealfrom}};
		}
	    }
	} elsif (defined($tokenitems{$token})) {
	    if (!defined($curtoken)) {
		die "error in configuration file $itemfile, no token set\n";
	    }
	    $rest =~ s/^\#//;
	    push @{$results{$curtoken}{$token}},$rest;
	} elsif (defined($arrayitems{$token})) {
	    if (!defined($curtoken)) {
		die "error in configuration file $itemfile, no token set\n";
	    }
	    my ($num, $newrest) = ($rest =~ /^(\d+)\s+(.*)/);
	    if (!defined($num) || !defined($newrest)) {
		warn "invalid config line: $line\n";
	    } else {
		$results{$curtoken}{$token}[$num] = $newrest;
	    }
	} elsif ($token =~ /^token\s*$/) {
	    $rest = lc($rest);
	    $curtoken = $rest;
	    if (! exists $results{$curtoken}{'defined'}) {
		push @{$results{'thetokens'}}, $curtoken;
		$results{$curtoken}{'defined'} = 1;
	    }
	    $tokenmap{$curtoken} = $results{$curtoken};
	    debug("current token set to $token\n");
	} else {
	    push @{$results{$token}},$rest;
	}
    }
    return \%results;
}

sub debug {
    print @_ if ($opts{'d'});
}

sub output_files {
    my $filetypes = shift;
    my $term = shift;
    foreach my $ft (keys(%$filetypes)) {
	next if (!$didfile{$ft});
	my $outputf = $ft;
	if (-f $outputf && !$opts{'f'}) {
	    print "\nError: An $outputf file already exists in this directory.\n\n";
	    my $ans = get_answer($term,"'overwrite', 'skip', 'rename' or 'append'? ",valid_answers(qw(o overwrite r rename s skip a append)));
	    next if ($ans =~ /^(s|skip)$/i);
	    if ($ans =~ /^(a|append)/) {
		$outputf = ">$outputf";
	    } elsif ($ans =~ /^(r|rename)$/i) {
		# default to rename for error conditions
		$outputf = $term->readline("Save to what new file name instead (or 'skip')? ");
	    }
	}
	$didfile{$ft} = $outputf;
	open(O,">$outputf") || warn "couldn't write to $outputf\n";
	print O "#" x 75,"\n";
	print O "#\n# $ft\n";
	print O "#\n#   - created by the snmpconf configuration program\n#\n";
	foreach my $sect (@{$filetypes->{$ft}}) {
	    my $secthelp = 0;
	    foreach my $token (@{$sect->{'thetokens'}}) {
		if ($#{$sect->{$token}{'results'}} >= 0) {
		    if ($secthelp++ == 0) {
			print O "#" x 75,"\n# SECTION: ",
			join("\n#          ", @{$sect->{title}}), "\n#\n";
			print O "#   ", join("\n#   ",@{$sect->{description}}),
			"\n";
		    }
		    print O "\n# $token: ",
		    join("\n#   ",@{$sect->{$token}{info}}), "\n\n";
		    foreach my $result (@{$sect->{$token}{'results'}}) {
			print O "$result\n";
		    }
		}
	    }
	    print O "\n\n\n";
	}
	if ($#{$unknown{$ft}} > -1) {
	    print O "#\n# Unknown directives read in from other files by snmpconf\n#\n";
	    foreach my $unknown (@{$unknown{$ft}}) {
		print O $unknown,"\n";
	    }
	}
	close(O);
    }
}

sub get_answer {
    my ($term, $question, $regexp, $defaultval) = @_;
    $question .= " (default = $defaultval)" if (defined($defaultval) && $defaultval ne "");
    $question .= ": ";
    my $ans = $term->readline($question);
    return $defaultval if ($ans eq "" && defined($defaultval) && 
			   $defaultval ne "");
    while (!(!defined($regexp) ||
	     $regexp eq "" ||
	     $ans =~ /$regexp/)) {
	print "invalid answer!  It must match this regular expression: $regexp\n";
	$ans = $term->readline($question);
    }
    return $defaultval if ($ans eq "" && defined($defaultval) && 
			   $defaultval ne "");
    return $ans;
}
    
sub valid_answers {
    my @list;
    foreach $i (@_) {
	push @list, $i if ($i);
    }
    return "^(" . join("|",@list) . ")\$";
}

sub read_config {
    my $file = shift;
    my $filetype = shift;
    return if (!defined($filetypes{$filetype}));
    if (! -f $file) {
	warn "$file does not exist\n";
	return;
    }
    open(I,$file);
    while(<I>) {
	next if (/^\s*\#/);
	next if (/^\s*$/);
	chomp;
	my ($token, $rest) = /^\s*(\w+)\s+(.*)/;
	$token = lc($token);
	next if (defined($alllines{$_})); # drop duplicate lines
	if (defined($tokenmap{$token})) {
	    push @{$tokenmap{$token}{'results'}},$_;
	} else {
	    push @{$unknown{$filetype}},$_;
	}
	$alllines{$_}++;
    }
    close(I);
}

sub display_menu {
    my %config;

    while ($#_ > -1 && $_[0] =~ /^-/) {
	my $key = shift;
	$config{$key} = shift;
    }

    my $count=1;
    print "\n" if (!defined($config{'-dense'}));
    if ($config{'-head'}) {
	print $config{'-head'};
	print "\n" if (!defined($config{'-dense'}));
    }
    my @answers = @_;
    my @list;
    if (defined($config{'-descriptions'}) && 
	ref($config{'-descriptions'}) eq "ARRAY") {
	@list = @{$config{'-descriptions'}}
    } else {
	@list = @_;
    }
    foreach my $i (@list) {
	printf "  %2d:  $i\n", $count++ if ($i);
    }
    print "\n" if (!defined($config{'-dense'}));
    if (defined($config{'-otheranswers'})) {
	if (ref($config{'-otheranswers'}) eq 'ARRAY') {
	    print "Other options: ", join(", ",
					  @{$config{'-otheranswers'}}), "\n";
	    push @answers, @{$config{'-otheranswers'}};
	    push @answers, keys(%{$config{'-mapanswers'}});
	} else {
	    my $maxlen = 0;
	    push @answers,keys(%{$config{'-otheranswers'}});
	    foreach my $i (keys(%{$config{'-otheranswers'}})) {
		$maxlen = length($i) if (length($i) > $maxlen);
	    }
	    foreach my $i (keys(%{$config{'-otheranswers'}})) {
		printf("  %-" . $maxlen . "s: %s\n", $i, 
		       $config{'-otheranswers'}{$i});
	    }
	}
	print "\n" if (!defined($config{'-dense'}));
    }
    if ($config{'-tail'}) {
	print $config{'-tail'};
	print "\n" if (!defined($config{'-dense'}));
    }

    if (defined($config{'-question'})) {
	while(1) {
	    my $numexpr;
	    if ($config{'-multiple'}) {
		$numexpr = '[\d\s,]+|all|a|none|n';
	    } else {
		$numexpr = '\d+';
	    }
	    push @answers,"" if ($config{'-defaultvalue'});
	    $ans = get_answer($term, $config{'-question'},
			      valid_answers($numexpr,@answers),
			      $config{'-defaultvalue'});
	    if ($config{'-mapanswers'}{$ans}) {
		$ans = $config{'-mapanswers'}{$ans};
	    }

	    if ($ans =~ /^$numexpr$/) {
		if ($config{'-multiple'}) {
		    my @list = split(/\s*,\s*/,$ans);
		    my @ret;
		    $count = 0;
		    foreach my $i (@_) {
			$count++;
			if ($ans eq "all" || $ans eq "a" 
			    || grep(/^$count$/,@list)) {
			    push @ret, $i;
			}
		    }
		    return @ret;
		} else {
		    if ($ans <= 0 || $ans > $#_+1) {
			warn "invalid selection: $ans [must be 1-" .
			    ($#_+1) . "]\n";
		    } else {
			return $ans if ($config{'-numeric'});
			$count = 0;
			foreach my $i (@_) {
			    $count++;
			    if ($ans eq $count) {
				return $i;
			    }
			}
		    }
		}
	    } else {
		return $ans;
	    }
	}
    }
}

sub my_Dumper {
    if ($opts{'D'}) {
	return Dumper(@_);
    } else {
	return "\n";
    }
}

sub get_persistentDir {
    my $file = shift;
    my $result = 0;
    if (! -f $file) {
	return 0;
    }
    open(I,$file);
    while(<I>) {
	next if (/^\s*\#/);
	next if (/^\s*$/);
	chomp;
	my ($token, $rest) = /^\s*(\w+)\s+(.*)/;
        if (lc($token) eq "persistentdir") {
          $result = $rest;
        }
        next;
    }
    close(I);
    return $result;
}

# Usage:   &win32_reg_read("key", "value")
# Example: &win32_reg_read("SOFTWARE\\Net-SNMP","SNMPSHAREPATH");
# Returns: Value if found in HKCU or HCLM.  Otherwise an empty string.
sub win32_reg_read {
  my $sub_key = shift;
  my $value = shift;

  require Win32::Registry;
   
  my ($hkey, %key_values, $temp, $no_warn);
 
  # Try HKCU first
  $no_warn = $HKEY_CURRENT_USER;
  if ($HKEY_CURRENT_USER->Open($sub_key, $hkey))
  {
    $hkey->GetValues(\%key_values);   
    foreach $temp (sort keys %key_values) {
      if ($temp eq $value) {
        return $key_values{$temp}[2];
      }
    }
    $hkey->Close(); 
  }

  # Try HKLM second
  $no_warn = $HKEY_LOCAL_MACHINE;
  if ($HKEY_LOCAL_MACHINE->Open($sub_key, $hkey))
  {
    $hkey->GetValues(\%key_values);
    foreach $temp (sort keys %key_values) {
      if ($temp eq $value) {
        return $key_values{$temp}[2];
      }
    }
    $hkey->Close(); 
  }
  return "";
}

# Usage:   &my_getenv("key")
# Example: &my_getenv("SNMPSHAREPATH");
# Returns: Unix:  Environment variable value (undef if not defined)
#          Win32: HKCU\Software\Net-SNMP\(key) or
#          Win32: HKLM\Software\Net-SNMP\(key) or
#          Win32: Environment variable value (undef if not defined)
sub my_getenv {
  my $key = shift;
  
  # Unix
  if ($^O ne 'MSWin32') {
    return $ENV{$key};
  }
  # Windows
  else {
    my $temp = &win32_reg_read("SOFTWARE\\Net-SNMP","$key");
    if ($temp ne "") {
      return $temp;
    }
    else {
      return $ENV{$key};
    }
  }
}


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 06 2025 07:46:06
0 / root
0755
GET
15.82 KB
March 25 2022 08:00:31
0 / root
0755
Magick-config
1.43 KB
April 01 2025 12:48:07
0 / root
0755
MagickCore-config
1.563 KB
April 01 2025 12:48:07
0 / root
0755
MagickWand-config
1.563 KB
April 01 2025 12:48:08
0 / root
0755
Wand-config
1.425 KB
April 01 2025 12:48:08
0 / root
0755
[
51.813 KB
October 02 2024 21:44:18
0 / root
0755
aclocal
35.523 KB
September 27 2023 12:16:24
0 / root
0755
aclocal-1.16
35.523 KB
September 27 2023 12:16:24
0 / root
0755
addr2line
27.93 KB
October 03 2024 05:16:41
0 / root
0755
agentxtrap
27.5 KB
October 02 2024 18:56:26
0 / root
0755
animate
15.273 KB
April 01 2025 12:55:20
0 / root
0755
ar
56.188 KB
October 03 2024 05:16:41
0 / root
0755
arch
31.664 KB
October 02 2024 21:44:18
0 / root
0755
arpaname
15.281 KB
February 19 2025 16:04:24
0 / root
0755
as
710.508 KB
October 03 2024 05:16:41
0 / root
0755
aspell
151.117 KB
January 26 2022 21:47:25
0 / root
0755
at
1.016 KB
October 14 2022 16:04:08
0 / root
0755
atq
1.018 KB
October 14 2022 16:04:08
0 / root
0755
atrm
1.02 KB
October 14 2022 16:04:08
0 / root
0755
autoconf
14.425 KB
October 02 2024 20:06:28
0 / root
0755
autoheader
8.334 KB
October 02 2024 20:06:28
0 / root
0755
autom4te
31.427 KB
October 02 2024 20:06:28
0 / root
0755
automake
251.935 KB
September 27 2023 12:16:24
0 / root
0755
automake-1.16
251.935 KB
September 27 2023 12:16:24
0 / root
0755
autoreconf
20.572 KB
October 02 2024 20:06:28
0 / root
0755
autoscan
16.723 KB
October 02 2024 20:06:28
0 / root
0755
autoupdate
33.078 KB
October 02 2024 20:06:28
0 / root
0755
awk
698.172 KB
March 30 2022 22:25:28
0 / root
0755
b2sum
51.805 KB
October 02 2024 21:44:18
0 / root
0755
base32
35.695 KB
October 02 2024 21:44:18
0 / root
0755
base64
35.703 KB
October 02 2024 21:44:18
0 / root
0755
basename
35.68 KB
October 02 2024 21:44:18
0 / root
0755
basenc
48.016 KB
October 02 2024 21:44:18
0 / root
0755
bash
1.32 MB
April 30 2024 14:33:56
0 / root
0755
bashbug-64
6.913 KB
April 30 2024 14:33:47
0 / root
0755
batch
0.137 KB
October 14 2022 16:04:07
0 / root
0755
bison
494.758 KB
January 27 2022 00:15:31
0 / root
0755
bunzip2
39.617 KB
February 04 2025 03:42:48
0 / root
0755
bzcat
39.617 KB
February 04 2025 03:42:48
0 / root
0755
bzcmp
2.094 KB
February 04 2025 03:42:48
0 / root
0755
bzdiff
2.094 KB
February 04 2025 03:42:48
0 / root
0755
bzgrep
2.01 KB
February 04 2025 03:42:48
0 / root
0755
bzip2
39.617 KB
February 04 2025 03:42:48
0 / root
0755
bzip2recover
15.398 KB
February 04 2025 03:42:48
0 / root
0755
bzless
1.233 KB
February 04 2025 03:42:48
0 / root
0755
bzmore
1.233 KB
February 04 2025 03:42:48
0 / root
0755
c++
1.04 MB
February 12 2025 13:11:11
0 / root
0755
c++filt
27.375 KB
October 03 2024 05:16:41
0 / root
0755
c89
0.223 KB
February 12 2025 13:07:17
0 / root
0755
c99
0.214 KB
February 12 2025 13:07:17
0 / root
0755
cagefs_enter.proxied
1.035 KB
December 24 2024 11:28:37
0 / root
0755
cal
52.016 KB
October 02 2024 22:24:49
0 / root
0755
captoinfo
87.797 KB
September 27 2023 03:05:19
0 / root
0755
cat
35.664 KB
October 02 2024 21:44:18
0 / root
0755
catchsegv
3.212 KB
April 28 2025 16:05:50
0 / root
0755
cc
1.04 MB
February 12 2025 13:11:11
0 / root
0755
chcon
60.242 KB
October 02 2024 21:44:18
0 / root
0755
chgrp
56.172 KB
October 02 2024 21:44:18
0 / root
0755
chmod
56.188 KB
October 02 2024 21:44:18
0 / root
0755
chown
60.195 KB
October 02 2024 21:44:18
0 / root
0755
chrt
27.492 KB
October 02 2024 22:24:49
0 / root
0755
cksum
35.578 KB
October 02 2024 21:44:18
0 / root
0755
cldetect
10.363 KB
March 03 2025 09:50:23
0 / root
0755
clear
15.148 KB
September 27 2023 03:05:19
0 / root
0755
cmp
40.133 KB
January 29 2022 18:15:51
0 / root
0755
col
23.43 KB
October 02 2024 22:24:49
0 / root
0755
colcrt
15.391 KB
October 02 2024 22:24:49
0 / root
0755
colrm
15.375 KB
October 02 2024 22:24:49
0 / root
0755
column
35.531 KB
October 02 2024 22:24:49
0 / root
0755
comm
35.766 KB
October 02 2024 21:44:18
0 / root
0755
compare
15.273 KB
April 01 2025 12:55:20
0 / root
0755
composite
15.273 KB
April 01 2025 12:55:20
0 / root
0755
conjure
15.273 KB
April 01 2025 12:55:20
0 / root
0755
convert
15.273 KB
April 01 2025 12:55:20
0 / root
0755
cp
149.234 KB
October 02 2024 21:44:18
0 / root
0755
cpan
8.064 KB
September 27 2023 10:37:26
0 / root
0755
cpp
1.04 MB
February 12 2025 13:11:11
0 / root
0755
crontab
1.359 KB
December 17 2024 11:04:25
0 / root
0755
crontab.cagefs
40.633 KB
March 19 2025 05:58:12
0 / root
0755
csplit
108.883 KB
October 02 2024 21:44:18
0 / root
0755
curl
248.672 KB
October 02 2024 18:45:14
0 / root
0755
cut
47.82 KB
October 02 2024 21:44:18
0 / root
0755
cyrusbdb2current
1.58 MB
April 10 2023 14:10:39
0 / root
0755
date
104.047 KB
October 02 2024 21:44:18
0 / root
0755
dbiprof
6.061 KB
February 16 2022 08:03:52
0 / root
0755
dd
68.141 KB
October 02 2024 21:44:18
0 / root
0755
delv
45.555 KB
February 19 2025 16:04:24
0 / root
0755
df
84.742 KB
October 02 2024 21:44:18
0 / root
0755
diff
194.695 KB
January 29 2022 18:15:51
0 / root
0755
diff3
52.305 KB
January 29 2022 18:15:51
0 / root
0755
dig
136.766 KB
February 19 2025 16:04:24
0 / root
0755
dir
137.664 KB
October 02 2024 21:44:18
0 / root
0755
dircolors
39.813 KB
October 02 2024 21:44:18
0 / root
0755
dirname
31.492 KB
October 02 2024 21:44:18
0 / root
0755
display
15.273 KB
April 01 2025 12:55:20
0 / root
0755
dnstap-read
23.367 KB
February 19 2025 16:04:24
0 / root
0755
du
149.445 KB
October 02 2024 21:44:18
0 / root
0755
echo
35.484 KB
October 02 2024 21:44:18
0 / root
0755
ed
52.508 KB
January 30 2022 05:02:01
0 / root
0755
egrep
0.031 KB
January 31 2022 20:22:32
0 / root
0755
enc2xs
40.687 KB
February 11 2022 16:42:02
0 / root
0755
enchant
23.727 KB
January 30 2022 11:02:06
0 / root
0755
enchant-lsmod
15.805 KB
January 30 2022 11:02:06
0 / root
0755
env
44.234 KB
October 02 2024 21:44:18
0 / root
0755
eps2eps
0.628 KB
September 03 2024 11:35:23
0 / root
0755
eqn
189.516 KB
February 01 2022 10:44:53
0 / root
0755
ex
1.39 MB
October 02 2024 23:01:05
0 / root
0755
expand
39.742 KB
October 02 2024 21:44:18
0 / root
0755
expr
108.602 KB
October 02 2024 21:44:18
0 / root
0755
factor
72.055 KB
October 02 2024 21:44:18
0 / root
0755
false
27.477 KB
October 02 2024 21:44:18
0 / root
0755
fc-cache
0.136 KB
January 23 2023 15:48:20
0 / root
0755
fc-cache-64
23.172 KB
January 23 2023 19:48:35
0 / root
0755
fc-cat
19.156 KB
January 23 2023 19:48:35
0 / root
0755
fc-conflist
15.133 KB
January 23 2023 19:48:35
0 / root
0755
fc-list
15.133 KB
January 23 2023 19:48:35
0 / root
0755
fc-match
15.133 KB
January 23 2023 19:48:35
0 / root
0755
fc-pattern
15.141 KB
January 23 2023 19:48:35
0 / root
0755
fc-query
15.133 KB
January 23 2023 19:48:35
0 / root
0755
fc-scan
15.141 KB
January 23 2023 19:48:35
0 / root
0755
fc-validate
15.141 KB
January 23 2023 19:48:35
0 / root
0755
fgrep
0.031 KB
January 31 2022 20:22:32
0 / root
0755
file
27.742 KB
April 03 2024 12:38:13
0 / root
0755
find
284.953 KB
October 02 2024 21:04:59
0 / root
0755
flex
412.641 KB
January 30 2022 08:23:38
0 / root
0755
flex++
412.641 KB
January 30 2022 08:23:38
0 / root
0755
flock
23.563 KB
October 02 2024 22:24:49
0 / root
0755
fmt
39.773 KB
October 02 2024 21:44:18
0 / root
0755
fold
39.719 KB
October 02 2024 21:44:18
0 / root
0755
free
23.359 KB
April 30 2024 16:43:23
0 / root
0755
freetype-config
4.319 KB
March 31 2025 15:40:24
0 / root
0755
funzip
31.422 KB
March 18 2025 03:53:48
0 / root
0755
g++
1.04 MB
February 12 2025 13:11:11
0 / root
0755
gawk
698.172 KB
March 30 2022 22:25:28
0 / root
0755
gcc
1.04 MB
February 12 2025 13:11:11
0 / root
0755
gcc-ar
27.813 KB
February 12 2025 13:11:11
0 / root
0755
gcc-nm
27.797 KB
February 12 2025 13:11:11
0 / root
0755
gcc-ranlib
27.82 KB
February 12 2025 13:11:11
0 / root
0755
gcov
468.984 KB
February 12 2025 13:11:12
0 / root
0755
gcov-dump
283.742 KB
February 12 2025 13:11:12
0 / root
0755
gcov-tool
312.461 KB
February 12 2025 13:11:12
0 / root
0755
gem
0.529 KB
May 06 2025 04:04:18
0 / root
0755
gencat
27.641 KB
April 28 2025 16:08:22
0 / root
0755
geqn
189.516 KB
February 01 2022 10:44:53
0 / root
0755
getconf
35.406 KB
April 28 2025 16:08:23
0 / root
0755
getent
36.031 KB
April 28 2025 16:08:23
0 / root
0755
getopt
23.461 KB
October 02 2024 22:24:49
0 / root
0755
ghostscript
15.313 KB
September 03 2024 11:35:34
0 / root
0755
git
3.87 MB
December 17 2024 12:17:15
0 / root
0755
git-receive-pack
3.87 MB
December 17 2024 12:17:15
0 / root
0755
git-shell
637.141 KB
December 17 2024 12:17:15
0 / root
0755
git-upload-archive
3.87 MB
December 17 2024 12:17:15
0 / root
0755
git-upload-pack
3.87 MB
December 17 2024 12:17:15
0 / root
0755
gmake
249.797 KB
April 02 2024 12:55:30
0 / root
0755
gneqn
0.895 KB
February 01 2022 10:44:38
0 / root
0755
gnroff
3.208 KB
February 01 2022 10:44:38
0 / root
0755
gpg
1.07 MB
September 26 2023 19:39:20
0 / root
0755
gpg-agent
342.25 KB
September 26 2023 19:39:20
0 / root
0755
gpg-error
36.102 KB
February 09 2022 23:24:31
0 / root
0755
gpgsplit
27.492 KB
September 26 2023 19:39:20
0 / root
0755
gpgv
295.422 KB
September 26 2023 19:39:20
0 / root
0755
gpic
201.719 KB
February 01 2022 10:44:53
0 / root
0755
gprof
101.664 KB
October 03 2024 05:16:41
0 / root
0755
grep
154.492 KB
January 31 2022 20:22:36
0 / root
0755
groff
96.766 KB
February 01 2022 10:44:53
0 / root
0755
grops
167.258 KB
February 01 2022 10:44:53
0 / root
0755
grotty
122.195 KB
February 01 2022 10:44:53
0 / root
0755
groups
35.68 KB
October 02 2024 21:44:18
0 / root
0755
gs
15.313 KB
September 03 2024 11:35:34
0 / root
0755
gsnd
0.274 KB
September 03 2024 11:35:23
0 / root
0755
gtar
514.273 KB
October 02 2024 21:24:00
0 / root
0755
gtbl
130.859 KB
February 01 2022 10:44:53
0 / root
0755
gtroff
732.07 KB
February 01 2022 10:44:53
0 / root
0755
gunzip
2.295 KB
October 15 2022 17:26:34
0 / root
0755
gzexe
6.3 KB
October 15 2022 17:26:34
0 / root
0755
gzip
89.633 KB
October 15 2022 17:26:34
0 / root
0755
h2ph
28.693 KB
April 03 2024 14:39:02
0 / root
0755
h2xs
59.503 KB
April 03 2024 14:35:12
0 / root
0755
head
43.805 KB
October 02 2024 21:44:18
0 / root
0755
hexdump
51.602 KB
October 02 2024 22:24:49
0 / root
0755
host
108.758 KB
February 19 2025 16:04:24
0 / root
0755
hostid
31.672 KB
October 02 2024 21:44:18
0 / root
0755
hostname
23.836 KB
February 14 2022 11:22:04
0 / root
0755
hunspell
102.672 KB
January 31 2022 20:22:03
0 / root
0755
iconv
64.383 KB
April 28 2025 16:08:23
0 / root
0755
icu-config
0.2 KB
March 25 2022 07:50:10
0 / root
0755
icu-config-64
21.669 KB
March 25 2022 08:06:24
0 / root
0755
icuinfo
16.07 KB
March 25 2022 08:07:21
0 / root
0755
id
39.719 KB
October 02 2024 21:44:18
0 / root
0755
identify
15.273 KB
April 01 2025 12:55:20
0 / root
0755
idn
35.805 KB
December 20 2022 16:04:46
0 / root
0755
ifnames
4.031 KB
October 02 2024 20:06:28
0 / root
0755
import
15.273 KB
April 01 2025 12:55:20
0 / root
0755
infocmp
63.68 KB
September 27 2023 03:05:19
0 / root
0755
infotocap
87.797 KB
September 27 2023 03:05:19
0 / root
0755
install
149.289 KB
October 02 2024 21:44:18
0 / root
0755
instmodsh
4.096 KB
February 24 2022 09:56:25
0 / root
0755
ionice
15.406 KB
October 02 2024 22:24:49
0 / root
0755
ipcrm
19.422 KB
October 02 2024 22:24:49
0 / root
0755
ipcs
39.539 KB
October 02 2024 22:24:49
0 / root
0755
isosize
15.344 KB
October 02 2024 22:24:49
0 / root
0755
ispell
0.969 KB
October 08 2019 00:15:21
0 / root
0755
join
51.883 KB
October 02 2024 21:44:18
0 / root
0755
kill
31.477 KB
October 02 2024 22:24:49
0 / root
0755
ld
1.7 MB
October 03 2024 05:16:41
0 / root
0755
ld.bfd
1.7 MB
October 03 2024 05:16:41
0 / root
0755
ldd
5.318 KB
April 28 2025 16:05:52
0 / root
0755
less
197.898 KB
October 02 2024 20:38:47
0 / root
0755
lessecho
15.367 KB
October 02 2024 20:38:47
0 / root
0755
lesskey
24.805 KB
October 02 2024 20:38:47
0 / root
0755
lesspipe.sh
3.496 KB
October 02 2024 19:31:20
0 / root
0755
lex
412.641 KB
January 30 2022 08:23:38
0 / root
0755
libnetcfg
15.405 KB
April 03 2024 14:39:02
0 / root
0755
libtool
359.182 KB
October 01 2024 17:49:19
0 / root
0755
libtoolize
126.172 KB
October 01 2024 17:49:19
0 / root
0755
link
31.672 KB
October 02 2024 21:44:18
0 / root
0755
ln
60.172 KB
October 02 2024 21:44:18
0 / root
0755
locale
59.344 KB
April 28 2025 16:08:23
0 / root
0755
localedef
314.539 KB
April 28 2025 16:08:23
0 / root
0755
logger
36.172 KB
October 02 2024 22:24:49
0 / root
0755
login
43.641 KB
October 02 2024 22:24:49
0 / root
0755
logname
31.672 KB
October 02 2024 21:44:18
0 / root
0755
look
19.367 KB
October 02 2024 22:24:49
0 / root
0755
ls
137.648 KB
October 02 2024 21:44:18
0 / root
0755
lto-dump
26.58 MB
February 12 2025 13:11:12
0 / root
0755
m4
240.398 KB
March 31 2022 07:28:13
0 / root
0755
make
249.797 KB
April 02 2024 12:55:30
0 / root
0755
make-dummy-cert
0.6 KB
February 11 2025 21:56:48
0 / root
0755
mariadb
5.08 MB
May 19 2025 17:24:54
0 / root
0755
mariadb-access
109.337 KB
May 19 2025 16:19:25
0 / root
0755
mariadb-admin
4.85 MB
May 19 2025 17:24:54
0 / root
0755
mariadb-binlog
5.13 MB
May 19 2025 17:24:55
0 / root
0755
mariadb-check
4.84 MB
May 19 2025 17:24:55
0 / root
0755
mariadb-dump
4.94 MB
May 19 2025 17:24:54
0 / root
0755
mariadb-find-rows
3.213 KB
May 19 2025 16:19:25
0 / root
0755
mariadb-import
4.84 MB
May 19 2025 17:24:55
0 / root
0755
mariadb-show
4.83 MB
May 19 2025 17:24:54
0 / root
0755
mariadb-waitpid
4.52 MB
May 19 2025 17:24:54
0 / root
0755
mcookie
27.508 KB
October 02 2024 22:24:49
0 / root
0755
md5sum
39.648 KB
October 02 2024 21:44:18
0 / root
0755
mesg
15.344 KB
October 02 2024 22:24:49
0 / root
0755
mkdir
68.313 KB
October 02 2024 21:44:18
0 / root
0755
mkfifo
39.828 KB
October 02 2024 21:44:18
0 / root
0755
mknod
43.883 KB
October 02 2024 21:44:18
0 / root
0755
mktemp
39.813 KB
October 02 2024 21:44:18
0 / root
0755
mogrify
15.273 KB
April 01 2025 12:55:20
0 / root
0755
montage
15.273 KB
April 01 2025 12:55:20
0 / root
0755
more
43.633 KB
October 02 2024 22:24:49
0 / root
0755
msql2mysql
1.416 KB
May 19 2025 16:19:25
0 / root
0755
mv
141.172 KB
October 02 2024 21:44:18
0 / root
0755
my_print_defaults
4.53 MB
May 19 2025 17:24:55
0 / root
0755
mysql
5.08 MB
May 19 2025 17:24:54
0 / root
0755
mysql_config
4.5 KB
May 19 2025 16:19:25
0 / root
0755
mysql_find_rows
3.213 KB
May 19 2025 16:19:25
0 / root
0755
mysql_waitpid
4.52 MB
May 19 2025 17:24:54
0 / root
0755
mysqlaccess
109.337 KB
May 19 2025 16:19:25
0 / root
0755
mysqladmin
4.85 MB
May 19 2025 17:24:54
0 / root
0755
mysqlbinlog
5.13 MB
May 19 2025 17:24:55
0 / root
0755
mysqlcheck
4.84 MB
May 19 2025 17:24:55
0 / root
0755
mysqldump
4.94 MB
May 19 2025 17:24:54
0 / root
0755
mysqlimport
4.84 MB
May 19 2025 17:24:55
0 / root
0755
mysqlshow
4.83 MB
May 19 2025 17:24:54
0 / root
0755
namei
23.422 KB
October 02 2024 22:24:49
0 / root
0755
nano
346.219 KB
October 02 2024 21:37:48
0 / root
0755
neqn
0.895 KB
February 01 2022 10:44:38
0 / root
0755
net-snmp-create-v3-user
3.232 KB
October 02 2024 18:56:04
0 / root
0755
nice
35.68 KB
October 02 2024 21:44:18
0 / root
0755
nl
100.703 KB
October 02 2024 21:44:18
0 / root
0755
nm
44.906 KB
October 03 2024 05:16:41
0 / root
0755
nohup
35.586 KB
October 02 2024 21:44:18
0 / root
0755
nproc
35.703 KB
October 02 2024 21:44:18
0 / root
0755
nroff
3.208 KB
February 01 2022 10:44:38
0 / root
0755
nslookup
112.711 KB
February 19 2025 16:04:24
0 / root
0755
nsupdate
71.992 KB
February 19 2025 16:04:24
0 / root
0755
numfmt
55.828 KB
October 02 2024 21:44:18
0 / root
0755
objcopy
185.563 KB
October 03 2024 05:16:41
0 / root
0755
objdump
413.297 KB
October 03 2024 05:16:41
0 / root
0755
od
64.07 KB
October 02 2024 21:44:18
0 / root
0755
openssl
1.01 MB
February 11 2025 21:56:51
0 / root
0755
pango-list
19.109 KB
April 07 2023 10:19:30
0 / root
0755
pango-segmentation
19.125 KB
April 07 2023 10:19:30
0 / root
0755
pango-view
60.172 KB
April 07 2023 10:19:30
0 / root
0755
passenger
1.73 KB
April 17 2025 08:59:19
0 / root
0755
passwd
1.023 KB
April 14 2022 14:45:09
0 / root
0755
paste
35.586 KB
October 02 2024 21:44:18
0 / root
0755
patch
195.016 KB
March 25 2022 15:42:41
0 / root
0755
pathchk
35.664 KB
October 02 2024 21:44:18
0 / root
0755
pdf2dsc
0.685 KB
September 03 2024 11:35:23
0 / root
0755
pdf2ps
0.892 KB
September 03 2024 11:35:23
0 / root
0755
perl
15.25 KB
April 03 2024 14:35:42
0 / root
0755
perl5.32.1
15.25 KB
April 03 2024 14:35:42
0 / root
0755
perlbug
43.812 KB
April 03 2024 14:39:02
0 / root
0755
perldoc
0.115 KB
February 14 2022 23:51:30
0 / root
0755
perlivp
10.56 KB
April 03 2024 14:35:12
0 / root
0755
perlml
14.18 KB
August 10 2022 20:54:59
0 / root
0755
perlthanks
43.812 KB
April 03 2024 14:39:02
0 / root
0755
pgrep
31.422 KB
April 30 2024 16:43:23
0 / root
0755
php
0.915 KB
April 01 2025 16:34:00
0 / root
0755
pic
201.719 KB
February 01 2022 10:44:53
0 / root
0755
piconv
8.077 KB
February 11 2022 16:42:02
0 / root
0755
ping
76.664 KB
December 17 2024 10:51:58
0 / root
0755
pinky
35.617 KB
October 02 2024 21:44:18
0 / root
0755
pkg-config
0.327 KB
April 06 2023 20:27:13
0 / root
0755
pkill
31.422 KB
April 30 2024 16:43:23
0 / root
0755
pl2pm
4.427 KB
April 03 2024 14:38:15
0 / root
0755
pmap
35.391 KB
April 30 2024 16:43:23
0 / root
0755
pod2html
4.037 KB
April 03 2024 14:39:02
0 / root
0755
pod2man
14.682 KB
March 25 2022 12:10:57
0 / root
0755
pod2text
10.55 KB
March 25 2022 12:10:57
0 / root
0755
pod2usage
4.011 KB
February 11 2022 16:01:30
0 / root
0755
podchecker
3.572 KB
February 11 2022 19:01:35
0 / root
0755
podselect
2.468 KB
May 03 2024 07:58:31
0 / root
0555
post-grohtml
199.758 KB
February 01 2022 10:44:53
0 / root
0755
pr
72.297 KB
October 02 2024 21:44:18
0 / root
0755
pre-grohtml
92.922 KB
February 01 2022 10:44:53
0 / root
0755
precat
5.527 KB
October 08 2019 00:15:21
0 / root
0755
preunzip
5.527 KB
October 08 2019 00:15:21
0 / root
0755
prezip
5.527 KB
October 08 2019 00:15:21
0 / root
0755
prezip-bin
15.688 KB
January 26 2022 21:47:25
0 / root
0755
printenv
31.477 KB
October 02 2024 21:44:18
0 / root
0755
printf
51.781 KB
October 02 2024 21:44:18
0 / root
0755
prove
13.244 KB
February 16 2022 11:58:05
0 / root
0755
ps
141.148 KB
April 30 2024 16:43:23
0 / root
0755
ps2ascii
0.62 KB
September 03 2024 11:35:23
0 / root
0755
ps2epsi
1.238 KB
September 03 2024 11:35:23
0 / root
0755
ps2pdf
0.27 KB
September 03 2024 11:35:23
0 / root
0755
ps2pdf12
0.214 KB
September 03 2024 11:35:23
0 / root
0755
ps2pdf13
0.214 KB
September 03 2024 11:35:23
0 / root
0755
ps2pdf14
0.214 KB
September 03 2024 11:35:23
0 / root
0755
ps2pdfwr
1.057 KB
September 03 2024 11:35:23
0 / root
0755
ps2ps
0.636 KB
September 03 2024 11:35:23
0 / root
0755
ps2ps2
0.657 KB
September 03 2024 11:35:23
0 / root
0755
ptx
129.039 KB
October 02 2024 21:44:18
0 / root
0755
pwd
35.703 KB
October 02 2024 21:44:18
0 / root
0755
pwdx
15.281 KB
April 30 2024 16:43:23
0 / root
0755
pydoc
0.076 KB
December 12 2024 10:11:36
0 / root
0755
pydoc3
0.076 KB
December 12 2024 10:11:36
0 / root
0755
pydoc3.9
0.076 KB
December 12 2024 10:11:36
0 / root
0755
python
15.266 KB
December 12 2024 10:11:42
0 / root
0755
python3
15.266 KB
December 12 2024 10:11:42
0 / root
0755
python3.9
15.266 KB
December 12 2024 10:11:42
0 / root
0755
ranlib
56.195 KB
October 03 2024 05:16:41
0 / root
0755
readelf
667.477 KB
October 03 2024 05:16:41
0 / root
0755
readlink
39.695 KB
October 02 2024 21:44:18
0 / root
0755
realpath
39.773 KB
October 02 2024 21:44:18
0 / root
0755
red
0.09 KB
January 30 2022 05:02:00
0 / root
0755
rename
23.422 KB
October 02 2024 22:24:49
0 / root
0755
renew-dummy-cert
0.712 KB
February 11 2025 21:56:48
0 / root
0755
renice
15.367 KB
October 02 2024 22:24:49
0 / root
0755
reset
27.336 KB
September 27 2023 03:05:19
0 / root
0755
rev
15.359 KB
October 02 2024 22:24:49
0 / root
0755
rm
60.211 KB
October 02 2024 21:44:18
0 / root
0755
rmdir
43.617 KB
October 02 2024 21:44:18
0 / root
0755
rnano
346.219 KB
October 02 2024 21:37:48
0 / root
0755
ruby
15.273 KB
May 06 2025 03:53:09
0 / root
0755
run-with-aspell
0.087 KB
January 26 2022 21:47:11
0 / root
0755
runcon
35.648 KB
October 02 2024 21:44:18
0 / root
0755
rvi
1.39 MB
October 02 2024 23:01:05
0 / root
0755
rview
1.39 MB
October 02 2024 23:01:05
0 / root
0755
rvim
3.84 MB
October 02 2024 23:01:05
0 / root
0755
scalar
685.828 KB
December 17 2024 12:17:15
0 / root
0755
scl
39.547 KB
April 07 2023 01:57:08
0 / root
0755
scl_enabled
0.256 KB
July 27 2021 15:14:26
0 / root
0755
scl_source
1.884 KB
July 27 2021 15:14:26
0 / root
0755
scp
133.07 KB
March 01 2025 08:47:16
0 / root
0755
screen
483.039 KB
January 30 2023 11:37:57
0 / screen
0755
script
51.758 KB
October 02 2024 22:24:49
0 / root
0755
sdiff
44.203 KB
January 29 2022 18:15:51
0 / root
0755
sed
114.008 KB
February 15 2022 10:36:52
0 / root
0755
selectorctl
7.629 KB
April 10 2025 09:04:16
0 / root
0755
seq
47.805 KB
October 02 2024 21:44:18
0 / root
0755
setsid
15.352 KB
October 02 2024 22:24:49
0 / root
0755
setterm
35.516 KB
October 02 2024 22:24:49
0 / root
0755
sftp
141.063 KB
March 01 2025 08:47:16
0 / root
0755
sh
1.32 MB
April 30 2024 14:33:56
0 / root
0755
sha1sum
39.648 KB
October 02 2024 21:44:18
0 / root
0755
sha224sum
39.648 KB
October 02 2024 21:44:18
0 / root
0755
sha256sum
39.648 KB
October 02 2024 21:44:18
0 / root
0755
sha384sum
39.648 KB
October 02 2024 21:44:18
0 / root
0755
sha512sum
39.648 KB
October 02 2024 21:44:18
0 / root
0755
shred
51.883 KB
October 02 2024 21:44:18
0 / root
0755
shuf
48.023 KB
October 02 2024 21:44:18
0 / root
0755
size
31.797 KB
October 03 2024 05:16:41
0 / root
0755
skill
31.398 KB
April 30 2024 16:43:23
0 / root
0755
slabtop
23.422 KB
April 30 2024 16:43:23
0 / root
0755
sleep
35.664 KB
October 02 2024 21:44:18
0 / root
0755
snice
31.398 KB
April 30 2024 16:43:23
0 / root
0755
snmpconf
25.44 KB
October 02 2024 18:56:20
0 / root
0755
sort
113.109 KB
October 02 2024 21:44:18
0 / root
0755
spell
0.122 KB
October 08 2019 00:15:21
0 / root
0755
splain
18.956 KB
April 03 2024 14:39:02
0 / root
0755
split
52.328 KB
October 02 2024 21:44:18
0 / root
0755
sprof
35.617 KB
April 28 2025 16:08:23
0 / root
0755
sqlite3
1.52 MB
January 24 2024 23:10:31
0 / root
0755
ssh
843.531 KB
March 01 2025 08:47:16
0 / root
0755
ssh-add
164.867 KB
March 01 2025 08:47:16
0 / root
0755
ssh-agent
281.023 KB
March 01 2025 08:47:16
0 / root
0755
ssh-copy-id
12.383 KB
March 01 2025 08:47:15
0 / root
0755
ssh-keygen
455.039 KB
March 01 2025 08:47:16
0 / root
0755
ssh-keyscan
197.438 KB
March 01 2025 08:47:16
0 / root
0755
stat
80.07 KB
October 02 2024 21:44:18
0 / root
0755
stdbuf
43.75 KB
October 02 2024 21:44:18
0 / root
0755
strace
1.94 MB
October 15 2022 16:24:43
0 / root
0755
stream
15.273 KB
April 01 2025 12:55:20
0 / root
0755
strings
31.922 KB
October 03 2024 05:16:41
0 / root
0755
strip
185.555 KB
October 03 2024 05:16:41
0 / root
0755
stty
75.836 KB
October 02 2024 21:44:18
0 / root
0755
sum
35.602 KB
October 02 2024 21:44:18
0 / root
0755
sync
35.547 KB
October 02 2024 21:44:18
0 / root
0755
tabs
19.164 KB
September 27 2023 03:05:19
0 / root
0755
tac
104.609 KB
October 02 2024 21:44:18
0 / root
0755
tail
68.102 KB
October 02 2024 21:44:18
0 / root
0755
tar
514.273 KB
October 02 2024 21:24:00
0 / root
0755
taskset
23.414 KB
October 02 2024 22:24:49
0 / root
0755
tbl
130.859 KB
February 01 2022 10:44:53
0 / root
0755
tclsh
15.688 KB
October 15 2022 21:29:43
0 / root
0755
tclsh8.6
15.688 KB
October 15 2022 21:29:43
0 / root
0755
tee
35.695 KB
October 02 2024 21:44:18
0 / root
0755
test
43.805 KB
October 02 2024 21:44:18
0 / root
0755
tic
87.797 KB
September 27 2023 03:05:19
0 / root
0755
time
28.055 KB
February 11 2022 11:12:18
0 / root
0755
timeout
40.18 KB
October 02 2024 21:44:18
0 / root
0755
tload
19.336 KB
April 30 2024 16:43:23
0 / root
0755
tmpwatch
36.031 KB
February 11 2022 11:52:55
0 / root
0755
toe
23.227 KB
September 27 2023 03:05:19
0 / root
0755
top
132.273 KB
April 30 2024 16:43:23
0 / root
0755
touch
92.039 KB
October 02 2024 21:44:18
0 / root
0755
tput
27.25 KB
September 27 2023 03:05:19
0 / root
0755
tr
47.867 KB
October 02 2024 21:44:18
0 / root
0755
tree
85.445 KB
February 12 2022 01:46:16
0 / root
0755
troff
732.07 KB
February 01 2022 10:44:53
0 / root
0755
true
27.477 KB
October 02 2024 21:44:18
0 / root
0755
truncate
35.664 KB
October 02 2024 21:44:18
0 / root
0755
tset
27.336 KB
September 27 2023 03:05:19
0 / root
0755
tsort
47.805 KB
October 02 2024 21:44:18
0 / root
0755
tty
31.656 KB
October 02 2024 21:44:18
0 / root
0755
tzselect
14.992 KB
April 28 2025 16:05:30
0 / root
0755
uapi
1.02 KB
April 13 2025 21:43:08
0 / root
0755
ul
23.453 KB
October 02 2024 22:24:49
0 / root
0755
uname
31.664 KB
October 02 2024 21:44:18
0 / root
0755
unexpand
39.734 KB
October 02 2024 21:44:18
0 / root
0755
uniq
43.836 KB
October 02 2024 21:44:18
0 / root
0755
unlink
31.664 KB
October 02 2024 21:44:18
0 / root
0755
unzip
196.141 KB
March 18 2025 03:53:48
0 / root
0755
unzipsfx
87.891 KB
March 18 2025 03:53:48
0 / root
0755
uptime
15.289 KB
April 30 2024 16:43:23
0 / root
0755
users
35.688 KB
October 02 2024 21:44:18
0 / root
0755
utmpdump
23.398 KB
October 02 2024 22:24:49
0 / root
0755
vdir
137.664 KB
October 02 2024 21:44:18
0 / root
0755
vi
0.675 KB
October 02 2024 23:01:02
0 / root
0755
view
0.146 KB
October 02 2024 23:01:02
0 / root
0755
vim
3.84 MB
October 02 2024 23:01:05
0 / root
0755
vimdiff
3.84 MB
October 02 2024 23:01:05
0 / root
0755
vimtutor
2.074 KB
October 02 2024 23:01:01
0 / root
0755
vmstat
39.414 KB
April 30 2024 16:43:23
0 / root
0755
watch
27.867 KB
April 30 2024 16:43:23
0 / root
0755
wc
43.742 KB
October 02 2024 21:44:18
0 / root
0755
wget
521.406 KB
September 03 2024 11:58:56
0 / root
0755
whereis
32.039 KB
October 02 2024 22:24:49
0 / root
0755
which
27.891 KB
September 27 2023 17:32:45
0 / root
0755
who
51.773 KB
October 02 2024 21:44:18
0 / root
0755
whoami
31.664 KB
October 02 2024 21:44:18
0 / root
0755
word-list-compress
15.703 KB
January 26 2022 21:47:25
0 / root
0755
x86_64-redhat-linux-c++
1.04 MB
February 12 2025 13:11:11
0 / root
0755
x86_64-redhat-linux-g++
1.04 MB
February 12 2025 13:11:11
0 / root
0755
x86_64-redhat-linux-gcc
1.04 MB
February 12 2025 13:11:11
0 / root
0755
x86_64-redhat-linux-gcc-11
1.04 MB
February 12 2025 13:11:11
0 / root
0755
xargs
64.094 KB
October 02 2024 21:04:59
0 / root
0755
xmlcatalog
23.328 KB
March 12 2025 18:46:07
0 / root
0755
xmllint
80.75 KB
March 12 2025 18:46:07
0 / root
0755
xmlwf
39.813 KB
April 02 2025 16:03:35
0 / root
0755
xsltproc
31.406 KB
April 28 2025 16:52:06
0 / root
0755
xsubpp
4.961 KB
February 16 2022 08:56:48
0 / root
0755
xxd
19.516 KB
October 02 2024 23:01:05
0 / root
0755
yes
31.523 KB
October 02 2024 21:44:18
0 / root
0755
zcat
1.941 KB
October 15 2022 17:26:34
0 / root
0755
zcmp
1.643 KB
October 15 2022 17:26:34
0 / root
0755
zdiff
6.313 KB
October 15 2022 17:26:34
0 / root
0755
zegrep
0.032 KB
October 15 2022 17:26:34
0 / root
0755
zfgrep
0.032 KB
October 15 2022 17:26:34
0 / root
0755
zforce
2.036 KB
October 15 2022 17:26:34
0 / root
0755
zgrep
7.926 KB
October 15 2022 17:26:34
0 / root
0755
zip
221.094 KB
April 07 2023 14:02:33
0 / root
0755
zipcloak
75.695 KB
April 07 2023 14:02:33
0 / root
0755
zipgrep
2.888 KB
October 10 2008 17:40:36
0 / root
0755
zipinfo
196.141 KB
March 18 2025 03:53:48
0 / root
0755
zipnote
67.609 KB
April 07 2023 14:02:33
0 / root
0755
zipsplit
63.578 KB
April 07 2023 14:02:33
0 / root
0755
zless
2.158 KB
October 15 2022 17:26:34
0 / root
0755
zmore
1.803 KB
October 15 2022 17:26:34
0 / root
0755
znew
4.474 KB
October 15 2022 17:26:34
0 / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF