CLICK HERE to read FORUM RULES! |
|
![]() |
|
Thread Tools |
#1
|
|||
|
|||
![]()
INTRO
I've been lurking a bit having fun exploring open directories. I started getting frustrated trying to find wins in big directories. There is a tool out there that will turn an open dir into a gallery (https://opendirviewer.net/) but every url I submitted, it returned an error saying it wasn't an open directory. I cobbled together my own PHP tool that will create a gallery out of an open directory and I am going to share it here. The tool is pretty simple... it downloads the url as text and strips all href links. It then scans each link text to see if it is an image. For all links that are images, it will display a thumbnail of that image. If you use Firefox you can right click the thumbnail and open the full size image in a new tab. SETUP To run this locally you will need to install PHP. ezPHP is the easiest way I have found to do that (https://github.com/marcomilon/ezphp). You will then need to go to your install location and edit php.ini. Next find the following line and remove the semicolon: ;extension=php_openssl.dll Save the file and you are all set with configuration. Next copy the source code text below into notepad and save the file as "index.php" in the public_html directory of your PHP installation. USAGE Run PHP (the ezPHP executable will do this for you). The window will say something like "Open your browser to " and a URL. Copy that URL in your browser and you should see an input box. Paste in the open directory (make sure it ends in a / character. If there is anything after the last / remove it before submitting). Hit submit. You will then see your gallery. IMPROVEMENTS I have a few ideas to improve the tool if anyone has the ability or desire to contribute.
KNOWN ISSUES Some sites will block traffic based on the referrer. I tried spoofing the referrer but couldn't bypass the site security. This was only a problem with one site so far. OTHER TOOLS https://odfinder.github.io/ - cool open directory finder tool PHP CODE Code:
You are not allowed to view this content until you register. |
The Following 4 Users Say Thank You to johnnylongboard For This Useful Post: | ||
#2
|
|||
|
|||
![]()
Don't find a aktive ezPHP download...
![]() |
![]() |
|
|