From 85cf6e309f5732fb6a451ab89b9a3d2f80aff9e1 Mon Sep 17 00:00:00 2001 From: Clortox Date: Mon, 8 Mar 2021 15:18:28 -0500 Subject: [PATCH] Add javascript for hidden folders --- index.php | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 29fc2c7..67b7d52 100644 --- a/index.php +++ b/index.php @@ -18,6 +18,20 @@ <?php echo $site_name ?> + + The server admin has enabled javascript. Type the name and key and hit enter!

'; + echo <<< javascriptbox +

The server admin has enabled javascript. Type the name and password and click Goto Folder!

+
+ Folder Name:  + Password :  + +
+ + javascriptbox; } else { - echo '

The server admin has disabled javascript. Please type the link in the URL and replace <name> with the directory name, and <password> with the password

'; + echo '

The server admin has disabled javascript, therefore this is not dynamic. Please type the link in the URL and replace <name> with the directory name, and <password> with the password

'; echo '

The link to copy is:

'; - echo $_SERVER['HTTP_HOST']; - + echo $_SERVER['HTTP_HOST'] . "/hiddenlisting.php?folder=<name>&psk=<password>"; }