Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import requests
  2. import re
  3.  
  4. def get_link(result):
  5. link = re.findall("(https[^\s]+)", result)
  6. print link[0]
  7. return link[0]
  8.  
  9. def main():
  10. link = "https://curlpipebash.teaser.insomnihack.ch/print-flag.sh"
  11. while True:
  12. ans = requests.get(link)
  13. link = get_link(ans.content)
  14.  
  15. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement