« Snarf | Main | Uptate nmap on Ubuntu 8.04 Hardy Heron »
Friday
06Mar2009

Nbtscan

 

  Nbtscan is a program for scanning networks for NetBIOS name information. It works very quickly and can be usefull for information gathering about the network you are connected to. Nbtscan is not installed by default in Ubuntu so you will have to install it. Use synaptic or just use the command

sudo apt-get install nbtscan

  I have made a script and put it in my /home/drew/bin/ directory so that all I have to do is type the name of the script into a terminal and I get instant results.

  Here is a copy of my script

 

#! /bin/bash
sudo nbtscan -hv 192.168.1.0/24 > test.txt && gedit test.txt



  This will send the output to a text file and open it with mousepad ( which is not installed by default as well - Just use gedit if you want to)

  The reason I use mousepad is to demonstrate how quickly the nbtscan actually runs.

  Try typing

man nbtscan

into a terminal to learn more about this program.

  Test it for yourself and have fun with it.

  Feel free to comment or make a suggestion.

 

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.