46 Commits
Author SHA1 Message Date
Christian Mehlmauer ce7ba59e04 style fixes 2026-08-30 00:22:16 +02:00
Christian Mehlmauer 1726b88f50 fix some issues 2026-08-30 00:17:45 +02:00
firefart 3203caca01 remove show ips option 2025-05-22 10:24:35 +02:00
firefart 21cfa07a9a support tcp dns servers 2025-05-22 10:17:51 +02:00
firefart d20300cc46 linting 2025-04-01 14:43:51 +02: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 5a3a3921c5 more work 2023-12-21 00:25:57 +01:00
Christian Mehlmauer 1a1e55997e no color on domain 2023-09-06 14:42:37 +02: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 d5aa2efd71 remove found keyword 2023-08-28 20:27:07 +02:00
Christian Mehlmauer b0e8703dcd always remove the dot 2023-08-28 20:15:24 +02:00
Christian Mehlmauer 0ecae40252 better output 2023-08-28 20:12:33 +02:00
Christian Mehlmauer e224f0b276 error handling 2023-08-28 20:04:43 +02:00
Christian Mehlmauer fa605f6a4f rework dns stuff 2023-08-28 19:58:52 +02:00
Christian Mehlmauer ba619dd1be 3.6 2023-08-14 10:17:02 +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 58bde84488 comments 2021-01-05 00:24:43 +01:00
Christian Mehlmauer ba028a03f5 better output 2020-09-01 17:28:43 +02: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 6f0bf489fd spelling and parameter rename 2020-06-20 14:58:27 +02:00
Christian Mehlmauer 1577321686 apply 3.1 changed 2020-05-08 10:59:45 +02:00
Christian Bieg 50ad62a4e3 Changed delay type from int to time.Duration 2019-06-23 14:23:48 +02:00
Christian Bieg c74b522710 Added an option to add a delay to threads 2019-06-22 17:13:17 +02:00
Christian Mehlmauer 96b0948b5a typo 2019-05-24 22:22:26 +02:00
Christian Mehlmauer 631d6b2dfd reintroduce wildcard error messages, see #146 2019-05-24 20:01:26 +02:00
Christian Mehlmauer 6aff466090 better wildcard checking 2019-05-17 14:41:41 +02:00
Christian Mehlmauer a42f51f505 use resultstatus everywhere 2019-05-17 14:01:03 +02:00
Christian Mehlmauer 016db496dd Implement better status checking 2019-03-29 17:23:12 +01:00
Christian Mehlmauer 6a2b40ff86 Cherry-picked the gomodules code from #117
This was cherry-picked from the gomod branch instead of being merged as
a PR for two reasons:

1) The vhost plugin addition isn't yet ready for merging, as there's
   a lot of code duplication.
2) This code can technically be merged as is without the mods to the
   vhost plugin.

When/If we're ready to merge the vhost plugin we'll fix that side up.
2019-01-09 11:17:46 +10:00
OJ a0d23e0ee3 Update version numbers, README, spelling and user agent 2019-01-09 10:48:39 +10:00
Christian Mehlmauer 3551c749bf implement a custom dns resolver 2018-12-11 21:28:18 +01:00
Christian Mehlmauer f899fd06bc use tabwriter for output 2018-12-11 20:58:23 +01:00
Christian Mehlmauer 75859adf83 added newlines 2018-10-02 06:43:23 +02:00
Christian Mehlmauer 02bd114e82 rename for clarity and remove useless test 2018-09-19 19:36:27 +02:00
Christian Mehlmauer 042f4f8fd7 first implementation of cobra 2018-09-19 19:13:22 +02:00
Christian Mehlmauer 8f6dd9f4f9 counter is now word counter 2018-08-30 00:15:09 +02:00
OJ fa3fc6a160 Updated README, THANKS and some error messaging stuff 2018-08-27 12:15:37 +10:00
Christian Mehlmauer 6a487bbed4 replace uuid package 2018-07-11 19:28:38 +02:00
Christian Mehlmauer 308106cf49 first unit tests 2018-07-03 22:32:15 +02:00
Christian Mehlmauer f824ee51ae simplify code by using interfaces 2018-07-03 21:12:43 +02:00
Christian Mehlmauer b4457f382a massive refactoring 2018-05-18 22:20:56 +02:00