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

Your API key is probably invalid or credits have been exhausted #11

Closed
HenriqueMachado opened this issue Jun 26, 2018 · 8 comments
Closed

Comments

@HenriqueMachado
Copy link

Hi! I just have downloaded DomLink, got a free api key from whoxy and put on domLink.cfg.
When I run domLink i got:

ERROR:root:WHOIS lookup failed, your API key is probably invalid or credits have been exhausted

What I'm missing?

Thanks

@whoot
Copy link
Contributor

whoot commented Aug 8, 2018

You can´t use the Free API key. You have to buy 'API Calls'.

@Oxicode
Copy link

Oxicode commented Aug 11, 2018

+1

@vysecurity
Copy link
Owner

vysecurity commented Aug 12, 2018 via email

@whoot
Copy link
Contributor

whoot commented Aug 28, 2018

Having the same issue now!
Debugging showed, that there must be some issue with the request. I changed the python file in order to output the result of the first request and then exit.

def parse_whois(base_url, domain):
    emails, companies, domains = {}, {}, {domain: False}
    url = '{}&whois={}'.format(base_url, domain)
    content = get(url).json()
    print content 
    exit()
[...]

This is the result:

python2.7 domLink.py -D REDACTED -A REDACTED 
DomLink Domain Discovery Tool
Author: Vincent Yiu (@vysecurity)
Contributors: John Bond (@b4ldr)
https://www.github.com/vysec/DomLink
Version: 0.1.1

{u'status': 0, u'status_reason': u'Whois Retrieval Failed'}

However, if i execute the command manually with wget, I get the whois information back.

EDIT: THIS SEEMS TO BE AN WHOXY ERROR! If you are trying to query domains with two TLDs (e.g. "com.br") Whoxy is not able to produce an output...

@vysecurity
Copy link
Owner

vysecurity commented Aug 28, 2018 via email

@d4sh3r
Copy link

d4sh3r commented Sep 9, 2018

root@cyber:/opt/DomLink# python domLink.py -D domain -o domain.out.txt
DomLink Domain Discovery Tool
Author: Vincent Yiu (@vysecurity)
Contributors: John Bond (@b4ldr)
https://www.github.com/vysec/DomLink
Version: 0.1.1

ERROR:root:WHOIS lookup failed, your API key is probably invalid or credits have been exhausted

Company Names:

Domain Names:

domain.com

Email Addresses:

@vysecurity
Copy link
Owner

vysecurity commented Sep 9, 2018 via email

@spazbg
Copy link

spazbg commented Aug 11, 2020

Hello, I have the same problem with my DomLink...
I have purchased API credits, and when trying the API URL I can get the data, but when I am using domLink.py keeps telling me that I have no credits...
https://i.imgur.com/BH2HW3g.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants