Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/bin/sh
  2. exec 3<>/dev/tcp/127.0.0.1/3030
  3.  
  4. username=xxxxxxxxx # kullanıcı_adı
  5. password=yyyyyyyyy # sifre
  6.  
  7. while read -r -u 3; do
  8.  
  9. if [[ $(echo $REPLY | grep ">PASSWORD:Need 'Auth' username/password") ]]; then
  10. echo "username \"Auth\" $username" >&3
  11. echo "password \"Auth\" $password" >&3
  12. else
  13. echo "Ignoring message: $REPLY" >&2
  14. fi
  15. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement