We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot exit normally after creating MsfRpcConsole
from pymetasploit3.msfrpc import MsfRpcClient from pymetasploit3.msfconsole import MsfRpcConsole client = MsfRpcClient("123456", port=55553) console = MsfRpcConsole(client, cb=None)
exit normally
Cannot exit normally, never stops running!
$ python3 Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
from pymetasploit3.msfrpc import MsfRpcClient from pymetasploit3.msfconsole import MsfRpcConsole client = MsfRpcClient("123456", port=55553) console = MsfRpcConsole(client, cb=None) _ _ / \ /\ __ _ __ // __ | |\ / | _____ \ \ ___ _____ | | / \ _ \ | | /| | | \ |- -| /\ / \ | -/ | || | || | |- -| || | | | | | | / -\ __\ \ | | | | _/| | | |_ |/ |_/ _/ /\ \/ / _| |\ ___\
=[ metasploit v6.0.1-dev-1663bf3184 ]
Metasploit tip: Metasploit can be configured at startup, see msfconsole --help to learn more
exit() ^CException ignored in: <module 'threading' from '/usr/lib/python3.6/threading.py'> Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 1294, in _shutdown t.join() File "/usr/lib/python3.6/threading.py", line 1056, in join self._wait_for_tstate_lock() File "/usr/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock elif lock.acquire(block, timeout): KeyboardInterrupt
The text was updated successfully, but these errors were encountered:
Hi, did you found any solution for this?
Sorry, something went wrong.
No branches or pull requests
Description:
Cannot exit normally after creating MsfRpcConsole
Test script:
from pymetasploit3.msfrpc import MsfRpcClient
from pymetasploit3.msfconsole import MsfRpcConsole
client = MsfRpcClient("123456", port=55553)
console = MsfRpcConsole(client, cb=None)
Expected result:
exit normally
Actual result:
Cannot exit normally, never stops running!
$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Metasploit tip: Metasploit can be configured at startup, see msfconsole --help to learn more
The text was updated successfully, but these errors were encountered: