PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Karl Holz   WebMap   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: test script
Class: WebMap
Run nmap security audit tool from a Web interface
Author: By
Last change: Update of index.php
Date: 2 years ago
Size: 260 bytes
 

Contents

Class file image Download
<?php

/*
WebMap Class demo
 */
require_once 'nmap.cls.php';
$n=new WebMap('/usr/bin/nmap');
$n->header(); // used for xhtml output
//print xhtml form
echo $n;
//set true to log nmap scan, prints when done
$n->run_nmap();
//close xhtml output
$n->footer();
?>