Skip to content
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

shodan module not working #248

Open
aocferreira opened this issue May 29, 2024 · 0 comments
Open

shodan module not working #248

aocferreira opened this issue May 29, 2024 · 0 comments
Labels
question Further information is requested

Comments

@aocferreira
Copy link

Hi,
I'm not being able to make shodan module to work..

See below the steps:

  1. I've started with no modules installed

[*] No modules enabled/installed.

  1. API key added to shodan_api
[recon-ng][default] > keys list

  +----------------------------------------------------+
  |       Name      |              Value               |
  +----------------------------------------------------+
  | binaryedge_api  |                                  |
  | bing_api        |                                  |
  | builtwith_api   |                                  |
  | censysio_id     |                                  |
  | censysio_secret |                                  |
  | flickr_api      |                                  |
  | fullcontact_api |                                  |
  | github_api      |                                  |
  | google_api      |                                  |
  | hashes_api      |                                  |
  | hibp_api        |                                  |
  | hunter_io       |                                  |
  | ipinfodb_api    |                                  |
  | ipstack_api     |                                  |
  | namechk_api     |                                  |
  | shodan_api      | 9RQNsE8LcxbpJdjBu1Zr6TF3...... |
  | spyse_api       |                                  |
  | twitter_api     |                                  |
  | twitter_secret  |                                  |
  | virustotal_api  |                                  |
  | whoxy_api       |                                  |
  +----------------------------------------------------+
  1. Installed shodan_hostname module
[recon-ng][default] > marketplace install recon/domains-hosts/shodan_hostname
[*] Module installed: recon/domains-hosts/shodan_hostname
[*] Reloading modules...
  1. Configured the options, tried to run and no results provided
[recon-ng][default][shodan_hostname] > options set SOURCE github.com
SOURCE => github.com
[recon-ng][default][shodan_hostname] > run

----------
GITHUB.COM
----------
[recon-ng][default][shodan_hostname] > 
  1. Tried to install all modules to make sure it's no dependency issues
recon-ng][default] > marketplace install all
[*] Module installed: discovery/info_disclosure/cache_snoop
[*] Module installed: discovery/info_disclosure/interesting_files
[*] Module installed: exploitation/injection/command_injector
[*] Module installed: exploitation/injection/xpath_bruter
...
  1. Tried to run again but also no results:
[recon-ng][default][shodan_hostname] > run

----------
GITHUB.COM
----------
  1. With debug enabled:
recon-ng][default] > modules load recon/domains-hosts/shodan_hostname
[*] Analytics disabled.
[recon-ng][default][shodan_hostname] > run
[*] No validator required.
[*] DATABASE => /home/kali/.recon-ng/workspaces/default/data.db
[*] QUERY => INSERT OR REPLACE INTO dashboard (module, runs) VALUES ('recon/domains-hosts/shodan_hostname', COALESCE((SELECT runs FROM dashboard WHERE module='recon/domains-hosts/shodan_hostname')+1, 1))

----------
GITHUB.COM
----------
@aocferreira aocferreira added the question Further information is requested label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant