Skip to content

Custom provider with vhost address style does not work #242

Description

@sa7mon

Steps to reproduce

  1. Spin up the dev mitm docker compose profile
  2. Edit config.yml to be:
providers:
  custom:
    insecure: true
    endpoint_format: "https://$REGION.linodeobjects.com"
    regions:
      - "fr-par-1"
    address_style: "vhost"
  1. Scan any single bucket: go run main.go -provider custom -bucket google.com
  2. Observe the requests listed in mitmproxy are being sent to https://fr-par-1.linodeobjects.com instead of https://google.com.fr-par-1.linodeobjects.com

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions