I am new to this forum so please excuse me if I make silly mistakes.
I want to make bash script for me to send data displayed on computer A to computer B via telnet. I have tried the following but this fails.
> echo "crack"
> sed -n 's/XOR: *\(.*\)/\1/p'
> } | telnet $1 6666
I run the script with ./"this file name" and the IP of the destination computer B
Can someone tell me where I am going wrong.