Describe the feature request or bug or other
When using the -v verbose parameter with brute reverse, a "List index out of range" error occurs. Without the -v parameter the code executes without error. The problem is with line 441 in cli.py when attempting to set the ipaddress variable:
ipaddress = str(ip_list[x])
To Reproducepython3 ./dnsrecon.py -v -r [CIDR/IP range]
Expected behaviour
The -v verbose tag should result in displaying each IP address attempted in reverse DNS PTR query.
Screenshots
When adding the -v (verbose) tag results in "List index out of range" error
System Information (System that tool is running on):
OS: Kali Linux WSL on Windows 11
Version 1.2.0 (latest)
Additional context
Code issue in brute_reverse function in cli.py:
Proposed fix (or what I did to get it to work, without any regression testing):
Feature Request or Bug or Other Bug
Describe the feature request or bug or other When using the -v verbose parameter with brute reverse, a "List index out of range" error occurs. Without the -v parameter the code executes without error. The problem is with line 441 in cli.py when attempting to set the ipaddress variable:
ipaddress = str(ip_list[x])
To Reproduce
python3 ./dnsrecon.py -v -r [CIDR/IP range]
Expected behaviour The -v verbose tag should result in displaying each IP address attempted in reverse DNS PTR query.
Screenshots When adding the -v (verbose) tag results in "List index out of range" error
System Information (System that tool is running on):
Additional context Code issue in brute_reverse function in cli.py:
Proposed fix (or what I did to get it to work, without any regression testing):