[OffTopic] Finding the IP address of a SMB share

11 views
Skip to first unread message

Howard White

unread,
Mar 2, 2020, 5:53:32 PM3/2/20
to nlug...@googlegroups.com
Guys,

If I am on a local network where there is a SMB server with a share, I
may browse that local network and find the connection. Of course this
is a Windows environment of which I speak and I need an IP address
because I'm connecting through a VPN tool that doesn't share the network
details through the tunnel.

I do not expect to find said IP through the tunnel. Well, thinking
about it, maybe I could by connecting to the local linux server and
trying to run nmap - if that linux server has nmap installed...

I am going on site and yes, I shall have linux systems by which to parse
the network.

So when Windows offers a share to mount, they play their own little set
of naming games - such is the nature of native SMB. Just thought I'd
ping the list and see if anyone else had that kind of opportunity and
maybe some thoughts.

Howard

Robert Wohlfarth

unread,
Mar 2, 2020, 8:20:11 PM3/2/20
to NLUG
If you have access to a Windows system that has the same share as a mapped drive...
  1. Open a command window.
  2. Enter net use.
  3. That will list the UNC path: \\server\share.
  4. From there you can nslookup to get the IP address of the share server.

--
--
You received this message because you are subscribed to the Google Groups "NLUG" group.
To post to this group, send email to nlug...@googlegroups.com
To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/f4460afc-8f24-0e0d-a65f-01540b5324bb%40vcch.com.


--
Robert Wohlfarth

Chris McQuistion

unread,
Mar 2, 2020, 8:23:45 PM3/2/20
to nlug...@googlegroups.com
You can run run an nmap scan over the VPN tunnel. I do this all the time. All you need to know is the remote subnet, like 192.168.1.0/24 and if the VPN tunnel allows traffic to that subnet, you can scan it and look for servers with open ports to start narrowing things down.

Sent from my iPhone

> On Mar 2, 2020, at 4:53 PM, Howard White <hwh...@vcch.com> wrote:
>
> Guys,
Reply all
Reply to author
Forward
0 new messages