[root@localhost ~]# python3
Python 3.5.5 (default, Dec 5 2019, 17:06:29)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
from pymetasploit3.msfrpc import MsfRpcClient
Traceback (most recent call last):
File "", line 1, in
File "/root/.local/lib/python3.5/site-packages/pymetasploit3/msfrpc.py", line 1798
out = self.run_with_output(f'load {plugin}', end_strs)
^
SyntaxError: invalid syntax
[root@localhost ~]# python3 Python 3.5.5 (default, Dec 5 2019, 17:06:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux Type "help", "copyright", "credits" or "license" for more information.