SHARE
TWEET

Untitled

a guest Jan 19th, 2019 295 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top