# _*_ coding:utf-8 _*_
# 简单子域名收集脚本
import requests
from bs4 import BeautifulSoup
from urllib.parse import urlparse
import sys
def bing_search(site, pages):
Subdomain = []
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0',
'Accept': 'test/html,application/xhtml+xml,applicatinon/xml;q=0.9,*/*;q=0.8',
'Accept-Language':
python---简单的子域名收集脚本
![](https://img-home.csdnimg.cn/images/20240711042549.png)