首先,我对python的了解是基本的,所以我无法理解修复该问题的库代码
这个库中的问题是https://github.com/DanMcInerney/pymetasploit3它从https://github.com/allfro/pymetasploitpython2更新为python3,并具有新功能
$ python3
Python 3.9.1+ (default, Feb 5 2021, 13:46:56)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pymetasploit3.msfrpc import MsfRpcClient
>>> client = MsfRpcClient('mypassword', port=12345, ssl=True)
>>> exploit = client.modules.use('exploit', 'linux/misc/saltstack_salt_unauth_rce')
当我试着像你上面看到的那样运行代码时,没有响应或错误,它被卡住了很长时间,甚至没有退出
当我尝试任何其他模块时,除了这个linux/misc/saltstack_salt_unauth_rce
:(
我看到另一个类似这样的库,但没有新功能:https://github.com/iCarossio/PyMetasploit_Python3当我试图在其中使用这个模块时linux/misc/saltstack_salt_unauth_rce
它的响应是错误的,我需要使用https://github.com/DanMcInerney/pymetasploit3因为新功能,所以我不能使用PyMetasploit_Python3
即使它比pymetasploit3
工作得更好,请帮助我:)
谢谢
目前没有回答
相关问题 更多 >
编程相关推荐