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:

 

posted @ 2019-08-07 22:56  晨风_Eric  阅读(202)  评论(0编辑  收藏  举报