msdt-follina icon indicating copy to clipboard operation
msdt-follina copied to clipboard

Unexpected Keyword Argument 'directory' - line 134

Open Xtonx opened this issue 2 years ago • 5 comments

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'

Xtonx avatar Jun 01 '22 20:06 Xtonx

same problem, any way to solve this?

Gap6769 avatar Jun 01 '22 21:06 Gap6769

A temporary solution is to use python 3.10.

EEDDRV avatar Jun 01 '22 23:06 EEDDRV

Thanks @EEDDRV, that worked perfectly for me!

Xtonx avatar Jun 01 '22 23:06 Xtonx

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'

ngocnn97 avatar Jun 02 '22 08:06 ngocnn97

I got netifaces installed with pip3.10 install netifaces

Xtonx avatar Jun 02 '22 08:06 Xtonx