Netcat
Netcat (often abbreviated as nc) is a versatile networking utility for reading from and writing to network connections using TCP or UDP. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. Netcat is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
Module Sections
Basic Usage
Learn the fundamental nc commands for establishing connections.
Connection Types
Understand TCP/UDP, listen vs connect modes, and when to use each.
File Transfer
Transfer files between systems using netcat as a simple data pipeline.
Port Scanning
Use netcat for basic port scanning and service enumeration.
Banner Grabbing
Extract service banners and version information from network services.
Chat Application
Set up a simple chat server or client for communication.
Remote Shell
Create reverse and bind shells for remote system access.
Flags & Options
Complete reference of netcat flags with practical examples.
Installation
Install Netcat on Linux, macOS, Windows, and from source.
Usage Examples
Real-world netcat commands for various penetration testing scenarios.
Command Builder
Interactive tool to build netcat commands for different use cases.
Pro Tips
Advanced techniques, stealth usage, and common pitfalls to avoid.
Netcat Quiz
Test your knowledge with multiple-choice questions on netcat concepts.
Netcat Lab
Hands-on exercises to practice netcat in simulated environments.
Quick Start
New to Netcat? Start with these three sections in order: