Skip to content

Added Shodan Alert API Collector #2618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sebix
Copy link
Member

@sebix sebix commented Jun 19, 2025

Created in cooperation with Malawi CERT

@sebix sebix added feature Indicates new feature requests or new features component: bots labels Jun 19, 2025
@sebix
Copy link
Member Author

sebix commented Jun 19, 2025

test will succeed with #2619

In cooperation with Malawi CERT
raise ValueError("Library 'shodan' is needed but not installed.")

self.set_request_parameters()
if tuple(int(v) for v in pkg_resources.get_distribution("shodan").version.split('.')) <= (1, 8, 1):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Looks like pkg_resources is not imported
  2. It's deprecated anyway, and will be gone soon, please use replacements

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Let's add this check to check method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: bots feature Indicates new feature requests or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants