8000 GitHub - riza/indextree: Generates the tree of the directory listing page.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

riza/indextree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

indextree

Generates the tree of the directory listing page.

What is indextree actually?

indextree is a tool for analysing and filtering the "directory listing" pages of web servers, as shown in the screenshot below.

Installation

indextree requires go1.22 to install successfully. Run the following command to get the repo -

go install github.com/riza/indextree@latest

Usage

Usage of indextree:
  -b    show banner (default true)
  -d    directory mode: only show matching directories
  -e string
        extensions to filter, example: -e jpg,png,gif
  -f    file mode: only show matching files
  -m string
        match in url, example: -mu admin,login
  -of   show only files
  -t    show tree (default true)
  -u string
        url to parse index
➤ indextree -u http://127.0.0.1/ -e txt,xlsx                                                                                                  git:main
    _           __          __               
   (_)___  ____/ /__  _  __/ /_________  ___ 
  / / __ \/ __  / _ \| |/_/ __/ ___/ _ \/ _ \
 / / / / / /_/ /  __/>  </ /_/ /  /  __/  __/
/_/_/ /_/\__,_/\___/_/|_|\__/_/   \___/\___/ v1.0.5
 
├── http://127.0.0.1/HOME/
├── http://127.0.0.1/secrets/
│   └── http://127.0.0.1/secrets/passwords.xlsx
│   └── http://127.0.0.1/secrets/private_key.txt

Directory Mode & File Mode

You can use directory mode and file mode to focus on specific content:

# Only show directories that match "admin"
➤ indextree -u http://127.0.0.1/ -m admin -d

# Only show files that match "password"
➤ indextree -u http://127.0.0.1/ -m password -f

These modes help you to focus on either directories or files that match your search criteria. The tool also includes protection against infinite loops when scanning recursive directory structures.

Disclaimer

This tool is developed and shared solely for educational and research purposes. The intention behind its creation is to foster learning and exploration within the field of cybersecurity. The tool is not intended for any malicious or illegal activities.

By accessing and using this tool, you agree to use it responsibly and in compliance with all applicable laws and regulations. The developers of this tool shall not be held liable for any misuse or damage caused by its usage.

Please use this tool ethically and responsibly, and only on systems and networks that you have permission to test.

Donate

Buy Me A Coffee

About

Generates the tree of the directory listing page.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0