Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Linux, perl, windows conundrum

by linebacker (Scribe)
on Jun 26, 2002 at 21:53 UTC ( #177552=note: print w/replies, xml ) Need Help??

in reply to Linux, perl, windows conundrum

I don't think I am totally clear on what you are doing, but I think you want to remotely gather IP addresses from usernames?

Depending on your naming convention this may or may not work. There is a system call in Windows called nbtstat.

You can do nbtstat -a 'computername' (without the quotes) You can do nbtstat -A 'IP ADDRESS' (without the quotes)

This will return the name of the logged in user and maybe you could parse this into something useable? I don't know how you could do the parsing without perl though? And of course, if the users name is not the computername, my whole theory falls apart on you.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://177552]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2019-10-18 19:50 GMT
Find Nodes?
    Voting Booth?