freegeoip is giving keyError

Issue #290 resolved
Lucifer Morningstar
created an issue

[!] KeyError: 'city'

File "/usr/share/recon-ng/modules/recon/hosts-hosts/", line 28, in module_run.

the 28 line of is

region = ', '.join([str(jsonobj[x]).title() for x in ['city', 'region_name'] if jsonobj[x]]) or None

Comments (5)

  1. Tim Tomes repo owner

    Removed the google_site_api module due to the API no longer being supported. Resolves issue #245.

    Removed the freegeoip module due to the resource no longer being available. Resolves issue #290.

    Added the ipstack module to replace the previously removed freegeoip module. Resolves issue #289.

    Updated the geocoding modules to work with changes to the API. Resolves issue #292.

    Added virustotal hostname extractor modules.

    Updated the shebangs to specify Python 2 as recommended by PEP-0394.

    Updated the csv reporting module to allow including a header row.

    Fixed ^D for navigation.

    Updated the full name parsing logic in the bing_linkedin_cache module to account for changes in formatting.

    Minor cleanup of white space in the core framework module.

    → <<cset 93bb9a4fb50b>>

  2. Log in to comment