MsfRpcApi icon indicating copy to clipboard operation
MsfRpcApi copied to clipboard

链接错误

Open ZzzIKnow opened this issue 10 months ago • 0 comments

Traceback (most recent call last): File "/home/kali/Agent/config/msfConsole.py", line 240, in auth = Client("127.0.0.1",port=55553 ,user="msf",passwd="msf") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Agent/config/msfConsole.py", line 36, in init self.auth() File "/home/kali/Agent/config/msfConsole.py", line 76, in auth c = self.client.getresponse() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/miniconda3/envs/Agent/lib/python3.11/http/client.py", line 1386, in getresponse response = self.response_class(self.sock, method=self._method) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/miniconda3/envs/Agent/lib/python3.11/http/client.py", line 263, in init self.fp = sock.makefile("rb") ^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'makefile'

进程已结束,退出代码1

ZzzIKnow avatar Apr 12 '24 06:04 ZzzIKnow