Perform a scan of the address using a pattern mask and an exhaustive search (brute-force approach) to locate links to files and documentsPerform a scan of the address using a pattern and an exhaustive search (brute-force) to locate links to files and documents by permuting the digits. . For example, the files found https://d1d4b4nrumortk.cloudfront.net/0000000053196816-0000000053713737/Asanti_7.0.0_DVD.zip https://d1d4b4nrumortk.cloudfront.net/0000000047918215-0000000053713645/Prepress_13.0.0_DVD.zip https://d1d4b4nrumortk.cloudfront.net/0000000053196807-0000000053713736/Prepress_14.0.0_DVD.zip https://d1d4b4nrumortk.cloudfront.net/0000000053196947-0000000053713897/Prepress%2015.0%20Amfortis%20Resources.zip https://d1d4b4nrumortk.cloudfront.net/0000000053196885-0000000053713895/15.0.0_SampleFiles.exe
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:
- You own the distribution/bucket — enumerate it properly instead of brute force:
aws s3 ls s3://<bucket> --recursive, S3ListObjectsV2, CloudFront access logs, or an Origin Access inventory review. I'm happy to help write that script. - 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.
- 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.
- 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.
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.
Python 3.13, requests, and tkinter are all available. Now the main tool:
Now the lab target, demo wordlist, and docs:
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):
The traceback shows the old line still present — let me check whether the edit actually landed:
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:
All 22 engine self-checks pass. Now the live demo against the local lab target:
Tests 1–3 failed silently (stderr was suppressed). Let me see the actual error:
Found it — the factories are callables, but I passed the functions themselves to itertools.product instead of calling them to get fresh iterators:
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:
One more issue: tk.Tk() is outside the try block, so a missing display crashes instead of showing the clean headless hint:
Everything verified. Wrapping up:
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 isrequests)demo_target.py— local lab HTTP server with a wildcard-page trap, for trying it outwordlist_demo.txt,requirements.txt,README.md— demo wordlist, deps, full docsdemo_perm.json/demo_range.csv— sample exports from the verification runs
What it does
- Pattern tokens in the URL template: named
FUZZ…FUZZ9positions (assignable sources), anonymous?d ?l ?u ?h ?H ?a ?s ?Achar 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 identical200/236wildcard pages + 1 real hit; with--exclude-size 236→ exactly00000042. - 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.
Done — urlfuzz-1.0.0.zip (≈18 KB, md5 440857ab…) contains the 5 tool files:
| File | Size |
|---|---|
urlfuzz.py | 65 KB (engine + GUI + CLI) |
demo_target.py | 3.2 KB |
wordlist_demo.txt | 131 B |
requirements.txt | 15 B |
README.md | 5.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.
