pymetasploit3
pymetasploit3 copied to clipboard
check function of MsfModule is overridden.
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.