DanMcInerney / pymetasploit3

Automation library for Metasploit
MIT License
366 stars 93 forks source link

[Suggestion] Add info property to MsfModule #82

Closed scmanjarrez closed 2 years ago

scmanjarrez commented 2 years ago

Hi, What do you think about adding "info" property to MsfModule? Right now, every element of "info" is set as a property, but we don't know exactly what attributes are from the module info because they are prefiltered, the raw information is in self._info which is not accessible. I'm proposing to add a new property returning self._info with the raw information from msfrpc.

    @property
    def info(self):
        """
        Get information about the module
        """
        return self._info
DanMcInerney commented 2 years ago

I think it's a good idea that I'm not going to implement because I don't get to use this project much at work but would very much love a PR that implements it.

scmanjarrez commented 2 years ago

You already merged the PR #83 :sweat_smile:, we can close this issue.