View Issue Details

IDProjectCategoryView StatusLast Update
0006794Kali Linux[All Projects] Tool Upgrade Requestpublic2020-10-29 13:18
Reporterjmg Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2020.3 
Target VersionFixed in Version 
Summary0006794: dnsrecon needs to be updated to latest in Kali's apt repo
DescriptionThe current version of "dnsrecon" installed from Kali's apt repository produces the error below when running any zone transfer. This happens in Kali 2020.3. Installing the latest dnsrecon directly from GitHub fixes the issue, so it needs to be updated in the apt repository, please. The repository is here: https://github.com/darkoperator/dnsrecon.git
---------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/dnsrecon/lib/dnshelper.py", line 429, in zone_transfer
    zone = self.from_wire(dns.query.xfr(ns_srv, self._domain))
  File "/usr/share/dnsrecon/lib/dnshelper.py", line 378, in from_wire
    rd.choose_relativity(z.origin, relativize)
AttributeError: 'SOA' object has no attribute 'choose_relativity'
---------------------------------------------------------------------------------------------------------
Steps To Reproduce1. Install dnsrecon from apt:
$ sudo apt install dnsrecon

2. Run a command:
$ ./dnsrecon.py -d megacorpone.com -t axfr

3. Observe the error:
AttributeError: 'SOA' object has no attribute 'choose_relativity'
Additional InformationThe workaround for me was to install the latest version from GitHub and run it locally.

$ git clone https://github.com/darkoperator/dnsrecon.git
$ cd dnsrecon
$ ./dnsrecon.py -d megacorpone.com -t axfr

Activities

sbrun

2020-10-29 13:18

manager   ~0013597

fixed in version 0.9.1+git20200921-1

Issue History

Date Modified Username Field Change
2020-10-21 03:41 jmg New Issue
2020-10-21 03:41 jmg Status new => assigned
2020-10-21 03:41 jmg Assigned To => sbrun
2020-10-29 13:18 sbrun Status assigned => resolved
2020-10-29 13:18 sbrun Resolution open => fixed
2020-10-29 13:18 sbrun Note Added: 0013597
2021-05-31 13:37 rhertzog Category Tool Upgrade => Tool Upgrade Request