我运行的是 Python 3.5,但了解到 recon-ng 工具在 Python 2.8 或更低版本上运行。因此,我在 Windows 10 系统上也安装了 Python 2.7.11。我还安装了 recon-ng 附带的 REQUIREMENTS 文件中提到的依赖项。一切都安装正确,但当我使用命令启动 recon-ng 时python27 recon-ng --no-check
,出现以下错误:
[!] Module 'readline' not available. Tab complete disabled.
[!] Module 'C:\Users\vishi\recon-ng\modules\discovery\info_disclosure/cache_snoop' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\discovery\info_disclosure/interesting_files' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\exploitation\injection/command_injector' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\exploitation\injection/xpath_bruter' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\import/csv_file' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\import/list' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\recon\companies-contacts/bing_linkedin_cache' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\recon\companies-contacts/indeed' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\recon\companies-contacts/linkedin_auth' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\recon\companies-contacts\jigsaw/point_usage' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\recon\companies-contacts\jigsaw/purchase_contact' disabled. Dependency required: 'me is not supported.'.
[!] Module 'C:\Users\vishi\recon-ng\modules\recon\companies-contacts\jigsaw/search_contacts' disabled. Dependency required: 'me is not supported.'.....................................
还有更多。
最后,它显示了87 modules disabled
其中存在的模块总数。虽然我最后仍然获得了交互式 shell 并能够执行“help”命令。但是,当我尝试执行“show modules”命令时,它预计会抛出一个错误。请建议如何补救。
答案1
Recon-ng 创建者在这里。Recon-ng 在启动时加载所有模块。如果不存在依赖项,则模块将无法加载,如上所示。在这种情况下,依赖项很可能已安装,但 Windows 不支持 Recon-ng,导致所有模块无法加载,并导致这些错误。Recon-ng 仅在基于 Linux 的操作系统上受支持。您可以使用 Docker 容器在 Windows 上运行 Recon-ng。