X7ROOT File Manager
Current Path:
/var/softaculous/litecart
var
/
softaculous
/
litecart
/
ðŸ“
..
ðŸ“
admin
📄
changelog.txt
(10.9 KB)
📄
clone.php
(5.38 KB)
📄
edit.php
(7.08 KB)
📄
edit.xml
(433 B)
📄
extend.php
(8.75 KB)
📄
fileindex.php
(101 B)
ðŸ“
images
📄
import.php
(3.28 KB)
📄
info.xml
(3.09 KB)
📄
install.js
(1.02 KB)
📄
install.php
(10.61 KB)
📄
install.xml
(27.94 KB)
📄
litecart.zip
(1.33 MB)
📄
md5
(2.57 KB)
📄
notes.txt
(1.14 KB)
ðŸ“
php53
ðŸ“
php56
ðŸ“
php71
ðŸ“
php81
ðŸ“
php82
📄
robots.txt
(118 B)
📄
update_pass.php
(497 B)
📄
upgrade.php
(60.46 KB)
📄
upgrade.xml
(990 B)
📄
write_htpass.php
(615 B)
Editing: write_htpass.php
<?php $username = '[[admin_username]]'; $enc_password = '[[encrypted_pass]]'; $htpasswd_file = '[[softpath]]/[[admin_folder]]/.htpasswd'; $htpasswd = file_get_contents($htpasswd_file); if(preg_match('#(?<=^|\r\n|\r|\n)\#*('. preg_quote($username, '#') .'):.*?#', $htpasswd)){ $htpasswd = preg_replace('#(?<=^|\r\n|\r|\n)(\#*'. preg_quote($username, '#') .'):[^\r|\n]+(\r\n?|\n)*#', '$1:{SHA}'. $enc_password . PHP_EOL, $htpasswd); echo '<htpasswd>'.$htpasswd.'</htpasswd>'; } if(is_writable($htpasswd_file)){ $htpasswd = file_put_contents($htpasswd_file, $htpasswd); } @unlink('write_htpass.php'); ?>
Upload File
Create Folder