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
64 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
108 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 ...
0
votes
0answers
45 views

How can I use netcat to connect back from my meterpreter session to my santoku OS android

I have install netcat in my genymotion VM machine. When I give command through adb nc -l <IP ADDRESS> -p <PORT> -e /system/bin/sh It runs. But when I try to launch this same command from ...
2
votes
0answers
96 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
1k 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
990 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
181 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
974 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
783 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
791 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 ...