Home

Awesome

EvilTree

Python 3.x License <img src="https://img.shields.io/badge/Maintained%3F-Yes-96c40f"> Linux Windows

A standalone python3 remake of the classic "tree" command with the additional feature of searching for user provided keywords/regex in files, highlighting those that contain matches. Created for two main reasons:

<!-- <a href="https://twitter.com/intent/tweet?text=A%20standalone%20python3%20remake%20of%20the%20classic%20%22tree%22%20command%20with%20the%20additional%20feature%20of%20searching%20for%20user%20provided%20keywords%2Fregex%20in%20files%2C%20highlighting%20those%20that%20contain%20matches.&url=https://github.com/t3l3machus/eviltree&via=t3l3machus&hashtags=cybersecurity,pentesting,redteaming,hacking,github" target="_blank"> <img alt="Tweet" height="22px" src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social"> </a> -->

Usage Examples

Example #1: Running a regex that essentially matches strings similar to: password = something against /var/www

image

Example #2: Using comma separated keywords instead of regex:

image
Disclaimer: Only tested on Windows 10 Pro.

Quick commands

python3 eviltree.py -r C:\xampp -k password,passwd,admin -i -v -q 
python3 eviltree.py -r /var/www -x ".{0,3}passw.{0,3}[=]{1}.{0,18}" -i -v -q -L 3
python3 eviltree.py -r / -x ".{0,3}passw.{0,3}[=]{1}.{0,18}" -i -v -q -A -f -L 3

Further Options & Usage Tips

Notable features:

image

Useful keywords/regex patterns