Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: can't set attribute #27

Open
gnu-like opened this issue Nov 16, 2018 · 1 comment
Open

AttributeError: can't set attribute #27

gnu-like opened this issue Nov 16, 2018 · 1 comment

Comments

@gnu-like
Copy link

>>> 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
@shobhitmittal
Copy link

Mikaayenson@e493c36

The above link solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants