Prv8 Shell
Server : Apache
System : Linux ecngx264.inmotionhosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : lonias5 ( 3576)
PHP Version : 7.3.33
Disable Function : NONE
Directory :  /proc/thread-self/root/var/softaculous/dokeos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/var/softaculous/dokeos/.htaccess
###########################################################################################
#change this file to fit your configuration and save it as .htaccess in the courses folder#
###########################################################################################
#dokeos mod rewrite
#comment lines start with # and are not processed

<IfModule mod_rewrite.c>
RewriteEngine On

#rewrite base is the dir dokeos is installed in with trailing slash
RewriteBase [[relativeurl]]/courses/

#do not rewrite on the main dir
#change this path to the path of your main folder
RewriteCond %{REQUEST_URI} !^[[relativeurl]]/main/

#replace nasty ampersands by 3 slashes, we change these back in download.php
RewriteRule ([^/]+)/document/(.*)&(.*)$ $1/document/$2///$3 [N]
#rewrite everything in the document folder of a course to the download script
RewriteRule ([^/]+)/document/(.*)$ [[relativeurl]]/main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L]
</IfModule>

@StableExploit - 2025