pymetasploit3 icon indicating copy to clipboard operation
pymetasploit3 copied to clipboard

check function of MsfModule is overridden.

Open AngelouDi opened this issue 1 year ago • 0 comments

exploit = client.modules.use('exploit', 'exploit/multi/http/apache_normalize_path_rce')
exploit.check()

returns TypeError: 'bool' object is not callable.

Current solution is to call it like so:

MsfModule.check.__get__(exploit, MsfModule)()

Not sure what causes it, changing the name of the function check to something else fixes it. Will look deeper into that if I have time.

AngelouDi avatar Dec 28 '24 14:12 AngelouDi