Sublert 开源项目使用教程

Sublert 开源项目使用教程

sublertSublert is a security and reconnaissance tool which leverages certificate transparency to automatically monitor new subdomains deployed by specific organizations and issued TLS/SSL certificate.项目地址:https://gitcode.com/gh_mirrors/su/sublert

1. 项目的目录结构及介绍

Sublert 是一个用于监控特定组织新部署子域名的安全与侦察工具。以下是其目录结构的概览:

sublert/
├── config/
│   └── sublert.cron
├── logs/
├── requirements.txt
├── run.sh
├── sublert.py
└── README.md
  • config/:包含配置文件,如 sublert.cron 用于定时任务配置。
  • logs/:用于存储日志文件。
  • requirements.txt:列出了运行 Sublert 所需的所有 Python 依赖包。
  • run.sh:启动脚本。
  • sublert.py:主程序文件。
  • README.md:项目说明文档。

2. 项目的启动文件介绍

Sublert 的启动文件是 sublert.py。这个文件是整个工具的核心,负责监控新子域名的发现和通知。

# sublert.py 部分代码示例
import os
import sys
import requests
from datetime import datetime

def main():
    # 主函数逻辑
    pass

if __name__ == "__main__":
    main()

3. 项目的配置文件介绍

Sublert 的配置文件主要位于 config/ 目录下,其中最重要的是 sublert.cron。这个文件用于配置定时任务,确保 Sublert 能够定期运行。

# sublert.cron 示例
0 0 * * * /path/to/python /path/to/sublert.py >> /var/log/sublert.log 2>&1

这个配置表示每天午夜运行一次 Sublert,并将输出重定向到 /var/log/sublert.log 文件中。

通过以上配置和启动文件,Sublert 能够自动监控并通知新发现的子域名。

sublertSublert is a security and reconnaissance tool which leverages certificate transparency to automatically monitor new subdomains deployed by specific organizations and issued TLS/SSL certificate.项目地址:https://gitcode.com/gh_mirrors/su/sublert

  • 15
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵇习柱Annabelle

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值