Notes on the open PRs, checked against master 8d65e03
While working on #952 and #953 I kept bumping into older open PRs that touch the same files, so I went through the whole open list and checked each one against master 8d65e03. This is the result, in one place instead of a comment on 69 PRs.
You know your own queue better than I do, and nothing in here is meant as a decision. It is what I could establish with a command or a file, and where I could not establish something I say so. If it is noise, close the issue and I will not file another one.
The order below is by how quickly it is useful, not by PR number.
Three things that break if you press merge
- #750 is a one-character typo fix and it is clean, but the string it fixes is pinned by the characterization goldens, so merging it on its own turns the golden job red. It needs regenerated goldens in the same push.
- #863 does not build any more. It pins
FROM golang:1.23and master needs Go 1.26 since #951, sogo buildinside the container fails. Changing that one line fixes it. - #924 and #894 both rewrite
toCSVand the output templates. If #894 goes first you resolve the same conflict twice.
Six that look safe to close to me
These are the only ones where I could not find anything master is missing. I checked each of them three times from different angles on purpose, once hunk by hunk, once on what the built binary actually does, once on tests and docs, because getting this wrong costs somebody their contribution and leaving a stale PR open costs you one line in a list.
A line you could paste is under each one, so you do not have to write it. Your wording is obviously better than mine, they are just there to save the typing.
#399
Adds a VERSION_APPENDIX constant beside VERSION in pkg/ffuf/const.go and a Version() helper in pkg/ffuf/util.go that concatenates them, then replaces the four direct ffuf.VERSION reads (help.go usage header, main.go -V output,.
Covered by #407.
Looks like this already landed as #407 (fb1be90, 2021-03-04). The same branch was re-submitted
back then and merged, and this one was never closed afterwards. `git log -S"func Version()
string" -- pkg/ffuf/util.go` points at that commit.#686
Adds const Million = 1000000 // pre-compute the value for improved performance to pkg/ffuf/rate.go and swaps the literal 1000000 for Million in the two divisions 1000000 / conf.Rate (NewRateThrottle) and 1000000 / rate.
Covered by 6658343.
Go folds `1000000` at compile time, so giving it a name does not change the generated code and
there is no speed to gain here. The file has also moved to `pkg/engine/rate.go` since #914.
Thanks anyway.#741
Dependabot bump of two indirect deps in go.mod/go.sum only: golang.org/x/net 0.7.0 -> 0.17.0 and golang.org/x/sys 0.5.0 -> 0.13.0, plus the corresponding go.sum hash churn.
Covered by #951, ed490db.
go.mod has been on x/net v0.59.0 and x/sys v0.48.0 since #951 (ed490db), so merging this would
move both of them backwards.#830
Adds a VERSION_APPENDIX constant and a Version() helper in pkg/ffuf, and switches the four ffuf.VERSION readers (help.go, main.go, pkg/output/stdout.go banner, pkg/runner/simple.go User-Agent) to call it, plus one.
Covered by fb1be90, merged as #407.
`Version()` has been in `pkg/ffuf/util.go` since #407 (fb1be90, 2021-03-04), so this one is
already done. #399 is the same branch and is being closed as well.#884
Adds a new file pkg/runner/decompression_handler.go with an exported WrapBody(*http.Response) helper that switches on Content-Encoding and returns a gzip/brotli/flate reader - and it is never called anywhere.
`WrapBody` is added here but nothing calls it, so the diff has no effect as it stands. Master
already decompresses in `pkg/runner/simple.go` before the matchers see the body.#888
Two unrelated things in one diff: (a) bumps the indirect deps golang.org/x/net 0.7.0 -> 0.53.0 and golang.org/x/sys 0.5.0 -> 0.43.0 plus the go directive 1.17 -> 1.25.9, with matching go.sum pruning, motivated by.
Covered by #951, ed490db.
The dependency half is behind master: go.mod has been on x/net v0.59.0 and x/sys v0.48.0 since
#951 (ed490db), so this would move them backwards. The only part not in master is your
CONTRIBUTORS.md line.Two of them come with a footnote, because the reason matters more than the outcome.
#686 is not like the rest. 0 of its 3 hunks are in master, pkg/engine/rate.go:27 still reads ratemicros := 1000000 / conf.Rate, so saying it is already done would be wrong and the author could push back on that with good reason. What holds is that the change has no measurable effect, because Go folds the constant. My first measurement of that was contaminated by different package names in the normalisation and had to be redone from scratch, which is why I am being careful about the wording here.
#888 is not only a dependency bump. Its diff also adds a CONTRIBUTORS.md line for the author, and that single line is the one part of it master does not contain. If you want to keep the credit, say so and I will open it as its own one-liner.
Five I had in that list first and then took out again
ExpandThese five looked closable on the first pass and then did not hold up. I am listing them because the near miss is the useful part: in each case the merged replacement covers less than its title suggests.
#233 looked covered by 571b3397dbf0be600a7140992e8e22ba123def72 (merged PR #522), and 1 of 3 checks disagreed.
Protocol-relative Location header with an explicit port in -u. 571b339's port normalization in pkg/ffuf/response.go:48 is gated on redirectUrl.IsAbs(). A Location of the form //example.com/d/ (a network-path reference, legal per RFC 7231 7.1.2) has an empty Scheme, so IsAbs() is false and it falls through to baseUrl.ResolveReference(redirectUrl), which takes the authority from the Location and therefore drops (or adds) the port. handleDefault's equality check then fails and no recursion job is queued.
#236 looked covered by 717 (commit ca2224c1486058f0ffffabccc23322f641873377), and 3 of 3 checks disagreed.
Encoder discoverability. The -el flag ("List available encoders for use with -w") plus the per-encoder Description() texts, which also document the encoder parameters: pkg/encoder/encoder.go lines 24-25 and 36-46, main.go +135-141, and help.go ExpectedFlags gaining "el" and "ep". Master has no way at all of finding out which encoders exist, there is no flag for it, no README section and no error message that lists them. The second thing is the -ep parameter documentation for b64_nopad, b64_url and urlenc_chars, which describes capabilities pencode does not have.
#757 looked covered by -, and 2 of 3 checks disagreed.
All 5 logical changes of the PR are absent from master (8d65e03) - zero landed. (1) pkg/ffuf/interfaces.go: Title string json:"title"`` on Result - master's struct goes Url -> Duration -> ScraperData -> ResultFile -> Host -> HTMLColor -> Printed, no Title. (2) pkg/ffuf/response.go: regexp import - master imports only net/http, net/url, time. (3) pkg/ffuf/response.go: GetPageTitle() - git grep GetPageTitle origin/master exits 1. (4) pkg/output/stdout.go:425: Title: resp.GetPageTitle() in the Result construction - absent.
#845 looked covered by 920, and 3 of 3 checks disagreed.
The -pausecode and -pausetime hunks, the status code backoff, are missing from master completely. That is the second of the two features named in the PR title and around 130 lines of the diff: a CHANGELOG entry, a README section "### Pausing on error codes", the section registration in help.go, two flags in main.go, Config.PauseCode and Config.PauseTime plus the GeneralOptions counterparts with their defaults and the wiring in optionsparser.go, the Job fields CountPause and PauseTime, incPauseCounter(), the status code classifier in runTask for a single code, a list or a range, and the 55 line CheckPause() together with its call site.
#931 looked covered by 951 (ed490db562a4b0a8e500bae383212faae6384a2e), and 3 of 3 checks disagreed.
- .github/workflows/golangci-lint.yml step ORDER. Master keeps setup-go@v7 (line 14) BEFORE checkout@v7 (line 17). The PR moves checkout before setup-go. Observable behaviour on current master (8d65e03, run 36231355700, job 108374998271, 2026-09-26): "##[warning]Restore cache failed: Dependencies file is not found in /home/runner/work/ffuf/ffuf. Supported file pattern: go.mod" at 08:58:17.4987, 0.2s BEFORE checkout starts at 08:58:17.6987, post-job "Primary key was not generated" -> nothing saved.
Six places where more than one PR wants the same job
ExpandIn none of these six does the strongest candidate fully contain the others. I checked that from three angles each, eighteen passes, and it came back false every single time. So picking one always drops something, usually at least a contributor credit, and I list what per cluster so a closing comment can be honest about it.
Which one you keep is a product call in several of these and not a technical one, so I say where I think the choice is taste rather than dressing it up as a measurement. Where my three angles disagreed with each other I say that too.
Percentage in the progress line
Competing: #343, #825
My reading is that none of them should land in its current shape, 2 of 3 angles agree on that.
The angles did not agree with each other. the landability angle says #343.
What closing the others drops: #825 loses five things, only one of which is worth keeping. 1. The 50-char ASCII bar and 2-decimal precision ([===== ] 30.70% (307/1000) vs #343's integer 100%). This is a nominal loss only: joohoi's CHANGES_REQUESTED on #343 says the line must get SMALLER before anything is added to it, and I measured #825's line at 290 bytes / ~140 visible chars vs master's ~100. #825 goes the wrong way down the exact axis the maintainer named as the blocker. Strip the bar to satisfy him and nothing of #825 is left. 2. moamlrh's CONTRIBUTORS.md line. REAL loss, and it cuts both ways: #343 touches one file only (gh api .../pulls/343/files → pkg/output/stdout.go) and pry0cc is NOT in master's CONTRIBUTORS.md either.
Dockerfile
Competing: #673, #863
My reading is that #863 is the one to keep, 2 of 3 angles agree. Your call either way.
The angles did not agree with each other. the coverage angle says none of them.
What closing the others drops: Closing #673 loses four things #863 does not contain. (1) The CONTRIBUTORS.md line * [gtrrnr](https://github.com/gtrrnr) (673's CONTRIBUTORS.md hunk), #863 adds only * [Reza Rasoulzade](https://github.com/rzarslzde), and git grep -i gtrrnr up/master -- CONTRIBUTORS.md returns nothing, so the attribution is lost outright. (2) bind-tools in the runtime image (673 Dockerfile line 6: RUN apk add --no-cache bind-tools ca-certificates), #863 Dockerfile line 7 installs only ca-certificates. Proven: docker run --rm --entrypoint sh ffuf-pr673 -c 'dig -v' -> "DiG 9.18.31", the same probe on the 863 image -> "dig ABSENT". dig/nslookup/host inside the container matter for ffuf's vhost and DNS workflows.
Progress line on a narrow terminal
Competing: #278, #893
My reading is that #893 is the one to keep, 3 of 3 angles agree. Your call either way.
What closing the others drops: Closing #278 loses eight things #893 does not contain. 1. CONTRIBUTORS.md line * [Sam-Lane](https://github.com/Sam-Lane). #893 adds no CONTRIBUTORS entry at all, master has neither name (grep -n "Sam-Lane\|ChrisJr404" CONTRIBUTORS.md → no hits, only SakiiR:48/seblw:49). joohoi explicitly asked Sam-Lane for this on 2020-09-21. 2. Public config surface: TerminalWidth int \json:"terminal_width"`in pkg/ffuf/config.go, so width appears in the config JSON dump. #893 keeps width entirely private inside pkg/output. 3. Exported helpersffuf.SizeofTTY() (int,int,error)andffuf.Percent(current,total int) float32in pkg/ffuf/util.go, reusable by other packages. #893'sterminalWidth() int` is unexported and package-local (pkg/output/termsize.go). 4. The percentage metric.
Recursion gated on a status code
Competing: #416, #693
My reading is that none of them should land in its current shape, 3 of 3 angles agree on that.
What closing the others drops: #416 (-recursion-on-code, DeviousStoat, 1 commit, +30/-3, 5 files) - closing loses: (a) RANGE SYNTAX for the code set. It parses each comma-separated value with ValueRangeFromString, so -recursion-on-code 300-399 and 200-299,403 work. Proven with a built binary: -u http://127.0.0.1:18416/FUZZ -w words -recursion -recursion-depth 2 -recursion-on-code 300-399 printed "[INFO] Adding a new job to the queue: http://127.0.0.1:18416/admin/FUZZ". #693 cannot express that at all: -recursion-status 400-499 dies with "Encountered error(s): multiIntFlag int conversion error" because multiIntFlag.Set only does strconv.Atoi per comma element (main.go:44-56 of the PR). (b) The flag name -recursion-on-code and json key recursion_on_code.
The dead codingo.io link on README line 48
Competing: #854, #858, #872, #876, #880, #886
My reading is that #858 is the one to keep, 2 of 3 angles agree. Your call either way.
The angles did not agree with each other. the coverage angle says #854.
What closing the others drops: #872 (breadtk): nothing. Patch is byte-identical to #854 (same sha256 4507dfc9820d908e53cffa69187d3912886364d88c0d24c4539a9ea799a12e1b, diff prints no lines). Only the contributor credit is lost. #876 (0xAryan): nothing. Byte-identical patch, same sha256. Only credit. #880 (0xAryan): nothing. Byte-identical patch, same sha256 - and it is a self-duplicate of the same author's #876 opened a month later (head d65da8e vs 32ad703, branches patch-1 vs patch-2). This one should close regardless of which keeper is chosen. #886 (0xlakshan): nothing in the diff. Byte-identical patch, same sha256.
The external mutator README example
Competing: #891, #947
My reading is that #891 is the one to keep, 2 of 3 angles agree. Your call either way.
The angles did not agree with each other. the landability angle says #947.
What closing the others drops: #947 loses three things, none of which #891 contains: 1. A CHANGELOG.md line. #947 adds one line under master > Changed ("Fix the second "external mutator" README example missing the FUZZ keyword..."). #891 touches only README.md and CONTRIBUTORS.md, no CHANGELOG at all. CONTRIBUTING.md:40 explicitly requires "a short entry describing your change to CHANGELOG.md under the master" section, so closing #947 in favour of #891 means the maintainer has to write that line himself. Local master commit cf6c85c "Add a changelog entry" shows he already does this routinely. 2. A CONTRIBUTORS.md line for a different person: * [satanonsteroids2024-zzz](https://github.com/satanonsteroids2024-zzz), inserted between SakiiR (line 48) and seblw (line 49).
Nine that could go in, and what each one still needs
Expand- #597: Changes exactly one line in /home/kali/dev/ffuf/LICENSE: "Copyright (c) 2021 Joona Hoikkala" becomes "Copyright (c) 2021-present Joona Hoikk Merge it, but first consider amending the line to "Copyright (c) 2018-present Joona Hoikkala" - the license was added in 2018 (commit 9a10389) and the start year only reads 2021 because earlier bumps overwrote it instead of forming a range, maintainer_can_modify is true, so you.
- #599: One-character README edit: appends
.gitto the clone URL on line 35, turninggit clone https://github.com/ffuf/ffufintogit clone http Close it as not-needed, with one line: the clone URL without.gitrequires no credentials (verified anonymously against github.com/ffuf/ffuf), so the PR fixes nothing - or, if you simply prefer the canonical.git` form in the README, merge it as-is since it is clean and. - #750: Fixes one misspelling in the Multierror error string:
"%d errors occured.\n"->"%d errors occurred.\n"in pkg/ffuf/multierror.go:23. Th Land the fix, but do not merge the PR button-as-is: it turns CI red. Either merge it and immediately commit regenerated goldens (go test -run Characterization -update-golden ., which rewrites testdata/config_error_missing_url.golden and. - #775: Adds 6 lines to README.md in the "POST data fuzzing" section: one sentence stating that ffuf does not set the
Content-Typeheader and that Merge it, but ask the author (or fix on merge) to drop the backslash from\&in both the new and the pre-existing POST example, since-d "a\&b=FUZZ"demonstrably sends a literal backslash in the body, and add the CHANGELOG entry the PR body left unchecked. - #835: Replaces the
BANNER_HEADERASCII-art constant inpkg/output/stdout.go(7 lines swapped for 6) so the two "F" glyphs get proper top bars Merge it as-is - joohoi's single stated condition (add yourself to CONTRIBUTORS.md) is already satisfied in the diff and the PR is mergeable clean, if you want the two cosmetic nits fixed first, the CONTRIBUTORS entry useshttp://github.com/thezakmanwhere every other line. - #844: Adds one field,
QueryAttr string \json:"query_attr"`, toScraperRuleand branchescheckQueryon it: when set, atype: "query"scra Land it with three fixes the maintainer can make himself without waiting on the author (the author has been silent since 2025-05-19): run gofmt on the struct field, move the CHANGELOG line from the v2.2.0 section up under- master` and fix "funcionality" → "functionality", and. - #854: Changes exactly one line in README.md (line 48): swaps the dead guide URL https://codingo.io/tools/ffuf/bounty/2020/09/17/everything-you-nee Merge #854 (the earliest of six identical-intent PRs), then close #872, #876, #880 and #886 as duplicates of it and #858 as a variant - after deciding whether you prefer #858's shorter https://codingo.com/ffuf over the dated /posts/ path, since I could not fetch either URL to.
- #863: Adds a 13-line multi-stage Dockerfile (golang:1.23 builder, CGO_ENABLED=0, -trimpath/-s -w, into alpine:3.20 with ca-certificates, OCI label
Keep it, but do not merge as-is: it fails at
go buildin the container - bumpFROM golang:1.23togolang:1.26(orgolang:1-alpine), drop.gitfrom .dockerignore so the image reportsgit-<date>-<hash>instead of0.0.0-dev, move the CHANGELOG line back under `-. - #924: Makes the CSV/HTML/Markdown file writers emit payload values in the same keyword order the header row is built from (
config.InputProvidersMerge it (optionally asking the author for a CHANGELOG.md "Changed" line and a CONTRIBUTORS.md entry first, and merging it before #894 since #894 rewrites the sametoCSV/template lines and would otherwise need the same fix reapplied).
Why a rebase will not bring most of the older ones back
ExpandThis is the part I did not expect to find, and it is the reason I am writing one issue instead of pinging thirty authors.
I counted which merged commits the individual findings keep naming as the reason a branch no longer applies:
#904 declarative flag registry named in 30 findings
#914 pkg/ffuf split into kernel and engine named in 17 findings
#951 Go floor and dependencies named in 13 findings
#910 testable assembly seam named in 7 findings
#912 structural refactor named in 2 findings#904 moved flag registration onto struct tags and #914 split pkg/ffuf, so a PR that adds a flag or touches job.go now patches files that are not there any more. That is nobody's fault and the refactors were clearly the right call, but it does change what asking for a rebase can achieve: 18 of the 69 findings say the change has to b
Source: ffuf/ffuf