achillean / shodan-python

The official Python library for Shodan
https://developer.shodan.io
Other
2.51k stars 569 forks source link

Add input validation to shodan convert command #204

Open rmhowe425 opened 12 months ago

rmhowe425 commented 12 months ago

Issue

As shown in #203, currently the shodan convert command only supports converting .json.gz files to one of the supported file types listed in the CLI help menu.

There are currently no guardrails in place that would prevent a user from converting a file type other than .json.gz to any file type.

Enhancement

I am proposing the following: