Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : infihsqw ( 644)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/local/lsws/admin/misc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/lsws/admin/misc/create_admin_keypair.sh
#!/bin/sh

CUR_DIR=`dirname "$0"`
cd $CUR_DIR
CUR_DIR=`pwd`

echo "Generating key pair for web console login page, please wait ..."
openssl genrsa -out key.pem 512

if [ "$?" -eq "0" ] ; then
    ../fcgi-bin/admin_php5 -q genjCryptionKeyPair.php key.pem
   rm -f key.pem 
else
    ../fcgi-bin/admin_php5 -q genjCryptionKeyPair.php
fi



ZeroDay Forums Mini