Skip to content

Instantly share code, notes, and snippets.

View starkxun's full-sized avatar
🏠
Working from home

starkxun starkxun

🏠
Working from home
View GitHub Profile
@starkxun
starkxun / all.txt
Created August 14, 2024 08:06 — forked from jhaddix/all.txt
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@starkxun
starkxun / parsebuildwith.py
Last active July 15, 2024 15:24
解析提取buildwith网站的apex域名
from bs4 import BeautifulSoup
# 设置输出文件路径
output_file = "output.txt"
with open("temp.html", "r", encoding='utf8') as f, open(output_file, "w", encoding='utf-8') as outfile: # 指定编码方式为 GBK
soup = BeautifulSoup(f, 'lxml')
for a_tag in soup.select('tr > td:nth-of-type(2) > a'):
outfile.write(a_tag.text + "\n")
@starkxun
starkxun / parseHTML.py
Last active July 11, 2024 07:43
提取crt搜索结果的域名
from html.parser import HTMLParser
import re
class MyHTMLParser(HTMLParser):
def __init__(self):
super().__init__()
self.in_tr = False
self.td_count = 0
self.fifth_td_content = None