Questions tagged [netcat]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
81 views

I set up a successful reverse shell but my commands return nothing

I recently successfully uploaded an msfvenom binary payload into a Windows server 2008 VM. My netcat listener displays the following message: connect to [lhost ip] from (UNKNOWN) [rhost ip] 49155 ...
0
votes
3answers
63 views

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

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 ...
0
votes
1answer
73 views

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 ...
0
votes
2answers
282 views

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 ...
2
votes
0answers
219 views

Explanation of linux shell access via backpipes? [closed]

I have been looking at different ways to gain shell access to a Linux machine and came across this article. Under point #2, there is an slightly different way of using netcat to gain shell. here it ...
0
votes
1answer
4k views

Reverse shell breaking instantly after connection has been established

currently I'm preparing for OSCP and right know I'm working on reverse shells. Using msfconsole it's not problem to get a meterpreter-session, however meterpreter is not allowed during the exam so I ...
2
votes
1answer
2k views

Use netcat to Pivot

So I have a shell into machine A which doesn't have ssh installed and I can't get a tty shell on (I've tried all of the tty cheat sheets, I think this is intentional) Through machine A I can see ...
0
votes
1answer
261 views

Find out the IP or hostname of the firewall? [closed]

Is there a way to find the IP of the firewall which is blocking my access to an endpoint? I tried netcat / nmap but not much luck. I need some form of a tool which does a traceroute to the subnet or ...
0
votes
2answers
1k views

Password protection for NetCat shell?

As a pentester, I often use NetCat, and its encrypted counterpart CryptCat. However, even CryptCat only encrypts the traffic. I'm looking for a way to keep unauthorized users from gaining access to ...
1
vote
1answer
1k views

How to fingerprint a server with Netcat?

I am trying to follow the OWASP test guide on a Kali Linux machine. As the first step in "Information Gathering" I am trying to fingerprint the server. The guide instructs me to use NetCat: $ nc www....
3
votes
1answer
871 views

Persistent back door using Netcat

I have found the following command several times in one of the linux servers during an assessment: nc -l -p 3030 -e /bin/bash This enables a hacker to gain control over this sever via bash. By ...