msdt-follina
msdt-follina copied to clipboard
Unexpected Keyword Argument 'directory' - line 134
I'm getting an error on my server when opening the malicious document on the target device. I'm not particularly familiar with Python, so there may be something basic I'm missing. Server: CentOS 8 Stream, Victim: Windows 10, Office Version: 18.1903.1152.0
Exception happened during processing of request from ('myIpAddr', 52247) Traceback (most recent call last): File "/usr/lib64/python3.6/socketserver.py", line 320, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib64/python3.6/socketserver.py", line 351, in process_request self.finish_request(request, client_address) File "/usr/lib64/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/home/username/Payload/msdt-follina/follina.py", line 134, in __init__ super().__init__(*args, directory=serve_path, **kwargs) TypeError: __init__() got an unexpected keyword argument 'directory'
same problem, any way to solve this?
A temporary solution is to use python 3.10.
Thanks @EEDDRV, that worked perfectly for me!
Thanks @EEDDRV, that worked perfectly for me!
I can't install netifaces package on python3.10.
Even though I installed it with pip3 install netifaces
. but when running the command python3.10 follina.py
error: No module named 'netifaces'
I got netifaces installed with pip3.10 install netifaces