GithubHelp home page GithubHelp logo

directorylister / directorylister Goto Github PK

View Code? Open in Web Editor NEW
2.1K 70.0 505.0 6.2 MB

πŸ“‚ Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing.

Home Page: https://www.directorylister.com

License: MIT License

PHP 84.89% Makefile 1.28% JavaScript 2.60% HTML 0.19% Shell 0.04% Dockerfile 0.76% SCSS 1.45% Twig 8.78%
directory-lister verify directory-browser php

directorylister's Issues

Google API

I see in the source code, you include Google API.

  • fonts.googleapis.com
  • ajax.googleapis.com

Is it possible to avoid Google API's website connection ?

IE9 - Activated Compatibility Mode = Wrong list display!

Hi,
If IE9 is used to browse then as soon as the IE feature "Compatibility View" is activated the content of the directory is not shown correct.

This was not tested with other IE versions but I assume it goes into the same.

Correct Display with "Compatibility View" disabled:
directorylister_iecompatibilityview_disabled_correct

Incorrect Display with "Compatibility View" enabled:
directorylister_iecompatibilityview_enabled_incorrect

Downloads-Counter and MD5Sum

Hello,

I have an idea - one of them is already implemented on a fork of your script, https://github.com/Obihoernchen/DirectoryLister -the Download Counter. it is good, yeah...but i'd like to have it integrated here. This would be the mist useful feature, but wait, there's more... :)

Another one is the Integration of a Button for MD5Sum Generation -so when the user clicks on a file, it generates a md5sum via AJAX. (just an idea)
OR:
To generate a text file/a config file that stores the MD5Sum.

Great script by the way :)

strange replace folder name 1 - > 0

http://www.oracle-xe.ru/

═════════════════════════════════════════ \FLYLINKDC-SERV\web\oraclexe ═══
x Name β”‚
.. β”‚
1 β”‚
resources β”‚
Test-folder β”‚
.htaccess β”‚
index.php β”‚

http://www.flickr.com/photos/96019675@N02/9526020100/

SECURITY BREACH using ?dir=

I recently came across a security breach today while using this tool on a windows apache server.

You can use it to display any path OUTSIDE of the path the script runs in using the URL, if you know direct paths on the server. For instance, simply adding ?dir=C: to the end of the index.php will display the contents of the C:/ drive, and everything from there! This does not let the user display files in these directories, but seeing the directories themselves is already BAD enough!

Please be sure to patch this in future releases. It should never allow directory listing of parent directories.


Also, a RECOMMENDATION feature:
Would it be possible to run this script on a web-accessible directory, but have it browse files on a directory outside of the web directory? Say, I want to browse C:/My Pictures exclusively through this tool on domain.com/index.php (running your script). So in other words, your script would be a portal to make these files web-accessible.

Thanks!

Markdown Support

Implement the parsing of markdown files on the fly instead of treating them like text.

Sort by date

Add the ability to sort files by modified date.

notice : rawurlencode

Hi sir
i'm using wamp server in windows .
After using the ِDirectory Lister system gives the following message :
" Notice: Use of undefined constant rawurlencode - assumed 'rawurlencode' "
please help me ...
tnx

Parse Error, T_STRING

in default.config.php which you rename to config.php, line 16 reads:

    'download.php,

which doesn't have the closing apostrophe. It will return:

Parse error: syntax error, unexpected 'file_types' (T_STRING), expecting ')' in \resources\config.php on line 20

needs to be changed to:

    'download.php',

Theme System

Implement a theming system similar to the UberGallery theming system.

Integrate Colorbox to browse files

Integrate Colorbox to come up whenever a "readable" file is selected. Also add a "download" button to each line that utilizes Colorbox for viewing.

ERROR: Failed to initialize theme

After installation of v2.0.3 I received this error when accessing my root directory -

ERROR: Failed to initialize theme

Unfortunately, there's no other information. Running XAMPP 1.8.1 (PHP 5.4.7) on Windows 7 Ult. 64-bit

bootstrap pull-right bug

the structure is wrong near the size and modified classes.
the right solution:
span class="file-size pull-right"
span class="file-modified pull-right"

resources/config.php on line 20

Followed your instructions for installation... error occured
Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/content/d/s/c/dscmaster/html/...resources/config.php on line 20
Do I need to alter file type somewhere? I have .3gp in directory

DefaultRoot

I think, it's been a good feature, to add a config parameter, called default root.
In that line u can set the directory.

For example, i made a symlink near the index.php. I want only list this folder. And if i can set that, that would be great :D

Per-directory Reverse Sorting

Add a config option to reverse sort (alphabetically) a directory. Maybe even allow custom sorting per directory with natcase being default.

Missing ' in config.php

I implemented this and I get Parse error: syntax error, unexpected T_STRING, expecting β€˜)’ in /home/content/79/9790479/html/uploads/resources/config.php on line 20

FIX:

edit line 16

β€˜download.php’,

it was missing the β€˜ at the end

FTP access

Hi,

I'm trying to use the Directory Lister to retrieve a listing from an FTP directory to a public directory. The directory is password protected, and I'd like to include the username and password for the 'dir'.

Thanks,

  • Nick

show filesize in MB, instead of KB

I think it might be better if the filesize function uses MB instead of KB, or make it dynamic to the situation (like KB for small file less than 10MB, and GB for a file with more than 1000MB size).

Thanks.

How size file can be download.

i have problem when i will download file over 27M, example i will download file with size 35M, download running and finish , and when i check file just get 27M, and i has try with more 5 different file and different extension.

any information about thats solution.

Thanks u

Google Analytics

Add an easy way to track site analytics via Google Analytics. Make sure to enable file download tracking as an event.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.