Open financialeducation opened 1 year ago
tail ./../logs/framework.log
[11/14/2022 17:38:46] [e(0)] core: Unexpected output running /root/.msf4/modules/auxiliary/scanner/http/microsoft_exchange_server_proxynotshell_ssrf.py: /usr/local/lib/python3.10/dist-packages/requests-2.20.0-py3.10.egg/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.5) or chardet (4.0.0) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
after removing pip uninstall urllib3 this is the error I am getting
/.msf4/modules# tail ./../logs/framework.log from distutils.version import StrictVersion
[11/16/2022 11:57:07] [d(0)] core: HistoryManager.push_context name: :msfconsole [11/16/2022 11:58:25] [d(0)] core: HistoryManager.pop_context name: :msfconsole [11/16/2022 11:58:30] [e(0)] core: Failed to connect to the database: No database YAML file [11/16/2022 11:58:43] [e(0)] core: Unexpected output running /opt/metasploit-framework/embedded/framework/modules/exploits/linux/smtp/haraka.py: /opt/metasploit-framework/embedded/framework/modules/exploits/linux/smtp/haraka.py:14: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import StrictVersion
Msfconsole doesn't recognise the imported auxiliary/scanner/ Here is what I did
https://i.imgur.com/pnXMuz0.png
1) git clone https://github.com/TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell.git 2) cd CVE-2022-41040-metasploit-ProxyNotShell 3) mkdir -p ~/.msf4/modules/auxiliary/scanner/http 4) cp microsoft_exchange_server_proxynotshell_ssrf.py ~/.msf4/modules/auxiliary/scanner/http/ 5) chmod +x ~/.msf4/modules/auxiliary/scanner/http/microsoft_exchange_server_proxynotshell_ssrf.py 6) msfconsole 7) search microsoft_exchange_server_proxynotshell_ssrf [-] No results from search
msf6 > search microsoft exchange