//
you're reading...
howto, Linux, OpenSource, security, Solutions

How to transmit/receive ASCII/BINARY data between 2 hosts using netcat and file descriptors

//Server Side//

[root@node1]# nc -l -p 8080 -vvvvv
listening on [any] 8080 …

//Client Side//
[root@node2]# exec 5/dev/tcp/192.168.1.67/8080
[root@node2]# echo “this is a test” >&5
[root@node2]# echo “this is a test” |openssl base64 -e >&5

Discussion

Comments are closed.

%d bloggers like this: