Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import string
  2. import urllib2
  3. import boto
  4. print("Boto version: "+boto.Version)
  5.  
  6.  
  7. res = urllib2.urlopen('http://ec2-52-30-7-5.eu-west-1.compute.amazonaws.com:81/key')
  8. res = res.read()
  9.  
  10. keys = res.split(':')
  11. print("ID: " + keys[0])
  12. print("\nKey: " +keys[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement