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

IndexError: list index out of range #25

Closed ghost closed 6 years ago

ghost commented 6 years ago

Testing for misconfigured DNS using dnsdumpster... Traceback (most recent call last): File "cloudfail.py", line 285, in dnsdumpster(args.target) File "cloudfail.py", line 82, in dnsdumpster res = DNSDumpsterAPI(False).search(target) File "/opt/CloudFail/DNSDumpsterAPI.py", line 80, in search res['dns_records']['dns'] = self.retrieve_results(tables[0]) File "/opt/CloudFail/DNSDumpsterAPI.py", line 32, in retrieve_results ip = re.findall(pattern_ip, tds[1].text)[0] IndexError: list index out of range

Have this error

m0rtem commented 6 years ago

Hmm interesting, have not seen this one before.

Possibly related too https://github.com/PaulSec/API-dnsdumpster.com/issues/14 ?

One thing to try is to completely remove CF and reinstall the whole thing again and see if that fixes it?

ghost commented 6 years ago

Another thing I'd like to point out: Updating Crimeflare database... It took about an hour of updating, no result I thought it stopped somewhere, so I had to stop the process then after that I was able to produce the error above ^

Update: I did a reinstall and the update took 1 minute to finish. Everything works now.

m0rtem commented 6 years ago

Thank you very much mate for testing that. I have to be honest, I wrote the update function very quickly and most likely very late at night, it isn't great, very trivial.

Thanks again and glad you got it working in the end.

th3hack3rwiz commented 4 years ago

Another thing I'd like to point out: Updating Crimeflare database... It took about an hour of updating, no result I thought it stopped somewhere, so I had to stop the process then after that I was able to produce the error above ^

Update: I did a reinstall and the update took 1 minute to finish. Everything works now.

How did you update the crimeflare database?