Finding nodes on a network For Linux and Windows
Page 1 of 1
Finding nodes on a network For Linux and Windows
http://www.cyberciti.biz/faq/mapping-lan-with-linux-unix-ping-command/
Shutting down a node even through wifi
https://www.youtube.com/watch?v=T0NJF0ASQ2o
Open cmd from run box
Connect to target network
type
net view
then ping space the node you want to become your target
type shutdown -i
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scan Networks using linux
- Code:
sudo apt-get install -y arp-scan nmap
- Code:
sudo arp-scan --interface=eth0 --localnet
- Code:
sudo arp-scan -l --interface=wlan0
- Code:
sudo arp-scan -l --interface=eth0
http://manpages.ubuntu.com/manpages/hardy/man1/arp-scan.1.html
http://superuser.com/questions/261818/how-can-i-list-all-ips-in-the-connected-network-through-terminal-preferably
or
- Code:
nmap -sP 192.168.0.1/24
Or
!/bin/bash
for ip in 192.168.0.{1..254}; do
ping -c 1 -W 1 $ip | grep "64 bytes" &
done
Re: Finding nodes on a network For Linux and Windows
Example Of usb0 connection (network)
you can do ranges
Other methods
So for example if your network is 192.168.42.0
and likwaise if your network is 192.168.1 then the following:
Showing Switches mac address
You can even use wlan0
http://serverfault.com/questions/245136/how-to-find-out-mac-addresses-of-all-machines-on-network
More on http://itsfoss.com/how-to-find-what-devices-are-connected-to-network-in-ubuntu/
- Code:
finding your own ip is important
- Code:
ifconfig eth0
- Code:
sudo nmap -sP 192.168.1.0/24
- Code:
sudo nmap -sP 192.168.42.0/24
you can do ranges
- Code:
nmap -sP 192.168.0.1-254
- Code:
sudo nmap -sP 192.168.1.0/24
- Code:
1/4 <<< can be added or any other number in some cases
Other methods
- Code:
sudo arp-scan --localnet
- Code:
nmap -sP 192.168.254.*
So for example if your network is 192.168.42.0
- Code:
sudo nmap -sP 192.168.42.0/24
and likwaise if your network is 192.168.1 then the following:
- Code:
sudo nmap -sP 192.168.1.0/24
- Code:
sudo arp-scan --interface=eth0 192.168.1.0/24
- Code:
sudo arp-scan --interface=usb0 192.168.42.0/24
Showing Switches mac address
- Code:
sh mac address-table
You can even use wlan0
http://serverfault.com/questions/245136/how-to-find-out-mac-addresses-of-all-machines-on-network
More on http://itsfoss.com/how-to-find-what-devices-are-connected-to-network-in-ubuntu/
Re: Finding nodes on a network For Linux and Windows
Other useful Commands
Found @ https://www.linux.com/learn/tutorials/470979-who-and-what-is-on-my-network-probing-your-network-with-linux
Found @ https://www.linux.com/learn/tutorials/470979-who-and-what-is-on-my-network-probing-your-network-with-linux
- Code:
sudo nmap -sS freya
Similar topics
» Dump and save network type on windows using netsh on Windows 7
» Finding Primes With Bash On Linux TUT
» WINDOWS NETWORK PACKET BUILDER App
» NETWORK IP CAMS FOR LINUX
» Kali Linux in the Windows App Store || Kali Linux 2018.2 Launch
» Finding Primes With Bash On Linux TUT
» WINDOWS NETWORK PACKET BUILDER App
» NETWORK IP CAMS FOR LINUX
» Kali Linux in the Windows App Store || Kali Linux 2018.2 Launch
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum