|
-
July 23rd, 2004, 06:51 AM
#11
Good thing it's on a LAN because AFAIK you can't get the MAC addy over the Internet [although I'm still looking into how it would be possible to do it ]. If you're good at code why not inspect the nmap soft at www.insecure.org and get ideas from there? You could use that program but I think it's a bit more than what you need and it wouldn't be the most effective thing.
On the other hand... since you said you need to extract the IP too, I'm wondering how you'd go about knowing which computer you want the info from? I guess you need a client/server type app with the clients running on the users' computers... and have them double click the prog name and that would send the info to your computer. Me not being a guru when it comes to XP scripting, I can only say... wouldn't something along the lines of
ipconfig/all > c:\info.txt [as said before]
net send IP info.txt
work? Or maybe
ipconfig/all | net send IP
but I'm not sure how [if?] piping works in XP. Also not sure about net send syntax, that's easy to find from the documentation you have on your computer.
/  \\

-
July 23rd, 2004, 07:20 AM
#12
Originally posted here by uhoh
Computer Name
HKLM\Software\Microsoft\Windows\Currentversion\RegisteredOwner
HKLM\Software\Microsoft\Windows\CurrentVersion\Registeredorganization
-
July 23rd, 2004, 02:48 PM
#13
Originally posted here by hypronix
[B]Good thing it's on a LAN because AFAIK you can't get the MAC addy over the Internet [although I'm still looking into how it would be possible to do it  ].
if you can -- ping the ip address and then look in the arp tables of your computer and it should show the mac address
as far as the original question goes, just use angry IP scanner (available for free at www.downloads.com) and you can specify what to get (user-name, dns name, ip address, mac address) -- however, it works correctly ONLY in windows environments... i have had some problems with it when it is trying to collect info about a Mac or a Unix/Linux box
hope this helps
[gloworange]find / -name \"*your_base*\" -exec chown us:us {} \\;[/gloworange] [glowpurple]Trust No One[/glowpurple][shadow] Use Hardened Gentoo [/shadow]
CATAPULTAM HABEO. NISI PECUNIAM OMNEM MIHI DABIS, AD CAPUT TUUM SAXUM IMMANE MITTAM
-
September 11th, 2004, 05:51 AM
#14
Junior Member
Can some one guide me on the codes/scripts to use to get the info?
-
September 11th, 2004, 08:35 AM
#15
Creat a file named whatever.bat or whatever.cmd
ipconfig /all > .\ipconfig.txt
start notepad .\ipconfig.txt
exit
You could also have it create the file in a shared folder and modify it so it doesn't pop notepad open. that you have access to from one centralised system, and have it run with the start up scripts, or on a schedule, or whatever. Adjust season to taste and cook until done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|