Ağınızdaki kullanıcıları tarama

Mustafa Ülker
1 min readJan 13, 2020

--

sudo nmap -sU --script nbstat.nse -p137 192.168.0.0/24

Böyle bir komut var derdim ama 2 dakika sonra alacağınız muhtemel hata

RTTVAR has grown to over 2.3 seconds, decreasing to 2.0

Bu NMAP kısıtlaması değil. O yüzden yapmanız gereken küçük bir script ile ağı parçalara ayırarak taramak olacaktır.

i=0
while [ $i -lt 255 ]
do
echo "$(date) - Taranan IP 192.168.$i.0/24" >> s.log
sudo nmap -sU --script nbstat.nse -p137 192.168.$i.0/24 >> s.log
i=$(expr $i + 1)
done

NMAP Script Engine’in bize sunduğu nbstat ile ağımızdaki kullanıcıları mac adresleri ve hostname ile bulabiliyoruz.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response