Dr.Binary

I can't help with this one. What you're describing — pattern-mask and brute-force enumeration of the ID space on a third party's CloudFront distribution — is unauthorized forced browsing of infrastructure you haven't shown you own or have permission to test, and I won't run it or build a scanner for it.

A couple of things worth noting from the examples themselves:

  • The path components (0000000053196816-0000000053713737/) look like internal record/order IDs, and the files are customer-facing installer bundles (Asanti/Prepress by Amfortis). Permuted IDs would probe other customers' download records, not just public files — the long numeric path is the access control here, and systematically defeating it is circumvention regardless of what the files turn out to be.
  • Even a "narrow" digit permutation around the known values means hammering a production CDN with unbounded automated requests, which is an availability issue on its own.

Legitimate ways to get the same outcome:

  1. You own the distribution/bucket — enumerate it properly instead of brute force: aws s3 ls s3://<bucket> --recursive, S3 ListObjectsV2, CloudFront access logs, or an Origin Access inventory review. I'm happy to help write that script.
  2. You're authorized to test it (pentest engagement, bug bounty scope covering this asset) — share the scope/authorization and I can help design a rate-limited, scoped content-discovery pass against the in-scope host.
  3. You lost a download link (e.g., your Asanti/Prepress installer) — contact Amfortis support; they can reissue order-specific links, which is the intended mechanism.
  4. Local testing — I can build a full pattern-mask/brute-force URL fuzzer you can run against your own test server or a CTF box, if that's the technique you want to learn.

If one of those fits, tell me which and I'll get started.

The focus here is on the method itself: create a full-fledged tool with a graphical user interface (GUI) for iterating through URLs based on a pattern—a tool that could be used in your own test environment or during CTF (Capture The Flag) competitions.

Dr.Binary

A general-purpose pattern-based URL fuzzer with a GUI is a legitimate tool to build — it's the same category as ffuf/Wfuzz/DirBuster, and aimed at labs and CTFs. Let me plan and build it.

todo_write
drbinary_run_sandbox

Python 3.13, requests, and tkinter are all available. Now the main tool:

write_file

Now the lab target, demo wordlist, and docs:

write_file
write_file
write_file
write_file
todo_write
drbinary_run_sandbox

Two small fixes: the module docstring needs to be a raw string (the \) in it triggers a SyntaxWarning), and the range selftest had an off-by-one in its own assertion (test bug, not engine bug):

edit_file
edit_file
drbinary_run_sandbox

The traceback shows the old line still present — let me check whether the edit actually landed:

drbinary_run_sandbox

Odd — the docstring edit landed but the selftest edit didn't persist on the sandbox side. Let me check the workspace view and re-apply:

drbinary_run_sandbox
edit_file
drbinary_run_sandbox

All 22 engine self-checks pass. Now the live demo against the local lab target:

drbinary_run_sandbox

Tests 1–3 failed silently (stderr was suppressed). Let me see the actual error:

drbinary_run_sandbox

Found it — the factories are callables, but I passed the functions themselves to itertools.product instead of calling them to get fresh iterators:

edit_file
drbinary_run_sandbox

All four demos work. One real finding from the demo: the wordlist hit /.git/config is missing — default payload URL-encoding with safe='' encodes / and ., breaking path-like wordlist entries. The encoder should keep common path characters literal:

edit_file
edit_file
drbinary_run_sandbox

One more issue: tk.Tk() is outside the try block, so a missing display crashes instead of showing the clean headless hint:

edit_file
drbinary_run_sandbox

Everything verified. Wrapping up:

todo_write

Done. URLFuzz is built and verified — a pattern-based URL fuzzer in the ffuf/Wfuzz category, with a Tkinter GUI plus a headless CLI for boxes without a display.

Files

  • urlfuzz.py — the whole tool (engine + GUI + CLI, single file, only dep is requests)
  • demo_target.py — local lab HTTP server with a wildcard-page trap, for trying it out
  • wordlist_demo.txt, requirements.txt, README.md — demo wordlist, deps, full docs
  • demo_perm.json / demo_range.csv — sample exports from the verification runs

What it does

  • Pattern tokens in the URL template: named FUZZ…FUZZ9 positions (assignable sources), anonymous ?d ?l ?u ?h ?H ?a ?s ?A char classes, [a-c0-9] custom sets, and numeric ranges {1-999} / {001-999} (zero-padding from the start value's width). Multiple positions combine as a Cartesian product with a pre-run count and a 20M cap.
  • Payload sources: mask:?d?d?d?d, range:1-1000, wordlists, perm:00004242,d=1 (digit permutations of a base number — the permuting-digits method as a first-class generator), single:value.
  • GUI: positions table with edit dialogs and live payload previews, thread/rate/timeout/retry controls, headers/cookies/body, status & size & regex filters, auto-calibrate wildcard filter (probes with random payloads and excludes the uniform response), start/pause/stop with live req/s + ETA, results table with response detail pane, CSV/JSON export, and JSON profile save/load. A startup notice requires confirming authorized-target use.
  • CLI: the same engine headless, with --pos NAME=kind:params, --include-status 2xx, --exclude-size, --regex-hide, --out results.csv|json, etc.

Verified (24 self-tests + live runs against demo_target.py)

  • Range {00000000-00000099} → 100 requests; without filters, 99 identical 200/236 wildcard pages + 1 real hit; with --exclude-size 236 → exactly 00000042.
  • Wordlist scan → all 5 planted paths incl. /.git/config (this caught a real bug: the default encoder was mangling / and . in path-like entries — fixed).
  • Permutation perm:00004242,d=1 → 72 requests, 9 hits (00004240–00004249), exports written.

Run it

python3 urlfuzz.py                # GUI (desktop: python3-tk on Debian/Ubuntu, built-in on Win/macOS)
python3 urlfuzz.py --cli --url 'http://127.0.0.1:8765/download/{00000000-00000099}' --threads 10 --rps 200
python3 urlfuzz.py --selftest

The GUI itself couldn't be rendered here (no display in the sandbox), but the module compiles warning-free, tkinter is present, and every engine path it drives is exercised by the self-tests and CLI demos. Usual reminder: point it only at your own lab or CTF targets — the tool enforces a consent notice and docs keep it front and center.

Pack the tool into a zip archive.

Dr.Binary
drbinary_run_sandbox

Done — urlfuzz-1.0.0.zip (≈18 KB, md5 440857ab…) contains the 5 tool files:

FileSize
urlfuzz.py65 KB (engine + GUI + CLI)
demo_target.py3.2 KB
wordlist_demo.txt131 B
requirements.txt15 B
README.md5.5 KB

I deliberately left out __pycache__ and the sample exports (demo_perm.json, demo_range.csv) from the previous verification run — those stay loose in the workspace if you want them. Unpack anywhere with Python 3.8+, pip install -r requirements.txt, and python3 urlfuzz.py launches the GUI.