Could not parse result of smbclient command
JensTimmerman opened this issue · comments
when running against a ricoh printer I get:
[V] Attempting to map share //192.168.35.20/IPC$, running command: smbclient -t 5 -W KM-NETPRINTERS -U % '//192.168.35.20/IPC$' -c dir -s /tmp/tmpf1n8l_bn
[-] Could not parse result of smbclient command, please open a GitHub issue
running smbclient command mannually gives:
smbclient -t 5 -W KM-NETPRINTERS -U % '//192.168.35.20/IPC$' -c dir -s /tmp/tmp Wed 02 Jun 2021 11:46:10 AM CEST
NT_STATUS_NOT_A_DIRECTORY listing \*
Thanks a lot for reporting this! This NT_STATUS error is new to me, but it makes sense, since the IPC$ share is not a file share. I wonder which version of samba (or anything different?) the printer is running. Could you do me a favor and run enum4linux again against the printer with the version in the dev branch? Checking out of the dev version works like that:
git checkout dev
Will close this for now since it is fixed in the dev branch which will be merged later. I still would be interested, what kind of SMB implementation the printer is using. Let me know, if you can help me with that. :)
I'm sorry, but I no longer have access to the device, this happened during a limited time assessment.