Tech Journal Back to Tech Journal

Given only an IP address, how can I access the shares for that machine via Linux?

Going to a person's computer using smbclient and nmblookup:
first, find the computer's name. use:

nmblookup -B 212.143.86.89 -S '*' -d 3

Where 212.143.86.89 is the machine's IP address. Then, if the name was "SERVER", you could try:

smbclient //SERVER/C$ -I 212.143.86.89

or use various usernames/password, try to list shares, etc. This doesn't always work, since people usually aren't considerate enough to set up SMB correctly to be access by total strangers ;-)

Last updated on 2007-05-06 06:29:38 -0700, by Shalom Craimer

Back to Tech Journal