Port scanner

Introduction

This port scanner plugin performs:

  • Discovering of all open ports on the destination host
  • Detection of TLS ports (if this option is enabled, see screenshot below)
  • Detection of supported TLS ciphers for each TLS port
  • Cipher strength check via https://ciphersuite.info/
  • Result report in console output and as archived JSON file

Getting started

The following screenshots describe how the plugin works. The scan results are available in console output and as an archived JSON file.

Port scanner as a build step:

Port scanner plugin

Port scanner plugin

Console output:

Port scanner plugin

Scan result as job artifact:

Port scanner plugin

Content of json file:

Port scanner plugin

Usage in a pipeline:

pipeline
{
 agent any
  options
 {
  skipStagesAfterUnstable()
 }
 stages
 {
  stage('Build')
  {
   steps
   {
   step([$class: 'PortScannerStep', scanDest: '127.0.0.1', repName: 'myPortScanResult.json', enableCipherDetection: false])
   }
  }
 }
}

LICENSE

Licensed under MIT, see LICENSE