Advertisement
tolikpunkoff

sendmess2-in-socket-linux-bash

Mar 23rd, 2017
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "Open"
  4. exec 3>/dev/tcp/10.10.0.30/11000
  5.  
  6.  
  7. echo -e $1
  8. echo -e $1 >&3
  9.  
  10. echo "Close"
  11. exec 3>&-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement