Python Hacking Tools

Security Header website:

https://securityheaders.com/

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:

相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。
原文地址:https://www.cnblogs.com/keepmoving1113/p/11318428.html