Advertisement
Guest User

ssh -D script update version 2

a guest
Aug 10th, 2011
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. #! /bin/bash
  2. url="http://neolee.com/free-ssh/"
  3. host="ineolee.co.cc"  # IP: 173.213.115.224
  4. user="freessh"
  5. lport=7070
  6.  
  7. STATUS=1
  8. while (( STATUS > 0 )) ; do
  9.     pw=$(curl -s "$url" | sed '/http:\/\/www.clocklink.com\/.*/!d;s/^.*=pass://')
  10.     plink "$host" -N -ssh -2 -P 22 -l "$user" -pw "$pw" -D $lport -v
  11.     wait
  12. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement