Python Hacking Tools - Vulnerability Scanner

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:

猜你喜欢

转载自www.cnblogs.com/keepmoving1113/p/11318428.html