Negah is a terminal-based network scanner written in Go
Find a file
2025-12-28 20:18:30 +03:30
scanner Enhance Negah's functionality by adding a key binding to open the GitHub repository in the browser from the menu view. Update README to remove outdated description and improve footer with GitHub link. Introduce new functions in scanner.go to retrieve local network range and IP address, along with a method to determine default scan targets based on scan ID. 2025-12-28 20:12:59 +03:30
screenshots Update README.md to replace outdated screenshot and enhance feature descriptions. Remove TUI features section and clarify keyboard shortcuts for improved usability. Add new screenshot-0.png to showcase the application interface. 2025-12-28 20:17:04 +03:30
.gitignore init 2025-12-22 21:33:31 +03:30
go.mod Refactor clipboard functionality to use native OS commands for copying text. Update go.mod to include clipboard package as indirect dependency. Improve error handling for clipboard operations. 2025-12-28 20:18:30 +03:30
main.go Refactor application to use Bubble Tea for a modern TUI, adding clipboard support and enhancing user experience. Updated dependencies in go.mod, modified main.go for TUI integration, and expanded README with new features and usage instructions. Created tui.go for TUI implementation and added output capture functions in scanner.go. 2025-12-28 01:22:03 +03:30
README.md Update README.md to replace outdated screenshot and enhance feature descriptions. Remove TUI features section and clarify keyboard shortcuts for improved usability. Add new screenshot-0.png to showcase the application interface. 2025-12-28 20:17:04 +03:30
run.sh Merge branch 'main' of https://github.com/danial2026/the_watchman 2025-12-28 19:45:16 +03:30
tui.go Refactor clipboard functionality to use native OS commands for copying text. Update go.mod to include clipboard package as indirect dependency. Improve error handling for clipboard operations. 2025-12-28 20:18:30 +03:30

NEGAH

Negah is a beautiful terminal-based network scanner written in Go

For latest updates, check out the dev branch

Screenshot 0

Features

Network Scanning Capabilities

  • 🔍 Discover hosts on a local network
  • 💓 Check if machines are alive
  • 🌐 Get public IP and ISP info
  • 🔎 Find subdomains
  • 🛡️ Run common vulnerability checks
  • 🔐 Audit SSL/TLS and SSH
  • 🚧 Test firewall behavior
  • 🥷 Perform stealth scans
  • 🗄️ Detect databases and services
  • 📊 Identify service versions and web titles

Requirements

  • Go 1.21+
  • Nmap
    • macOS: brew install nmap
    • Arch Linux: sudo pacman -S nmap
    • Ubuntu/Debian: sudo apt install nmap

🚀 Build and Run

bash run.sh

Or build manually:

go build -o nscanner
./nscanner

⌨️ Keyboard Shortcuts

Menu View

  • ↑/↓ or j/k - Navigate through scan options
  • Enter - Select a scan
  • q - Quit application
  • ? - Toggle help menu

Input View

  • Enter - Confirm and continue
  • Esc - Back to menu

Result View

  • c - Copy results to clipboard
  • Enter or Esc - Back to menu

Global

  • ? - Toggle help menu
  • Ctrl+C - Force quit

⚠️ Important

I don't condone doing bad things. Don't hack people. Don't scan random networks.

Use this only on systems you own or have explicit permission to test.