theHarvester
theHarvester copied to clipboard
Convert Shodan to a normal module
How can i add my shodan api to theharvester
i have looked online but cant find any manual
Feature Request or Bug or Other Feature Request | Bug | Other
Describe the feature request or bug or other A clear and concise description of what the bug, feature request, or other request is.
To Reproduce Steps to reproduce the behaviour:
- Run tool like this: '...'
- See error
Expected behaviour A clear and concise description of what you expected to happen.
Screenshots If possible please add screenshots to help explain your problem.
System Information (System that tool is running on):
- OS: [e.g. Windows10]
- Version [e.g. 2.7]
Additional context Add any other context about the problem here.
@stevendemu Adding shodan to the api-keys.yaml is all you need to do they may have changed how their API is strucuted as they severely reduced total number of credits like a year ago. Shodan will be able to get subdomains and I guess provide more info once I get a chance to see what is breaking if anything. So let me know as you should just be able to do python3 theHarvester.py -d uber.com -b bing -l 200 --dns-resolve 1.1.1.1,8.8.8.8 --shodan
Shodan seems broken at the moment. Getting the following error.
[!] An error occurred with Shodan: 'str' object has no attribute 'items'
I will be fixing this soon and allowing for shodan to be used as a normal module to query for domains and possibly revise the scanning IPs found. Keep in mind that Shodan has changed their API rate limits and severely reduced credits used for querying IPs which may mean if that module was fixed using theHarvester just once could use up every query credit depending on how many IPs were found. More information will be put in docstrings, the wiki, or the readme, once this is further investigated/clarified.