Skip to main content

Fuzzy matching HTTP file server with autocomplete and fallback

Project description

🔥 fuzzy-httpserver

A lightweight, zero-dependency Python HTTP file server with fuzzy filename matching and automatic fallback directory listing. Serve files easily without requiring users to know exact filenames — great for red teams, internal tooling, and lazy typing 😎.


🚀 Features

  • 🔍 Fuzzy and prefix-based filename matching
  • 📄 Shows available files when no match is found
  • 🧾 Text-based fallback listing (CLI-friendly)
  • ⚙️ Custom port and directory support
  • ✅ No external dependencies
  • 🐍 Pure Python 3

📦 Installation

Install via pip:

pip install fuzzy-httpserver

🧪 Usage

Serve the current directory on the default port (8000):

fuzzy-httpserver

Serve a specific directory on a custom port:

fuzzy-httpserver -d /opt/tools -p 9001

Example

wget http://<ip>:8000/ligolo-win

Even if the exact file is ligolo-Agent-Windows-amd.exe, it will still serve the file thanks to fuzzy matching. If nothing is found, you’ll get:

[!] File not found. Available files:

- chisel_windows
- payload_generator

Basically the list of files on that server directory


🛠 Command-Line Options

Option Description
-p, --port Port to listen on (default: 8000)
-d, --directory Directory to serve (default: current dir)

🧠 Why?

Sometimes during internal testing, CTFs, or red teaming, we just want to serve files quickly — but can’t remember exact filenames. fuzzy-httpserver saves time by letting you guess loosely.


🧑‍💻 Author & Credits

Built with 💻 and ☕ by PakCyberbot.

🔗 Connect with me:


✨ Contributions Welcome

Want to improve it? Found a bug? PRs and issues are welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fuzzy_httpserver-1.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fuzzy_httpserver-1.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file fuzzy_httpserver-1.1.1.tar.gz.

File metadata

  • Download URL: fuzzy_httpserver-1.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for fuzzy_httpserver-1.1.1.tar.gz
Algorithm Hash digest
SHA256 61d4031d2ad18e4bf9a3e332bcb0cc1a9af155b4e820402be4be23041a558e1e
MD5 82a672f588ce0aa88be05081fe644746
BLAKE2b-256 376add9f027f16eb4cdb526fa36237dd36dda18e3f1adb9dbfbbd0c6ac425042

See more details on using hashes here.

File details

Details for the file fuzzy_httpserver-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fuzzy_httpserver-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a3524ca16541b434ddc871ebd3f21a2ef8f37083f7adf9e5635198f7503048a
MD5 f55353fa9dd7faafd105b2456c645656
BLAKE2b-256 8445b5e2ba3affbaf82b567d44b7033cb4f15f47b9f83ae2d7f2425b178fcf8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page