Site Archives Net_Nmap

Discovery hosts and services with PHP and Nmap


Requirements:
- PHP5
- PEAR::Net_Nmap
- nmap

<?php

/**
* Scan network to retrieve hosts and services information.
*/

require_once 'Net/Nmap.php';

//Define the target to scan
$target = array('127.0.0.1','www.yourserver.com');

$options = array('nmap_binary' => '/usr/local/bin/nmap');

try {
$nmap = new Net_Nmap($options);

//Enable nmap options
$nmap_options = array('os_detection' => true,
[...]

Net_Nmap 1.0.0 beta1 released!


The Net_Nmap Pear package is a simple interface for Nmap, the free and open source utility for network exploration or security auditing.
Net_Nmap can be used to auto discovery hosts and services in your network or simply to parse Nmap XML output.
You may install it on your system simply typing:
$ pear install Net_Nmap
or if prefer download [...]

Ortro 1.3.0 is out!


The new stable version of Ortro has been released.
This version comes with some interesting features such us the auto discovery of the hosts and an import/export tools.
The Auto discovery tool is built on top of the Pear Net_Nmap library and allows to scan your network and successively add automatically the discovered hosts in a specified [...]