This commit is contained in:
Jing Ling
2020-08-01 13:55:32 +08:00
parent 08db52e946
commit f5e88e0b05
15 changed files with 7 additions and 22 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ Collect subdomains from ContentSecurityPolicy
"""
import requests
from common import utils
from common.module import Module
from config.log import logger
@@ -79,4 +78,4 @@ def do(domain, header=None): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
resp = requests.get('https://content-security-policy.com/')
do('google-analytics.com', resp.headers)
do('google-analytics.com', dict(resp.headers))