Difference between revisions of "Netcat"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
:<code>nc -l -p ORIGIN_PORT -c 'nc DESTINATION_IP DESTINATIO_PORT'</code> | :<code>nc -l -p ORIGIN_PORT -c 'nc DESTINATION_IP DESTINATIO_PORT'</code> | ||
:<code>nc -l -p 2222 -c 'nc 10.10.10.4 8888'</code> | :<code>nc -l -p 2222 -c 'nc 10.10.10.4 8888'</code> | ||
+ | |||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[iperf]]</code> | ||
+ | |||
+ | |||
== See also == | == See also == |
Revision as of 13:49, 19 February 2020
This article is a Draft. Help us to complete it.
nc examples
echo "text to send" | nc IP port
echo "text to send" | nc 10.10.10.10 54
- Forward port:
nc -l -p ORIGIN_PORT -c 'nc DESTINATION_IP DESTINATIO_PORT'
nc -l -p 2222 -c 'nc 10.10.10.4 8888'
Related commands
See also
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF telnet
,netcat, nc, nc -l
,ncat
,socat, ngrok
- Security tools: Vulnerability scanner, port scan, Host sweep,
nmap
,nping
,ncat, nc
,psad
, Gordon Lyon
Advertising: