Go Back

Bilbo

An automated nmap-scanner and reporter tool

What's New?      Introduction     Working    Configuration    Tuning    Download    Copyright


What's new?

September 24, 2005.
Once again, time proves time is not allways on my side...

Bilbo now takes command-line options, in stead off hacking in the header, which makes it easier to control. See the configuration section to see what's changed.

Besides that, i cleaned-up some code.

November 25, 2004.
A long time has gone between these versions, but a lot of changes are made.

First of all, the scanning is now done in multiple processes, to speed-up the process of scanning. The amount of simultanous nmap-processes can be tuned with the settings in the header of the tool.

Second, i've implemented a flat-file database with the hosts and ports, so we can compare results between the several scans. This can be run in several modes, as explained in the tool.

Third, i changed the layout of the report. With this new setup you can have a quicker overview from the results, as port-information is all put on one line.

Fourth, the "enhanced" mode (getting header information from the open ports) was rewritten to improve communication with other OS-ses. This to prevent hanging on newline / linefeed characters.

December 27, 2003.
Added a switch to the infile, so the nmap-options can be changed "on the flight". By putting a line in the infile, starting with <OPT> and the needed nmap-options (without nmap in it!), you can change nmap-behaviour for a single host.

June 6, 2003.
Modified the reading from the input-file and added search for the nmap-binary. Moved all the config-settings to the top of the file.

The total changelog can be visited here: Changelog

Introduction

Bilbo is an automated, multithreaded nmap-scanner and reporter, capable of header fetching and matching the results against a database from previous scans.
This database can be updated while running, or by hand.

Working

Bilbo is a perl-script, which takes the input from a flat textfile with hostnames, ip-addresses or networks and scans them. Afterwards it generates a report out of it and writes it to disk or optional sends it via email. An example is included.

Configuration

The infile is a plain file, ignoring lines starting with a # sign and empty lines and scans the host in the file. The nmap-options are in the Bilbo-script itself, together with the admin-email, but can be changed on the flight by using the <OPT>-switch in the infile.

# Example inputfile for Bilbo.
# Lines starting with a # are ignored.

# as empty lines too.
# Add ip-addresses:
1.2.3.4

# Or hostnames:
host.my.lan

# Or networks:
192.168.21.0/24

# Even change the behaviour of nmap on the flight:
<OPT> -sT -sU -PT80,443,25
my.new.host
Tuning

Tuning has been re-written since version 0.12 so we take commandline-options. This prevents the "hacking in the header" for the main options from which te previous versions suffererd. Some options still have to be modified in the header, so if you want, take a look there (i.e. mail the report).

Usage (as root): ./bilbo
        -i      <infile> File with hosts or networks to scan
        -r      <reportfile> Filename where the report will be
        -t      <tune> Limit the amount of simultanous scans (default: 5)
        -d      <debug> 0 or 1 for more debug-info (default:0)
        -m      <Match-mode> 0, 1 or 2 for not, compare or compare-and-update the open-port-database (default: 2)
        -h      <help> This text


Download

bilbo-0.12.tar.gz
bilbo-0.11.tar.gz
bilbo-0.9.tar.gz
bilbo-0.8.tar.gz

September 24, 2005: version 0.12
MD5 from this version: b12b3cd0ae2498c65837da00210c7999
RipeMD160 from this version: 5073e29fb1d015764a2d09621b18d69f8dad9fe2

Copyright


Bilbo is released under the GPL.