
Website for ail-typo-squatting library
ail-typo-squatting 库的网站。该网站深受 dnstwist 网站 的启发。

需要运行的主脚本是 Flask_server.py,但你可以从以下步骤开始:
conf/conf.cfgexternal_script/warning_list/generate_warning_list.py在 Advanced 选项中,可以选择算法来从域名生成变体。
共有 20 种算法可供选择。列表可在此处找到。
搜索后,可以下载变体列表以便复用,也可以将结果下载为 Json 格式。
搜索后,在 download 按钮下,可以下载 Json 格式的 Misp 事件,或跳转到 misp-feed 页面。
可以通过复制 share 按钮提供的 url 来分享会话,该按钮会在搜索结束时出现。
注意:目前会话会保留 1 小时
搜索完成后,结果会存储到 redis 数据库中,以便分享会话,或在第二次搜索同一域名时更快地返回结果。
session_uuid:
url : 域名result_list : dns 查询的所有结果(将被移除)variations_list : 变体列表(用于状态显示)stopped : 布尔值,用于判断会话是否已停止(当其他人搜索同一域名时很有用)md5url : 域名的 md5sumrequest_algo : 搜索所使用的算法列表(用于仅返回该会话的结果)md5_of_domain:algo : 给定算法的结果列表(当不同的人使用不同算法搜索同一域名时使用)event_manifest:session_uuid : 事件的清单(manifest)event_hashes:session_uuid : 事件的哈希event_json:session_uuid : 事件的 json仅当 Flask_api.py 正在运行时,此功能才有效。
首先,你需要通过传入要分析的地址来获取你的 sid:
curl http://localhost:7006/scan/<url>
其次,可以使用以下命令获取 dns 检查的结果:
curl http://localhost:7006/domains/<sid>
通过在请求中传递参数,可以选择要运行的算法。
curl "http://localhost:7006/scan/url?charom&add"
runAll
addDash
addTld
addition
changeDotDash
changeOrder
commonMisspelling
doubleReplacement
homoglyph
homophones
missingDot
omission
repetition
[
{"circl.lu":{"A":["185.194.93.14"],"AAAA":["2a00:5980:93::14"],"MX":["10 cppy.circl.lu."],"NS":["ns3.eurodns.com.",...],"NotExist":false,"geoip":"Luxembourg"}}, ...
{"complete":1535,"id":"3322fa4f-52a0-43cb-a057-22bc07bdde01","registered":2,"remaining":4372,"total":5907}
]
当前扫描的状态可以在 json 输出的末尾找到,其含义如下:
complete: 已检查的变体数量
id: 当前扫描的 id
registered: 可通过 dns 访问的变体数量
remaining: 完成扫描仍需检查的变体数量
total: 生成的变体总数
replacement
singularPluralize
stripDash
vowelSwap
wrongTld