byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.45k stars 1.64k forks source link

AttributeError: 'SMB' object has no attribute '_Connection' #551

Closed Marcuccio closed 2 years ago

Marcuccio commented 2 years ago

Describe the bug Using SMB protocoll throws an unhandled exception

To Reproduce Steps to reproduce the behavior: crackmapexec smb ../scope/private-ip.txt -u [REDACTED] -p '[REDACTED]' -d [REDACTED].local --shares

Expected behavior It should not crash

Screenshots image

Crackmapexec info

Gianfrancoalongi commented 2 years ago

My pull request fixes this and two other crashes #560 (no _Connection crash, NetBIOSTimeout crash, UnsupportedFeature-crash)