Guest User

Untitled

a guest
Oct 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. set rmt_server [lindex $argv 0]
  2. set count [lindex $argv 1]
  3.  
  4. while {$count > 0 } {
  5. spawn openssl s_client -brief -dtls1 -connect $rmt_server
  6. expect "Server Temp Key:"
  7. send "Hello DTLS\n\x04"
  8. expect "DONE"
  9. set count [expr $count-1];
  10. }
Add Comment
Please, Sign In to add comment