我運行的是 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”命令。但是,當我嘗試執行“顯示模組”命令時,它預計會拋出錯誤。請建議如何修復此問題。
答案1
Recon-ng 創建者在這裡。 Recon-ng 在啟動時載入所有模組。如果依賴項不存在,則模組將無法加載,如上所示。在這種情況下,很可能安裝了依賴項,但 Windows 不支援 Recon-ng,導致所有模組無法加載,並導致這些錯誤。 Recon-ng 僅在基於 Linux 的作業系統上支援。您可以使用 Docker 容器在 Windows 上執行 Recon-ng。