Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect/report on redirect loops #64

Open
0xdevalias opened this issue Nov 1, 2017 · 1 comment
Open

Detect/report on redirect loops #64

0xdevalias opened this issue Nov 1, 2017 · 1 comment
Assignees
Labels

Comments

@0xdevalias
Copy link
Contributor

0xdevalias commented Nov 1, 2017

Currently, if a redirect loop is hit while using -r then gobuster spins a few times, then returns the following (at least if it's on the initial/base URL):

[-] Unable to connect: https://example.com/somepath/

fmt.Println("[-] Unable to connect:", s.Url)

Looking at my logs, the server is redirecting like so:

301 https://example.com/somepath/
301 https://example.com/somepath
301 https://example.com/somepath/
..etc..

Obviously, if we don't follow redirects with -r this issue won't happen.

This would be interesting to detect on, because in this instance, a non-existent folder will redirect to a 404, whereas an existing folder will enter this redirect loop.

@OJ
Copy link
Owner

OJ commented Nov 1, 2017

ooh! Great catch! This could be the kind of thing that's causing other issues as well.

@OJ OJ self-assigned this Nov 1, 2017
@OJ OJ added the bug label Nov 1, 2017
@OJ OJ added this to the Version 1.4 milestone Nov 1, 2017
@OJ OJ modified the milestones: Version 1.4, Version 1.5 Jan 14, 2018
@OJ OJ removed this from the Version 1.5 milestone Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants