25 Commits
Author SHA1 Message Date
Andrii Kushch da088a54c4 Replace string concatenation in a loop by strings.Builder 2026-01-06 19:20:09 +01:00
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
Christian Mehlmauer 2f636e758c some context changes 2021-02-25 00:35:51 +01:00
firefart 9d3c2c4ee0 forgot one file 2021-01-28 23:39:32 +01:00
firefart 58bde84488 comments 2021-01-05 00:24:43 +01:00
shelld3v 5e51b3fb49 Change the S3 bucket protocol 2020-12-22 11:35:04 +01:00
Christian Mehlmauer 69b02f0287 Implement a custom result object per plugin to get better output options 2020-08-01 12:57:58 +02:00
Christian Mehlmauer aa3f51428c refactor gobusterdir and show correct number of requests, fixes #211 2020-06-20 16:35:28 +02:00
Christian Mehlmauer bf63e54e7e fix missing comments 2020-06-20 14:10:50 +02:00
Christian Mehlmauer 1577321686 apply 3.1 changed 2020-05-08 10:59:45 +02:00