You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8040
* Running on http://172.17.0.2:8040
testing connecting with msfrpc client works fine.
> msfrpc -U admin -P admin -a 127.0.0.1 -S
[*] The 'rpc' object holds the RPC client interface
[*] Use rpc.call('group.command') to make RPC calls
>>
just that when I run shennina.py the msfrpc connection failed.
Traceback (most recent call last):
File "/home/kali/py3.9/lib/python3.9/site-packages/pymetasploit3/msfrpc.py", line 218, in login
if auth['result'] == 'success':
KeyError: 'result'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/shennina/rpc_test.py", line 4, in <module>
client = MsfRpcClient("password", host="localhost", port=55553)
File "/home/kali/py3.9/lib/python3.9/site-packages/pymetasploit3/msfrpc.py", line 191, in __init__
self.login(kwargs.get('username', 'msf'), password)
File "/home/kali/py3.9/lib/python3.9/site-packages/pymetasploit3/msfrpc.py", line 224, in login
raise MsfAuthError("MsfRPC: Authentication failed")
pymetasploit3.msfrpc.MsfAuthError: 'MsfRPC: Authentication failed'
my env is python3.9 and I have tried with pymetasploit 1.0, 1.0.1, 1.0.2 and 1.0.3 (all versions)
still the same result.
Not really sure where to go from here.
error from Shennina
[%] Starting at 19:42:19 / 01-01-2023
'MsfRPC: Authentication failed' (I've modified the script to print out the exception error.)
[!] [19:42:19] Error connecting to MSFRPC server.
The text was updated successfully, but these errors were encountered:
I'm having msfrpc authentication failed error. Just wondering does anyone facing the same issue?
running
./run-msrpc.py
is ok.running
./run-server.sh
is ok.testing connecting with
msfrpc client
works fine.just that when I run
shennina.py
the msfrpc connection failed.my env is
python3.9
and I have tried withpymetasploit 1.0, 1.0.1, 1.0.2
and1.0.3
(all versions)still the same result.
Not really sure where to go from here.
error from Shennina
The text was updated successfully, but these errors were encountered: