SHARE
TWEET

sendmess2-in-socket-linux-bash

tolikpunkoff Mar 23rd, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>&-
RAW Paste Data
Want to get better at Bash?
Learn to code Bash in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top