Skip to content

AttributeError: can't set attribute #27

@gnu-like

Description

@gnu-like
>>> exploit = client.modules.use('exploit', 'multi/handler')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/metasploit/msfrpc.py", line 1660, in use
    Mandatory Arguments:
  File "/usr/local/lib/python2.7/dist-packages/metasploit/msfrpc.py", line 1485, in __init__
    Mandatory Arguments:
  File "/usr/local/lib/python2.7/dist-packages/metasploit/msfrpc.py", line 1326, in __init__
    "runoptions"]
AttributeError: can't set attribute
>>> exploit = client.modules.use('exploit', 'multi/handler')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/metasploit/msfrpc.py", line 1660, in use
    return ExploitModule(self.rpc, mname)
  File "/usr/local/lib/python2.7/dist-packages/metasploit/msfrpc.py", line 1485, in __init__
    super(ExploitModule, self).__init__(rpc, 'exploit', exploit)
  File "/usr/local/lib/python2.7/dist-packages/metasploit/msfrpc.py", line 1326, in __init__
    setattr(self, k, self._info.get(k))
AttributeError: can't set attribute

there is:

>>> print client.modules.exploits[329]
multi/handler

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions