Comments (6)
Could you provide the command you ran to get that exception?
from fierce.
Traceback (most recent call last):
File "./fierce.py", line 238, in
main()
File "./fierce.py", line 235, in main
fierce(**vars(args))
File "./fierce.py", line 167, in fierce
ip = ipaddress.IPv4Address(record[0].address)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/resolver.py", line 192, in getitem
return self.rrset[i]
TypeError: 'NoneType' object is not subscriptable
from fierce.
Again, if you could provide the command you ran to get this exception it would be helpful.
Also, this appears to be a separate issue, despite the exception being the same.
from fierce.
@mschwager same to me. the command info as following:
~/downloads/fierce # python3 fierce.py --domain baidu.com --subdomains accounts admin ads
NS: ns7.baidu.com. dns.baidu.com. ns2.baidu.com. ns4.baidu.com. ns3.baidu.com.
SOA: dns.baidu.com. (202.108.22.220)
Zone: failure
Wildcard: success
Found: accounts.baidu.com. (10.11.252.74)
Nearby:
Traceback (most recent call last):
File "fierce.py", line 301, in
main()
File "fierce.py", line 298, in main
fierce(**vars(args))
File "fierce.py", line 246, in fierce
find_nearby(resolver, ips, filter_func=filter_func)
File "fierce.py", line 162, in find_nearby
pprint.pprint({k: v[0].to_text() for k, v in reversed_ips.items()})
File "fierce.py", line 162, in
pprint.pprint({k: v[0].to_text() for k, v in reversed_ips.items()})
File "/usr/lib/python3.4/site-packages/dns/resolver.py", line 192, in getitem
return self.rrset[i]
TypeError: 'NoneType' object is not subscriptable
from fierce.
Unfortunately I wasn't able to reproduce with the same command. However, after some digging I think I found the issue. I believe 8a51568 should fix it. Can you confirm @yangyangwithgnu or @hollow1?
from fierce.
@mschwager I am experiencing this error when attempting to enumerate sub-subdomains. For example
--domain "anything.google.com"
Will throw the error.
from fierce.
Related Issues (20)
- Socket errors with --connect option HOT 1
- Doen't work with cloudflare DNS HOT 3
- ConnectionRefusedError: [Errno 111] Connection refused HOT 1
- NoneType issues when using DNS file HOT 3
- Problem for two subdomains separated by dot with --subdomain-file HOT 3
- Problem with subdomains and wildcard failure HOT 1
- `dns.name.EmptyLabel` stack trace HOT 4
- Timeout from DNS resolver crashes program HOT 3
- Timeout during AXFR HOT 1
- Homebrew formula? HOT 3
- FileNotFoundError: [Errno 2] No such file or directory: 'default.txt' HOT 26
- Zone transfer error: REFUSED / NOTAUTH HOT 5
- Traverse expander breaks on IP addresses close to zero HOT 4
- Zone: failure & Wildcard: failure
- Allow later dnspython releases
- problem using fierce against an internal DNS
- Pull
- Zone transfert not working when DNS is badly configured
- TypeError: 'float' object cannot be interpreted as an integer HOT 2
- File 'lists/default.txt' missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fierce.