ShawnDEvans / smbmap

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

Password is visible #26

Closed amanrawat003 closed 4 years ago

amanrawat003 commented 5 years ago

We are facing issue while reveling the password because it gets save in our history where multiple users has access to the same terminal, Can it be password protected

a6avind commented 4 years ago

You can add a password prompt if no password is specified. Doesn't that work @ShawnDEvans?

ShawnDEvans commented 4 years ago

I'll see what I can do, this should be a pretty straight forward change. Def not something you want in your history, and I think a few minor changes should make a prompt possible while retaining NULL/Guest session enumeration.

maaaaz commented 4 years ago

Idea : https://pymotw.com/3/getpass/

ShawnDEvans commented 4 years ago

I added a --promopt arg that should address your password disclosure concerns. I'm going to close this for now. If you note any problems with the new feature, please drop another issue. Thanks for the feedback!