Sign inSign up

bolshakov/nmap-scanner

By bolshakov

Updated over 8 years ago

Scan remote server for open ports and notify by email

Image
0

305

bolshakov/nmap-scanner repository overview

Nmap Scanner

This app scans given server for open ports and notify by email if forbidden open port found.

Usage

Command accept two arguments -- server address and whitelisted ports in the following format:

  • 22/tcp
  • 80/tcp
  • 53/udp
  • 22/tcp,80/tcp,53/udp
  • etc

To configure notification options the number of environment variables available. Docker compose example:

version: '3'

services:
  scanner:
    image: bolshakov/nmap-scanner:latest
    restart: always
    command: myserver.example.com 22/tcp,80/tcp
    environment:
      - SCAN_INTERVAL=3600 # in seconds
      - SCAN_PORT_RANGE=1-65535
      - EMAIL_SMTP_HOST=smtp.example.com
      - EMAIL_SMTP_PORT=587
      - [email protected]
      - EMAIL_USERNAME=nmap-scanner
      - EMAIL_PASSWORD=secret123
      - [email protected]      

Tag summary

Content type

Image

Digest

Size

32.8 MB

Last updated

over 8 years ago

docker pull bolshakov/nmap-scanner