Security Header website:
Scan the target website: https://www.hackthissite.org/
Write the Python Source Code:
import requests domain = "https://www.hackthissite.org/" headers = requests.get(domain).headers if 'X-Frame-Options' in headers: print domain + " NOT VULNERABLE" else: print domain + " VULNERABLE"
Execute Result: