Skip to content

A fast port scanner written in go with a focus on reliability and simplicity.

License

Notifications You must be signed in to change notification settings

projectdiscovery/naabu-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

naabu

Naabu Action makes it easy to orchestrate naabu with GitHub Action.

Example Usage

GitHub Action running naabu on list of hosts

      - name: 💥 Naabu - Port Scanner
        uses: projectdiscovery/naabu-action@main
        with:
          host: example.com

GitHub Action running naabu with custom port scan

      - name: 💥 Naabu - Port Scanner
        uses: projectdiscovery/naabu-action@main
        with:
          list: hosts.txt
          ports: "80,443"

Example workflow - .github/workflows/naabu.yml

name: 💥 Naabu - Port Scanner

on:
    schedule:
      - cron: '0 0 * * *'
    workflow_dispatch:

jobs:
  naabu-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version: 1.17

      - name: 💥 Naabu - Port Scanner
        uses: projectdiscovery/naabu-action@main
        with:
          list: hosts.txt

      - name: GitHub Workflow artifacts
        uses: actions/upload-artifact@v2
        with:
          name: naabu.log
          path: naabu.log

Available Inputs

Key Description Required
host Host to perform port scan true
list List of hosts to perform port scan false
ports Ports to scan for (default - Top 100) false
rate Rate of port scan probes false
output File to save output result (default - naabu.log) false
json Write results in JSON format false
passive Perform passive port enumeration false
flags Additional naabu CLI flags to use false