# lanScan

Scan hosts with `nmap` and display results in webpage.

* Create a configuration yaml file in ./configs/ subdirectory (see example below).
It may be generated by scanning a network with `./discover <CIDR>`.
* Scan with `./scan_all` (use a cron task!).
* Open `.\index.php` in web browser to see results.

## Example 
```yaml
---
site: Nom du site

hosts:
  - name: Nom du premier groupe
    host:
      - address: host1.local
        services: [ssh, http]
      - address: 192.168.1.100
        services: [ftp, https, 5432]
  - name: Nom du 2ème groupe
    host:
      - adress: host3.local
        services: [ssh, ftp, 8006]
```