Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //bin/chainsaw
#!/bin/sh
# 
# Chainsaw (log4j) startup script
#
# JPackage Project <http://www.jpackage.org/>
# $Id$

# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then 
  . /usr/share/java-utils/java-functions
else
  echo "Can't find functions library, aborting"
  exit 1
fi

# Source system prefs
if [ -r /etc/chainsaw.conf ]; then
  . /etc/chainsaw.conf
fi

# Source user prefs
if [ -r "$HOME/.chainsawrc" ]; then
  . "$HOME/.chainsawrc"
fi

# Configuration
MAIN_CLASS=org.apache.log4j.chainsaw.Main
BASE_JARS="log4j xml-commons-apis jaxp_parser_impl"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"

ZeroDay Forums Mini