/dev/tcp listen instead of nc listen
51
votes
6
answers
55438
views
With a netcat listener like:
nc -l / > ~/.bashrc
My question is: Is there a way to mimic the capabilities of
nc -l
in my first line with /dev/tcp instead of nc
?
The machines I'm working on are extremely hardened lab/sandbox environment RHEL (no ssh, no nc, no LDAP, no yum, I can't install new software, and they are not connected to the internet)
Asked by h3rrmiller
(13506 rep)
Oct 4, 2012, 06:26 PM
Last activity: Jul 27, 2025, 06:42 PM
Last activity: Jul 27, 2025, 06:42 PM