1
1
mirror of https://github.com/OJ/gobuster.git synced 2025-09-23 06:37:40 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Christian Mehlmauer
1e7533c73d fix #567 2025-06-30 11:40:51 +02:00
firefart
d20300cc46 linting 2025-04-01 14:43:51 +02:00
firefart
d250564985 lint 2025-03-24 19:41:36 +01:00
Adam Cammack
02b83910b1
Fix progress with patterns and backup discovery (#548)
* Account for patterns in total tries

Specifying patterns for the word list will no longer cause progress to
go past 100%. Additionally, the GobusterDir transformations for file
extensions and backups will be applied after pattern expansion.

Fixes #405, #480, and #533

* Run backup detection on success only

This is done by re-arranging the code from exiting on channel close to
using the contexts and the results counters to signal the end of work
processing. A little more work is needed to prevent infinite loops
caused by devious services/misconfiguration and to expose to the cli the
ability to have patterns run on successful finds.

Fixes #298

* Prioritize stopping when the context is done

From the Go spec:
> If one or more of the communications can proceed, a single one that
> can proceed is chosen via a uniform pseudo-random selection.

Previously, this meant that some indeterminate amount of work could have
been completed after the context's cancel function had been called.

* Prevent recursion of discovery guess

Successful guesses from the wordlist or a pattern will have discovery
patterns generated based on them and successful discovery guesses will
not. Further processing should require human curation to avoid
automatically generating an unbounded amount of traffic.

Also fixes reading the wordlist from standard in by making it more like
reading from a file now that we have dynamic progress updates.

* Add option for arbitrary discovery patterns

* Test only patterns if provided a pattern file

* Update discover pattern option description
2025-02-19 21:15:54 +01:00
Christian Mehlmauer
171309986e update 2024-08-01 08:09:36 +00:00
Christian Mehlmauer
d46567c609 Add support for network interface selection #45 2024-04-23 09:00:47 +02:00
Christian Mehlmauer
5a3a3921c5 more work 2023-12-21 00:25:57 +01:00
firefart
e4854b209f simplify code 2023-11-19 06:43:37 +01:00
firefart
08f6652cd8 more debugging and fix #460 2023-11-19 06:38:10 +01:00
Christian Mehlmauer
5525215374 add debug output 2023-09-04 01:56:16 +02:00
firefart
849da0294b rename 2023-08-31 18:40:56 +02:00
firefart
e3ed5cb24f no more verbose mode 2023-08-29 20:40:29 +02:00
Christian Mehlmauer
abd72deba9 more user friendly error messages 2023-08-17 08:16:56 +02:00
Christian Mehlmauer
ba619dd1be
3.6 2023-08-14 10:17:02 +02:00
Christian Mehlmauer
b90dd32291
Dev (#362) 2022-10-29 16:34:51 +02:00
Christian Mehlmauer
0a0cab949f
Dev Updates (#305)
* retry on timeout
* Google Cloud Bucket enumeration
* colors in output
* goreleaser
* fix nil reference errors
2022-10-08 18:41:25 +02:00