import requests

url = 'https://www.exploit-db.com/search?cve=2018-15152'
header = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}


result = requests.get(url, headers=header, timeout=(3.5, 27))
print("le code de retour est : " + str(result.status_code))


data = result.text

print(data)


fichier = open("htmlLoadPage.txt","w")
fichier.write(data)
fichier.close()





