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

utils.parse_url wrong parsing #2

Open
davinerd opened this issue Nov 29, 2020 · 0 comments
Open

utils.parse_url wrong parsing #2

davinerd opened this issue Nov 29, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@davinerd
Copy link
Owner

python3 brute.py dump --url localhost:5000/graphql
Traceback (most recent call last):
  File "brute.py", line 53, in <module>
    plugin.attack()
  File "/home/dab/my_gitrepos/gql_intruder/plugins/dump/dump.py", line 25, in attack
    f = requests.post(self.GQL_ENDPOINT, headers=utils.set_request_headers(), json={"query": self.introspection_query})
  File "/home/dab/my_gitrepos/gql_intruder/venv/lib/python3.8/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/dab/my_gitrepos/gql_intruder/venv/lib/python3.8/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/dab/my_gitrepos/gql_intruder/venv/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/dab/my_gitrepos/gql_intruder/venv/lib/python3.8/site-packages/requests/sessions.py", line 637, in send
    adapter = self.get_adapter(url=request.url)
  File "/home/dab/my_gitrepos/gql_intruder/venv/lib/python3.8/site-packages/requests/sessions.py", line 730, in get_adapter
    raise InvalidSchema("No connection adapters were found for {!r}".format(url))
requests.exceptions.InvalidSchema: No connection adapters were found for 'localhost://5000/graphql'

@davinerd davinerd added the bug Something isn't working label Nov 29, 2020
@davinerd davinerd self-assigned this Nov 29, 2020
@davinerd davinerd changed the title utils.parse_url wrong parsing utils.parse_url wrong parsing Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant