Questions tagged [netcat]

A computer networking utility for reading from and writing to network connections using TCP or UDP

Netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of connection its user could need and has a number of built-in capabilities. Its list of features includes port scanning, transferring files, and port listening, and it can be used as a backdoor

source Wikipedia:

24 questions
0
votes
2 answers

Why can't I transfer executable files with netcat?

I have two lab machines, one Kali and one Windows 10. Netcat is running on both and both are communicating successfully. If I create a simple text file I can transfer the file from Kali onto Windows no problem. However, if I run the following…
trallgorm
  • 885
  • 7
  • 22
0
votes
3 answers

How to communicate with a random service after a successful netcat connection?

Let's say I perform a nmap scan and discover a list of open ports. If port 80 is opened, I will do this: $ nc IP_ADDRESS 80 GET / HTTP/1.0 This will be a simple HTTP protocol request. But what about other ports? Let's say I found a random port like…
tommy
  • 1
0
votes
1 answer

Why would people connect to reverse shell's server side?

This is weird question, I implemented a reverse shell application, in which multiple commands can be executed and a keylogger can be executed. But, I need to connect to the server first, that way on the server side, attacker/user can type in…
Dexter
  • 11
  • 3
0
votes
2 answers

netcat reverseshell hanging after connection

I put a reverse shell on a machine in my lab enviornment and it seems to just hang after there is a connection in netcat - I'm not sure why this is. I've tried different ports but no luck. See screenshot below - any ideas are much appreciated
t0o0tz
  • 1
  • 2