Skip to content

Commit

Permalink
Change the S3 bucket protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
shelld3v authored and firefart committed Dec 22, 2020
1 parent 0c09324 commit 5e51b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gobusters3/gobusters3.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (s *GobusterS3) Run(word string, resChannel chan<- libgobuster.Result) erro
return nil
}

bucketURL := fmt.Sprintf("http://%s.s3.amazonaws.com/?max-keys=%d", word, s.options.MaxFilesToList)
bucketURL := fmt.Sprintf("https://%s.s3.amazonaws.com/?max-keys=%d", word, s.options.MaxFilesToList)
status, _, _, body, err := s.http.Request(bucketURL, libgobuster.RequestOptions{ReturnBody: true})
if err != nil {
return err
Expand Down

0 comments on commit 5e51b3f

Please sign in to comment.