View Issue Details

IDProjectCategoryView StatusLast Update
0007520Kali Linux[All Projects] Kali Package Bugpublic2022-03-25 13:58
Reportermohammadhosseinjanatiyan Assigned To 
Status newResolutionopen 
Product Version2021.4 
Target VersionFixed in Version 
Summary0007520: theHarvester tool crashes
Descriptionwhen i run the tool for an IP address which is not present in the tool crashes and won't continue to other IP addresses.
Steps To Reproduceget api-key of and set it in /etc/theHarvester/api-key.yaml
run the tool with this command:
theHarvester -d -b all -s
when it finished the last line of the output show the error and crash. as you can see in the attachments
Additional Informationi have solved this bug by surrounding the code that is related to shodan search by try/except block as you can see in the attach



2021-12-31 18:45


Capture3.JPG (65,203 bytes)
Capture3.JPG (65,203 bytes)
Capture.JPG (41,118 bytes)
Capture.JPG (41,118 bytes)
Capture2.JPG (32,288 bytes)
Capture2.JPG (32,288 bytes)


2021-12-31 18:49

reporter   ~0015593

capture3.jpg is the modification to the code which is in the following directory:
sudo vim /usr/lib/python3/dist-packages/theHarvester/
and the modification has solved the problem

Issue History

Date Modified Username Field Change
2021-12-31 18:45 mohammadhosseinjanatiyan New Issue
2021-12-31 18:45 mohammadhosseinjanatiyan File Added: Capture3.JPG
2021-12-31 18:45 mohammadhosseinjanatiyan File Added: Capture.JPG
2021-12-31 18:45 mohammadhosseinjanatiyan File Added: Capture2.JPG
2021-12-31 18:49 mohammadhosseinjanatiyan Note Added: 0015593
2022-03-25 13:57 g0tmi1k Severity crash => feature
2022-03-25 13:58 g0tmi1k Severity feature => minor