Here's a basic setup of this php program // add it into your script with require require_once 'nmap.cls.php'; // tell it where nmap is located on your system or it will fail $n=new WebMap('/opt/local/bin/nmap'); // if you want to use xHTML output, call the header $n->header(); // used for xhtml output // This prints the xHTML form echo $n; // Runs the nMap scan if the options have been passed with the form // set true to log nmap scan, prints when done // - tee is used to make log $n->run_nmap(); //close xhtml output is required if header() was called $n->footer(); ****************** That's it, just note some nmap commands/scans wont run because they require root So it's up to you to set that up. Running your web server as root on a public system would be a bad idea... peace
|Classes of Karl Holz||>||WebMap||>||Download .zip .tar.gz||>||Support forum||>||Blog||>||Latest changes|
|HTML||HTML generation and processing||View top rated classes|
|Networking||Networking protocols, clients and servers||View top rated classes|
|PHP 5||Classes using PHP 5 specific features||View top rated classes|
|Security||Security protection and attack detection||View top rated classes|
Prize: One copy of RadPHP XE2
|There are many useful tools that execute interesting tasks but they only provide a command line interface to execute them. That is the case of the nmap security audit tool.
This class provides a Web based user interface to nmap that is more user friendly.
It can not only allow the user to configure nmap options with forms based page, but also present the nmap output results on the same Web page.
|Applications that use this package|
If you know an application of this package, send a message to the author to add a link here.
GitHub site for WebMap
Network Scanner you need to install
| Install with Composer - Download all files: webmap.tar.gz webmap.zip|
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.