Comment on page
NetBIOS/SMB (139/445)
NetBIOS and Server Message Block
- ...
- ....
-
Depending on the configuration, sometimes you can connect to an SMB server as
anonymous (
-N)
and leave the password blank.# Failed anonymous authentication
└─$ smbclient -N //10.129.218.255/Files
tree connect failed: NT_STATUS_ACCESS_DENIED
# Allowed anonymous authentication
└─$ smbclient -N //10.129.218.255/general
Try "help" to get a list of possible commands.
smb: \> ls
. D 0 Wed Jan 16 15:10:51 2019
.. D 0 Tue Sep 13 10:56:24 2022
creds.txt N 57 Tue Oct 9 19:52:42 2018
3545824 blocks of size 1024. 1650916 blocks available
# As anonymous
└─$ smbclient -N -L //targetIP
└─$ ./samrdump.py 10.129.203.6
Last modified 8mo ago