Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.216.32
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lsws /
add-ons /
cpanel /
lsws_whm_plugin /
Delete
Unzip
Name
Size
Permission
Date
Action
View
[ DIR ]
drwxr-xr-x
2019-01-22 00:44
bin
[ DIR ]
drwxr-xr-x
2019-01-22 00:44
res
[ DIR ]
drwxr-xr-x
2019-07-04 19:03
static
[ DIR ]
drwxr-xr-x
2019-07-04 19:03
WhmMod_LiteSpeed_BuildPHP.php
7.46
KB
-rw-r--r--
2020-07-02 01:25
WhmMod_LiteSpeed_CPanelConf.php
12.58
KB
-rw-r--r--
2021-06-11 01:35
WhmMod_LiteSpeed_ControlApp.php
38.44
KB
-rw-r--r--
2021-06-11 01:35
WhmMod_LiteSpeed_Util.php
43.12
KB
-rw-r--r--
2021-06-11 01:35
WhmMod_LiteSpeed_View.php
59.53
KB
-rw-r--r--
2021-06-11 01:35
WhmPluginException.php
657
B
-rw-r--r--
2021-06-11 01:35
WhmPluginLogEntry.php
1.99
KB
-rw-r--r--
2021-06-11 01:35
WhmPluginLogger.php
16.3
KB
-rw-r--r--
2021-06-11 01:35
addon_lsws.cgi
565
B
-rw-r--r--
2021-06-11 01:35
autoloader.php
796
B
-rw-r--r--
2021-06-11 01:35
buildtimezone.sh
11.63
KB
-rwxr-xr-x
2021-06-11 01:35
buildtimezone_ea4.sh
4.18
KB
-rwxr-xr-x
2021-06-11 01:35
cPanelInstall.sh
3.94
KB
-rwxr-xr-x
2021-06-11 01:35
cmd_buildmatchingphp.php
2.24
KB
-rw-r--r--
2020-07-02 01:25
cmd_buildmatchingphp.sh
210
B
-rwxr-xr-x
2020-07-02 01:25
index.php
1.73
KB
-rw-r--r--
2021-06-11 01:35
install_lsws_cp.sh
4.09
KB
-rwxr-xr-x
2021-06-11 01:35
lsws.cgi
995
B
-rw-r--r--
2021-06-11 01:35
lsws.conf
222
B
-rw-r--r--
2021-06-11 01:35
lsws.html.tt
1.39
KB
-rw-r--r--
2021-06-11 01:35
lsws_icon.png
1.56
KB
-rwxr-xr-x
2021-06-11 01:35
lsws_whm_plugin_install.sh
12.32
KB
-rwxr-xr-x
2024-10-28 16:02
lsws_whm_plugin_uninstall.sh
1.8
KB
-rwxr-xr-x
2021-06-11 01:35
migrate_ea3_to_ea4_litespeed.sh
8.31
KB
-rwxr-xr-x
2020-07-02 01:25
migrate_ea4_to_ea3_litespeed.sh
2.56
KB
-rwxr-xr-x
2020-07-02 01:25
php.ini
61
B
-rw-r--r--
2021-06-11 01:35
php_build.template
8.18
KB
-rwxr-xr-x
2020-07-02 01:25
webcachemgrBootstrap.php
618
B
-rw-r--r--
2021-06-11 01:35
Save
Rename
#!/bin/sh confpath=/usr/local/lsws/conf function removeLSPHPConf(){ lhn=`grep -n $1 $confpath/httpd_config.xml | cut -f1 -d:` totallines=`wc -l $confpath/httpd_config.xml| cut -f1 -d" "` restlines=$((totallines - lhn)) lineoffset=`tail -n $restlines $confpath/httpd_config.xml | grep -m1 -n "</extProcessor>" | cut -f1 -d:` linestart=$((lhn - 2)) lineend=$((lhn+lineoffset)) sed -i "${linestart},${lineend}d" $confpath/httpd_config.xml } function removeLSPHPHandler(){ lhn=`grep -n $1 $confpath/httpd_config.xml | cut -f1 -d:` totallines=`wc -l $confpath/httpd_config.xml| cut -f1 -d" "` restlines=$((totallines - lhn)) lineoffset=`tail -n $restlines $confpath/httpd_config.xml | grep -m1 -n "</scriptHandler>" | cut -f1 -d:` linestart=$((lhn-1)) lineend=$((lhn+lineoffset)) sed -i "${linestart},${lineend}d" $confpath/httpd_config.xml } #main conversion script #Backup the configuration file now=$(date +"%Y%m%d") yes | cp -p $confpath/httpd_config.xml $confpath/httpd_config.xml.ea4.$now #Detect and remove any EasyApache 3 incompatible configurations if grep -q '<name>lsphp54</name>' $confpath/httpd_config.xml then removeLSPHPConf '<name>lsphp54</name>' fi if grep -q '<name>lsphp55</name>' $confpath/httpd_config.xml then removeLSPHPConf '<name>lsphp55</name>' fi if grep -q '<name>lsphp56</name>' $confpath/httpd_config.xml then removeLSPHPConf '<name>lsphp56</name>' fi if grep -q '<name>lsphp70</name>' $confpath/httpd_config.xml then removeLSPHPConf '<name>lsphp70</name>' fi if grep -q '<name>lsphp71</name>' $confpath/httpd_config.xml then removeLSPHPConf '<name>lsphp71</name>' fi if grep -q '<name>lsphp72</name>' $confpath/httpd_config.xml then removeLSPHPConf '<name>lsphp72</name>' fi #Detect and remove any EasyApache 3 incompatible Handlers if grep -q '<suffix>php54</suffix>' $confpath/httpd_config.xml then removeLSPHPHandler '<suffix>php54</suffix>' fi if grep -q '<suffix>php55</suffix>' $confpath/httpd_config.xml then removeLSPHPHandler '<suffix>php55</suffix>' fi if grep -q '<suffix>php56</suffix>' $confpath/httpd_config.xml then removeLSPHPHandler '<suffix>php56</suffix>' fi if grep -q '<suffix>php70</suffix>' $confpath/httpd_config.xml then removeLSPHPHandler '<suffix>php70</suffix>' fi if grep -q '<suffix>php71</suffix>' $confpath/httpd_config.xml then removeLSPHPHandler '<suffix>php71</suffix>' fi if grep -q '<suffix>php72</suffix>' $confpath/httpd_config.xml then removeLSPHPHandler '<suffix>php72</suffix>' fi #restart LiteSpeed Web Server service lsws restart