Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My machine(linux) is connected to my dorm network using wifi connection and accessing the internet through proxy server. Now my dorm have both lan connection as well as wifi. So some computers are connected on wifi network and some using wired lan. I tried nmap, arp-scan but donot find the results.

I want to know the ip address and hostname of all the computer connected in this local network. How to do that?

share|improve this question

I don't know which parameters you tried but

sudo nmap -sS -sU -T5 -A -v 192.168.1.0/24

usually does the trick. Remember this will take some time and will be noisy because of the -T5 flag but its your network, so happy hunting.

You can use other tools like

xprobe2 192.168.0.1 and nikto 192.168.0.1

nikto on github

xprobe2 on sourceforge

Compile from source to use in either linux or windows

Here is a simple example of snmp reconnaissance hack-like-pro-exploit-snmp-for-reconnaissance-0150181

For OS foot-printing and if you are interested you can look into snmp hacking to gather info from a client server environment.

There are tools like snmpget and snmpwalk which are very easy to use.

There are other ways for foot-printing CEH heavy stuff which needs studying and hands on practice, but in your scenario I don't think that’s worth the time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.