Skip to content

Conversation

@AICDEV
Copy link

@AICDEV AICDEV commented Apr 17, 2025

Hi,
I've changed the implementation to work with new api of dnsdumpster. Major change is to parse the auth_token from response html and get rid of cookies and the csrf token. Also the endpoint changes to api.dnsdumpster

Hope that helps...

Cheers

@AICDEV
Copy link
Author

AICDEV commented Apr 29, 2025

@PaulSec any progress with this pr? Would love to use this package in the future...

@PaulSec
Copy link
Owner

PaulSec commented May 2, 2025

Hello there, I am working on it.
I have pretty odd results.. I will get back to you when I fix it properly.

@AICDEV
Copy link
Author

AICDEV commented May 2, 2025

Hey,
Just let me know if I can support with something

@PaulSec
Copy link
Owner

PaulSec commented May 5, 2025

Can you show me what's your output when you run it with you?
For me, it doesn't clear anything and I just get raised exceptions.

@AICDEV
Copy link
Author

AICDEV commented May 6, 2025

I have debugged a little. If I'am running test_api.py.

I am facing: "err: IndexError('list index out of range')"

Affected code (XLS DATA):
` # XLS hosts.
# eg. tsebo.com-201606131255.xlsx
try:
pattern = r'/static/xls/' + domain + '-[0-9]{12}.xlsx'
xls_url = re.findall(pattern, req.content.decode('utf-8'))[0]
xls_url = 'https://dnsdumpster.com' + xls_url
xls_data = base64.b64encode(self.session.get(xls_url).content)
except Exception as err:
print(err)
xls_data = None
finally:
res['xls_data'] = xls_data

`

But DNS records are set.

Screenshot 2025-05-06 at 16 52 34

@AICDEV
Copy link
Author

AICDEV commented May 9, 2025

@PaulSec guess they have changed the xls path from:

pattern = r'/static/xls/' + domain + '-[0-9]{12}\.xlsx'

to
pattern = r'/static/xlsx/' + domain + '-[0-9]{12}\.xlsx'

@AICDEV
Copy link
Author

AICDEV commented May 9, 2025

@PaulSec I've provided a new comit to address that issues and work with the new xlsx path and also match the newly introduces id's from dumpster.

@AICDEV
Copy link
Author

AICDEV commented Jul 16, 2025

@PaulSec any progress within your review/test?

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

Successfully merging this pull request may close these issues.

2 participants