使用サーバー調査プログラム

**** **** **** **** イメージリサイズ
PerlMagick: OK

NetPBM + libjpeg-progs: NG
 cjpeg    -> Not Found
 djpeg    -> Not Found
 pngtopnm -> Not Found
 giftopnm -> Not Found
 pnmscale -> Not Found

repng2jpeg(linux) -> dynamic: OK
 libjpeg  -> /lib/libz.so.1
 libpng   -> /usr/lib/libz.so.1
 libz     -> /lib/libm.so.6
 libm     -> /usr/lib/libm.so.6
 libc     -> /lib/libc.so.6
 ldlinux  -> /usr/lib/libc.so.6

Perl : 5.016003 - 
HTTPd: Apache

**** **** **** **** 各種コマンドパス
perl     : /usr/bin/perl
         : /bin/perl
         : /usr/local/bin/perl -> /usr/bin/perl
php3     : -
php4     : -
php      : /usr/bin/php
         : /bin/php
         : /usr/local/bin/php
         : /usr/local/lib/php -> /usr/share/pear
ruby     : /usr/bin/ruby -> /usr/local/rvm/rubies/ruby-2.3.8/bin/ruby
         : /bin/ruby -> /usr/local/rvm/rubies/ruby-2.3.8/bin/ruby
         : /usr/local/bin/ruby -> /usr/local/rvm/rubies/ruby-2.3.8/bin/ruby
python   : /usr/bin/python -> python2
         : /bin/python -> python2
         : /usr/local/bin/python -> /usr/bin/python
sendmail : /usr/lib/sendmail -> /var/qmail/bin/sendmail
         : /usr/sbin/sendmail -> /var/qmail/bin/sendmail
         : /sbin/sendmail -> /var/qmail/bin/sendmail
         : /lib/sendmail -> /var/qmail/bin/sendmail
mail     : /usr/bin/mail -> mailx
         : /bin/mail -> mailx
qmail    : -
nkf      : /usr/bin/nkf
         : /bin/nkf
         : /usr/local/bin/nkf -> /usr/bin/nkf
sh       : /usr/bin/sh -> bash
         : /bin/sh -> bash
csh      : /usr/bin/csh -> tcsh
         : /bin/csh -> tcsh
uuencode : /usr/bin/uuencode
         : /bin/uuencode
uudecode : /usr/bin/uudecode
         : /bin/uudecode
procmail : /usr/bin/procmail
         : /bin/procmail
tar      : /usr/bin/tar
         : /bin/tar
gunzip   : /usr/bin/gunzip
         : /bin/gunzip
gzip     : /usr/bin/gzip
         : /bin/gzip
gcc      : /usr/bin/gcc
         : /usr/lib/gcc
         : /bin/gcc
         : /lib/gcc
g++      : /usr/bin/g++
         : /bin/g++
sed      : /usr/bin/sed
         : /bin/sed
awk      : /usr/bin/awk -> gawk
         : /bin/awk -> gawk
perlcc   : -
gzexe    : /usr/bin/gzexe
         : /bin/gzexe
gperf    : -
gzcat    : -
pgp      : -
gpg      : /usr/bin/gpg -> gpg2
         : /bin/gpg -> gpg2
convert  : /usr/bin/convert
         : /bin/convert
pnmscale : -

**** **** **** **** CGI設定関連情報
A = 実UID(10225) ; B = 実効UID(10225) ; C = 所有者UID(10225)
  [A == B]
  [B == C]
  [A == C]
Permission: CGI = 700, DIR = 701, LOG = 600, Files = 604
  $0: mybbs.cgi
  $e: mybbs.cgi

**** **** **** **** 環境変数(%ENV)
$ENV{'HTTP_HOST'} --> www.wsj21.net
$ENV{'SERVER_NAME'}:$ENV{'SERVER_PORT'} --> www.wsj21.net:80
$ENV{'SERVER_PROTOCOL'} --> HTTP/1.1
$ENV{'SCRIPT_NAME'} --> /_bbs/mybbs.cgi
$ENV{'SCRIPT_FILENAME'} --> /virtual/yuki/public_html/www.wsj21.net/_bbs/mybbs.cgi

$ENV{'CONTEXT_DOCUMENT_ROOT'}
  -> /virtual/yuki/public_html/www.wsj21.net

$ENV{'CONTEXT_PREFIX'}
  -> ----

$ENV{'DOCUMENT_ROOT'}
  -> /virtual/yuki/public_html/www.wsj21.net

$ENV{'GATEWAY_INTERFACE'}
  -> CGI/1.1

$ENV{'HTTP_ACCEPT'}
  -> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

$ENV{'HTTP_ACCEPT_ENCODING'}
  -> br,gzip

$ENV{'HTTP_ACCEPT_LANGUAGE'}
  -> en-US,en;q=0.5

$ENV{'HTTP_CONNECTION'}
  -> Keep-Alive

$ENV{'HTTP_HOST'}
  -> www.wsj21.net

$ENV{'HTTP_USER_AGENT'}
  -> CCBot/2.0 (https://commoncrawl.org/faq/)

$ENV{'LD_LIBRARY_PATH'}
  -> /virtual/yuki/public_html/www.wsj21.net/_bbs

$ENV{'PATH'}
  -> /usr/local/bin:/usr/bin:/bin

$ENV{'PATH_INFO'}
  -> /chk

$ENV{'PATH_TRANSLATED'}
  -> /virtual/yuki/public_html/www.wsj21.net/chk.html

$ENV{'QUERY_STRING'}
  -> ----

$ENV{'REDIRECT_STATUS'}
  -> 200

$ENV{'REDIRECT_URL'}
  -> /_bbs/main/chk.html

$ENV{'REMOTE_ADDR'}
  -> 3.238.174.50

$ENV{'REMOTE_HOST'}
  -> ec2-3-238-174-50.compute-1.amazonaws.com

$ENV{'REMOTE_PORT'}
  -> 51436

$ENV{'REQUEST_METHOD'}
  -> get

$ENV{'REQUEST_SCHEME'}
  -> http

$ENV{'REQUEST_URI'}
  -> /_bbs/main/chk.html

$ENV{'SCRIPT_FILENAME'}
  -> /virtual/yuki/public_html/www.wsj21.net/_bbs/mybbs.cgi

$ENV{'SCRIPT_NAME'}
  -> /_bbs/mybbs.cgi

$ENV{'SERVER_ADDR'}
  -> 202.172.26.14

$ENV{'SERVER_ADMIN'}
  -> info@coreserver.jp

$ENV{'SERVER_NAME'}
  -> www.wsj21.net

$ENV{'SERVER_PORT'}
  -> 80

$ENV{'SERVER_PROTOCOL'}
  -> HTTP/1.1

$ENV{'SERVER_SIGNATURE'}
  -> ----

$ENV{'SERVER_SOFTWARE'}
  -> Apache

$ENV{'TZ'}
  -> JST-9

$ENV{'UNIQUE_ID'}
  -> YHm9w@cus3k3xMZtPNVjSAAAAII

Server Checker for WSJ21.NET CGI-Script

CPU : 0.03 sec