m0rtem / CloudFail

Utilize misconfigured DNS and old database records to find hidden IP's behind the CloudFlare network
MIT License
2.24k stars 467 forks source link

TypeError: list indices must be integers or slices, not str #30

Closed duzun closed 5 years ago

duzun commented 5 years ago
python3 cloudfail.py -t cdn.duzun.me
There was an error getting results
Traceback (most recent call last):
  File "cloudfail.py", line 285, in <module>
    dnsdumpster(args.target)
  File "cloudfail.py", line 84, in dnsdumpster
    if res['dns_records']['host']:
TypeError: list indices must be integers or slices, not str
m0rtem commented 5 years ago

Hi thanks for reporting,

can you confirm it is resolved in commit https://github.com/m0rtem/CloudFail/commit/a2ac2e075bb10d67d68d72c15309cd6efe4be71e for me please?

duzun commented 5 years ago

Affirmative, fixed! Thanks!

Uonlylivetwice commented 3 years ago

Hi @m0rtem! python3 cloudfail.py -u -t codeby.net [16:28:53] Testing for misconfigured DNS using dnsdumpster... There was an error getting results Traceback (most recent call last): File "/Users/amur/CloudFail/cloudfail.py", line 312, in <module> dnsdumpster(args.target) File "/Users/amur/CloudFail/cloudfail.py", line 86, in dnsdumpster if res['dns_records']['host']: TypeError: list indices must be integers or slices, not str