allfro / pymetasploit

A full-fledged msfrpc library for Metasploit framework.
297 stars 141 forks source link

import MsfRpcClient Prompt for grammatical errors #34

Open ShiZiLaiXi opened 3 years ago

ShiZiLaiXi commented 3 years ago

[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