Skip to content

Repository files navigation

nmap-action

Scan open ports with vulnerabilities and report results as JSON.

units-test

Github action that scan open ports with nmap and its vulners script and report results as JSON.

Usage

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: "MTES-MCT/nmap-action@main"
        with:
          host: scanme.nmap.org
          outputDir: 'scans'
          outputFile: 'nmapvuln.json'
          raw: false
          withVulnerabilities: true

You can choose your withVulnerabilities or not. You can choose directory output and file name.

See action.yml for details and default inputs.

Hacking

To test locally, install act.

npm run all
act -j units

About

Scan open ports with vulnerabilities and report results as JSON.

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages