Hi so definitely am doing something wrong but I don’t know what. I have answered every question except for question 3. “Connect to the discovered share and find the flag.txt file. Submit the contents as the answer.” I assume the answer is you use smbclient //10.129.202.5 sambashare, but when I do that it asks for a password. I have never found a password and multiple times it seems as though I have come across information that says I do not need one so I just hit enter. When I do it gives me the error “Not enough '' characters in service”. I don’t know what that means or where to go from there. Any help would be great. Thanks in advance.
You need to use \\10.129.202.5, not //
Good afternoon I have the same problem! You didn’t find out your password SMB ?
You can log in as an anonymous user in a similar way that you can do it in an FTP server.
Thus, you can connect to a specific share using:
$ smbclient //10.129.223.96/sambashare
Password for [WORKGROUP\kali]:
Try "help" to get a list of possible commands.
smb: \>
Note the use of a forward,
/
, and not a backward slash,\
.
When it asks for password, just hit
Enter
(passing an empty password," "
).
Then type smb: \> help
to remind yourself of the SMB commands, and enumerate the share.
You should find that there is just one directory there, indicated by the letter D
on the second column.
Move within this directory and you should find the flag waiting for you there!
So the way I got the is that the “Not enough '' characters in service” is completely wrong. Its really not enough ‘/’. Hope that helps!