备忘录:域名扫描以及字典生成
本文最后更新于224 天前,其中的信息可能已经过时,如有错误请发送邮件到[email protected],亦或是留言提醒站长!你也可以通过 https://t.me/shiinabulog 联系我!

之前无聊扫了点三字符的.de域名,于是写了这个域名扫描的流程做个备忘录

域名扫描程序

1.uselibrary/DomainCheck: Check the available domain of a TLD with dict, based on Python.

2.dynos01/DomainScanningTool: A bulk domain scanning tool

都是基于python

字典生成

1.全球Whois查询 – 天天hu,天天新米 (tian.hu)

2.写了个python脚本来生成aabb/abab类域名,可自行修改调整

import string
import itertools

letters = list(string.ascii_lowercase)
def generate_aabb():
  results = []
  for a in letters:
    for b in letters:
      if a != b:
        results.append(a + a + b + b)
  return results

aabbs = generate_aabb()

with open('aabbs.txt', 'w') as f:
  for aabb in aabbs:
    f.write(aabb + '\n')

print('结果已保存到aabbs.txt')

修改append就可以换生成的类型了,其他变量自行修改即可

扫描示例

root@seok:~/DomainScanningTool# python3 DomainScanningTool.py
Domain scanning tool version 1.0.3
Author: dynos01 <[email protected]>
Please input a list of DNS servers (IPv4 or IPv6), which will be used to check against: 8.8.8.8:53
Please input the suffixes to be scanned. If you want to scan multiple suffixes at once, please use commas to separate the list. 
de
Please input the path for dictionary file. 
3za.txt
If you want to save the results to a file, input its path. Otherwise, press ENTER.

Do you want to show unavailable domains? [y/N]: 
All data collected. Press ENTER to start scanning. 
[placeholder].de is available.

 

 


作 者:Serenite
链 接: https://blog.shiina.fun/2023/10/19/%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%9a%e5%9f%9f%e5%90%8d%e6%89%ab%e6%8f%8f%e4%bb%a5%e5%8f%8a%e5%ad%97%e5%85%b8%e7%94%9f%e6%88%90/
来 源:Shiina's Bulog
版 权 声 明:本博客所有文章除特别声明外,均采用CC BY-NC-SA 4.0许可协议。文章版权归作者所有,未经允许请勿转载!


暂无评论

发送评论 编辑评论


|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇