Secure Network Management

hackers on your side

  • Why are you here?
  • Security Assessment
    • Incident Response
    • Regulations
  • Toolbox
    • Code
    • Default Password List
    • Threat Modeling
    • Tutorials
    • Vulnerability Disclosure
  • Knowledge Base
  • Contact

Netcat File Transfer

Posted by SNM on May 25, 2017

Summary

Netcat File Transfer

Command

 Listener
 nc -l -p 12345 > output.txt
Netcat File Listener

Netcat File Listener

 
 Client
 nc 192.168.0.1 12345 -w 5 < input.txt
Netcat File Client

Netcat File Client

Description
Listener
-l listen
-p listen on port 12345
> output.txt transfer any incoming data to file

Client
192.168.0.1 remote listener to connect to
12345 remote port on listener
-w timeout after 5 seconds when stdin is idle
< pipe input.txt to nc

Posts navigation

← Nikto Web Vulnerability Scanner
SSH with PEM File →
  • Recent Posts

    • Nexx 3020H Responder
    • Nexx 3020H LAN Dropbox Build – Comedy of Errors Edition
    • SMBv1 Scanner
    • 2018 Projects and Look Ahead
    • Weaponized Boredom
    • Knowledge Base Update
    • Automated tcpdump Script
  • Categories

    • Code
    • Threat Modeling
    • Tutorials
    • Uncategorized
    • Vulnerability Disclosure
    • Website Update
  • Archives

  • Site Search

Proudly powered by WordPress Theme: Parament by Automattic.