Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __author__ = 'nipun'
- import os
- ip="127.0.0.1"
- l=ip.split('.')
- first_octet=l[0]
- second_octet=l[1]
- third_octet=l[2]
- fourth_octet=l[3]
- user="root@"
- os.system("ssh -t"+user+
- first_octet+'.'+
- second_octet+'.'+
- second_octet+'.'+
- third_octet+'.'+
- fourth_octet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement