hbit资产收集工具Docker(笔记版)

1. 安装 Docker

在 Kali 系统中,首先更新软件源,并安装 Docker

复制代码
apt-get update && apt-get upgrade && apt-get dist-upgrade
apt-get install docker.io docker-compose

安装完成后,使用 docker -v 命令验证安装是否成功。

2. 配置 Docker 镜像加速

为加快镜像拉取速度,建议配置 Docker 镜像加速器。

3. 拉取 hbit 镜像

复制代码
docker pull registry.cn-hangzhou.aliyuncs.com/dhub18/hbit:latest

拉取完成后,使用 docker images 命令查看镜像是否存在。

4. 下载 hbit 程序代码

复制代码
mkdir /tools
cd /tools
git clone https://github.com/alwaystest18/hbit

5. 创建 domain.txt 文件

在 domain.txt 文件中,每行输入一个一级域名

复制代码
example.com
testsite.org

6.运行 hbit

在 hbit 程序目录下,执行以下命令启动 hbit

复制代码
docker run -it --rm \
  -v $PWD/reports:/tools/hbit/reports \
  -v $PWD/domain.txt:/tools/hbit/domain.txt \
  -v $PWD/provider-config.yaml:/root/.config/subfinder/provider-config.yaml \
  -v $PWD/config/config.yaml:/tools/hbit/config/config.yaml \
  registry.cn-hangzhou.aliyuncs.com/dhub18/hbit:latest \
  /bin/bash -c "cd /tools/hbit && ./hbit -df domain.txt"
复制代码
相关推荐
知已难寻7 小时前
Docker 入门:容器技术与 Docker 基础
java·运维·服务器·docker·云原生·容器
xbzb12 小时前
镜像到底存在哪:/var/lib/docker 的四级映射与 daemon.json 配置
docker·容器·json·镜像·daemon.json·四级
Alluxio14 小时前
Alluxio + OCI:为 AI 工作负载实现亚毫秒访问延迟与可扩展吞吐
运维·数据库·人工智能·分布式·缓存·ai·语言模型
Sayai19 小时前
Neo4j 图数据质量检查实战:环路检测、孤立节点与连通分量,两条 Cypher 引出的数据体检清单(含变长路径性能陷阱)
运维·neo4j·图数据库·数据质量·cypher
Elastic 中国社区官方博客19 小时前
更少的位数,相同的召回率:DiskBBQ 更保守的自动校准扫描
大数据·运维·开发语言·人工智能·elasticsearch·搜索引擎
方便面不加香菜19 小时前
Docker Volume -- 管理卷Volume详解
运维·docker·容器
沫璃染墨20 小时前
从零入门计算机网络系列(十八):TCP连接管理详解——从三次握手与四次挥手到TIME_WAIT机制
运维·服务器·网络·c++·网络协议·tcp/ip·tcp
Felven20 小时前
华为鲲鹏920s芯片serdestool工具使用说明
linux·运维·服务器·华为·鲲鹏920·serdestool
江湖有缘20 小时前
Docker实战 | 使用Docker部署lemonitor镜像站点列表程序
运维·docker·容器
莫晓燚21 小时前
mall 电商项目完整部署---实战
linux·运维·docker·容器