003 File Manager
Current Path:
/usr/local/sbin
usr
/
local
/
sbin
/
📁
..
📄
apachectl
(3.52 KB)
📄
apxs
(23.42 KB)
📄
check_forensic
(952 B)
📄
checkgid
(5.88 KB)
📄
dbmmanage
(8.72 KB)
📄
envvars
(1.16 KB)
📄
fcgistarter
(8.89 KB)
📄
ftpscrub
(43.05 KB)
📄
ftpshut
(28.77 KB)
📄
htcacheclean
(28.82 KB)
📄
httpd
(675.03 KB)
📄
in.proftpd
(3.14 MB)
📄
mysql_change_onetimepass.sh
(608 B)
📄
paperconfig
(4.09 KB)
📄
php-fpm
(5.34 MB)
📄
pkg
(2.83 MB)
📄
pkg-static
(27.68 MB)
📄
pluginviewer
(14.04 KB)
📄
proftpd
(3.14 MB)
📄
rotatelogs
(17.73 KB)
📄
sasldblistusers2
(14.87 KB)
📄
saslpasswd2
(12.25 KB)
📄
split-logfile
(2.36 KB)
Editing: check_forensic
#!/bin/sh # check_forensic <forensic log file> # check the forensic log for requests that did not complete # output the request log for each one F=$1 temp_create_method=file if test -f `which mktemp`; then temp_create_method=mktemp elif test -f `which tempfile`; then temp_create_method=tempfile fi create_temp() { prefix=$1 case "$temp_create_method" in file) name="/tmp/$1.$$" ;; mktemp) name=`mktemp -t $1.XXXXXX` ;; tempfile) name=`tempfile --prefix=$1` ;; *) echo "$0: Cannot create temporary file" exit 1 ;; esac } create_temp fcall all=$name create_temp fcin in=$name create_temp fcout out=$name trap "rm -f -- \"$all\" \"$in\" \"$out\";" 0 1 2 3 13 15 cut -f 1 -d '|' $F > $all grep ^+ < $all | cut -c2- | sort > $in grep -- ^- < $all | cut -c2- | sort > $out # use -i instead of -I for GNU xargs join -v 1 $in $out | xargs -I xx egrep "^\\+xx" $F exit 0
Upload File
Create Folder