https://github.com/projectdiscovery/naabu-action
A fast port scanner written in go with a focus on reliability and simplicity.
https://github.com/projectdiscovery/naabu-action
Last synced: about 1 year ago
JSON representation
A fast port scanner written in go with a focus on reliability and simplicity.
- Host: GitHub
- URL: https://github.com/projectdiscovery/naabu-action
- Owner: projectdiscovery
- License: mit
- Created: 2021-06-24T20:54:31.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T08:23:32.000Z (over 1 year ago)
- Last Synced: 2025-04-28T16:14:56.731Z (about 1 year ago)
- Size: 12.7 KB
- Stars: 16
- Watchers: 7
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Naabu Action makes it easy to orchestrate naabu with GitHub Action.
Example Usage
-----
**GitHub Action running naabu on list of hosts**
```yaml
- name: 💥 Naabu - Port Scanner
uses: projectdiscovery/naabu-action@main
with:
host: example.com
```
**GitHub Action running naabu with custom port scan**
```yaml
- name: 💥 Naabu - Port Scanner
uses: projectdiscovery/naabu-action@main
with:
list: hosts.txt
ports: "80,443"
```
**Example workflow** - `.github/workflows/naabu.yml`
```yaml
name: 💥 Naabu - Port Scanner
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
naabu-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: 💥 Naabu - Port Scanner
uses: projectdiscovery/naabu-action@main
with:
list: hosts.txt
- name: GitHub Workflow artifacts
uses: actions/upload-artifact@v4
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 |