FeeiCN / ESD

Enumeration sub domains(枚举子域名)
https://yuque.com/esd
GNU General Public License v3.0
1.06k stars 161 forks source link

DNS域传送检测时,dns.query.xfr参数类型错误 #89

Closed BlBana closed 3 years ago

BlBana commented 5 years ago

https://github.com/FeeiCN/ESD/blob/116ff701ca543074f9f47b5b1fd09b5db527d977/ESD/__init__.py#L161-L163

传入参数 ns_addrAnswer object类型,dns.zone.from_xfr调用时会出现异常

TypeError: str, bytes or bytearray expected, not Answer

修改 ns_addrns_addr.rrset.items[0].address解决异常情况