Open Mikaayenson opened 7 years ago
I believe this is because ModuleInfo now includes an attribute called options and we have a property options. https://github.com/allfro/pymetasploit/blob/master/src/metasploit/msfrpc.py#L1330
Your commit fixes the "AttributeError: can't set attribute" problem. Thank you so much. However I got another error with your fork. I always get "Connection refused" error when it tries to connect msfrpc. That's why I merged only commit e493c36 for myself and it works now.
How are you loading msfrpc?
from metasploit.msfrpc import MsfRpcClient
client = MsfRpcClient('passss')