View Issue Details

IDProjectCategoryView StatusLast Update
0007520Kali Linux[All Projects] Kali Package Bugpublic2021-12-31 18:49
Reportermohammadhosseinjanatiyan Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
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 shodan.io the tool crashes and won't continue to other IP addresses.
Steps To Reproduceget api-key of shodan.io and set it in /etc/theHarvester/api-key.yaml
run the tool with this command:
theHarvester -d google.com -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

Activities

mohammadhosseinjanatiyan

2021-12-31 18:45

reporter  

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)

mohammadhosseinjanatiyan

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/__main__.py
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