When pen testing, you often want to move information between your test system and a target. In this video, learn how to use netcat to set up sessions between hosts and transfer files.
- [Instructor] Let's see how we use netcat … to copy a file from one system to the other. … I'll use the nano editor to create a text file on Hydra. … I'll type nano test file dot text. … The nano editor starts and I can enter text. … I'll put in two lines. … I'll press control + o to save the file … and control + x to quit. … On Scorpio, I want to set up netcat … to receive the file. … To do this, I'll enter nc minus lvmp 4545 … and press enter. … Now when data is received, it won't be sent … to standard out, but instead into a new file … called incoming dot text. … If we don't know that the listener is available, … we might want to specify a time-out, … adding the option minus w three … to the sender command line. … We'll time-out if the connection is not made … within three seconds. … The default is no time-out. … Let's now enter the netcat command … to transfer the file to Scorpio on 10.0.2.31. … This command tells netcat to take data … from test file dot text instead of standard in. …
- Hackers and the kill chain
- Viruses, spyware, and adware
- Detecting malware with Windows Defender
- Using Windows Firewall and Linux iptables
- Scanning with Nmap
- Monitoring network communications with Netcat
- Combating application-level threats
- Scanning a website to check for vulnerabilities
- Capturing intruders through packet inspection
Skill Level Beginner
Insights from a Cybersecurity Professionalwith Mike Chapple32m 15s Intermediate
1. Why Cybersecurity?
4. Network Scanning
5. Network Connections
6. Vulnerability Scanning
7. Web Applications
8. Monitoring Packets
Next steps1m 27s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.