Results 1 to 9 of 9

Thread: how would i know the ip addresses of the computers that are connected to the network?

  1. #1

    how would i know the ip addresses of the computers that are connected to the network?

    i just want to know the ip addresses of the computers that are connected to LAN. I want to do net send. what is the MSdos command to do that?

  2. #2
    Member
    Join Date
    Nov 2003
    Posts
    88
    A nice handy tool called nmap (I'm sure you've heard of it) can do pretty much everything you want it to do.
    To scan from 192.168.0.0 to 192.168.0.255 simply say 'nmap 192.168.0.*'.
    However I'm not to sure I under stand the second part of your question. You want to do a net send in MS-DOS? Whats wrong with simply saying 'net send [host]' in the consol window?
    -HDD

  3. #3
    You could use nmap to scan an IP range...

  4. #4
    AntiOnline Senior Medicine Man
    Join Date
    Nov 2001
    Posts
    724
    I would be all cool about it. I would run a ARP -a at hte command promt. If your already on a LAN with these guys, their Ips should be listed in your Arp table. At that point you have the IP, then you might need their Netbios Computer name. You can get this by typing nbtstat -A 192.168.1.3(or what ever the IP is). That will return the Netbios name. At this point, if both you and the target computer have messaging service enabled. You can send a net send message. Go to the command promt, type NET SEND COMPUTERNAME MESSAGE. This reminds me of when we first networked my house. My roomate wouldnt secure his box at all. So I wrote a batch file that flooded him with NET SEND Messages telling him to secure his box. It was fun...
    It is better to be HATED for who you are, than LOVED for who you are NOT.

    THC/IP Version 4.2

  5. #5
    They call me the Hunted foxyloxley's Avatar
    Join Date
    Nov 2003
    Location
    3rd Rock from Sun
    Posts
    2,534
    if you are on a M$ sys, then you won't be using Dos, just the command line, non GUI interface ?

    IPCONFIG to get a summary, or:
    IPCONFIG /ALL for all TCP IP details, at the command line.
    Win 95 uses WINIPCFG that is similar to IPCONFIG.

    Or there is ARP (address resolution protocol)
    this is before the host can send anything it needs to get the physical address (mac) of the of the destination host or router first. it gets info by broadcasting it's requirements on the LAN this carries on and each piece of info is stored in the ARP cache.
    To view and modify the ARP cache:
    > arp -a

    so, every time that you telnet, ftp or ping another host, it's mac address, if it is local, or the routers mac if it is remote, is entered into the ARP cache.

    arp -a or arp -g display the ARP cache
    arp -d IP_addrs delete the specified entry
    arp -s IP_addrs hw_addrs adds a static entry to the cache


    have fun.

    edit Dr toker got there first !!!! I type to damn slow, and I missed out the net send fun part !!
    so now I'm in my SIXTIES FFS
    WTAF, how did that happen, so no more alterations to the sig, it will remain as is now

    Beware of Geeks bearing GIF's
    come and waste the day :P at The Taz Zone

  6. #6
    Senior Member
    Join Date
    Jun 2003
    Posts
    236
    People
    That which does not kill me makes me stronger -- Friedrich Nietzche

  7. #7
    AntiOnline Senior Medicine Man
    Join Date
    Nov 2001
    Posts
    724
    im not sure if your trying to flame me or belittle me in some vauge way. But I was just teaching my roomate how computers can be vulnerable to the simplest things. But mainly i did it because I have a LAN share folder on my network. And I have my firewall set to accept NETBIOS connections from 192.168.1.X. So if he were to become compromised, that means I could be next.

    The purpose of this was purly educational. I have no maliciouse intent on my roomate.(If i did i would kick his ass) I'm really a bit unclear on the point you were trying to get across, Specialist. I dont know if your trying to insult me or not.
    It is better to be HATED for who you are, than LOVED for who you are NOT.

    THC/IP Version 4.2

  8. #8
    Banned
    Join Date
    Jul 2002
    Posts
    877
    No if I was then you and everyone else here would know.

  9. #9
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,785
    its not necessary to have the ip addys to do a net send. you can use the computer name which can easily be acquired by just entering 'net view' to get them all. then just copy the name without the '\\' and do 'net send comp_name whatever you want to say'.

    if you MUST have the ips you can get them using arp as toker said but you must have had communication with them or:

    ip.bat
    -----------------------
    @echo off
    net view >name
    for /F "tokens=1 delims=\\" %XX in (name) do ping -n 1 %XX >>ip
    start notepad ip
    ----------------------
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •