ShawnDEvans / smbmap

SMBMap is a handy SMB enumeration tool
GNU General Public License v3.0
1.76k stars 343 forks source link

Non-descriptive errors #72

Open sandervandegeijn opened 2 years ago

sandervandegeijn commented 2 years ago

I'm running the latest version from the git repo on Red Hat, it's very useful but I'm getting tons of these messages:

image

I don't know what the underlying errors are, so I can't solve them. Can the errors be more descriptive?

bfnserra commented 1 year ago

@ShawnDEvans smbmap is a great tool, thanks a lot for the time you spent developing it. I've been using it to speed up testing in my last projects. Are you still actively supporting it ? I've the same issue as described above (Red Hat as well).

@ict-one-nl As an alternative, I had to run the smbmap multiple times. If someone had the same issue (until it's fixed): cat smbmap.log | grep -E -B1 "Broken pipe on| Error while reading from remote" | grep Name | cut -d " " -f 3 | cut -d ":" -f 1 > new-scope-hosts-file.txt

ShawnDEvans commented 1 year ago

I have had his issue for a while and I'm not entirely sure what the root cause is. I basically only blow the dust off SMBMap on internal network assessments. So the opportunity to do rigorous testing against a huge number of targets is few and far between. If you can consistently reproduce the condition, what kind of configuration does the SMB server you're connecting to have? Anything unique that might cause a broken pipe? Thanks!