python 正则提取url然后去重URL
做渗透测试的时候 各家子域名工具格式不一样,就写了个提取URL并且去重的工具import redef url_regular (): fopen = open('url.txt', 'r', encoding='utf-8') file = fopen.readlines() url_output = [] new_urls = [] for i in file: i = i.strip('\n') url_re = re.fin
原创
2020-09-24 17:55:29 ·
556 阅读 ·
0 评论