No description
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C 86.3%
  • Makefile 13.1%
  • CMake 0.4%
  • Roff 0.1%
Find a file
2024-06-16 07:12:09 +00:00
conf 初始化提交 2023-12-25 19:27:12 +08:00
examples 初始化提交 2023-12-25 19:27:12 +08:00
lib 初始化提交 2023-12-25 19:27:12 +08:00
scripts 初始化提交 2023-12-25 19:27:12 +08:00
src 初始化提交 2023-12-25 19:27:12 +08:00
10gigE.md 初始化提交 2023-12-25 19:27:12 +08:00
AUTHORS 初始化提交 2023-12-25 19:27:12 +08:00
CHANGELOG.md 初始化提交 2023-12-25 19:27:12 +08:00
checkFormat.sh 初始化提交 2023-12-25 19:27:12 +08:00
CMakeLists.txt 初始化提交 2023-12-25 19:27:12 +08:00
CONTRIBUTING.md 初始化提交 2023-12-25 19:27:12 +08:00
Dockerfile 初始化提交 2023-12-25 19:27:12 +08:00
format.sh 初始化提交 2023-12-25 19:27:12 +08:00
INSTALL.md 初始化提交 2023-12-25 19:27:12 +08:00
LICENSE 初始化提交 2023-12-25 19:27:12 +08:00
README.md Update README.md 2024-06-16 07:12:09 +00:00

ohxmap: The Internet Scanner

说明

配合ohmydns使用的探测端代码基于xmap魔改

使用

源码编译

准备环境:

sudo apt-get install build-essential cmake libgmp3-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config libunistring-dev

cmake .
make -j4
make install

docker

也可以利用dockerfile生成docker镜像,在仓库文件夹下执行:

docker build -t hdk/xmap -f Dockerfile .

运行

参数配置含义可参考xmap

本代码在xmap的基础上修改了dst-ip模式下的域名生成规则以满足和ohmydns配套使用。如下展示了使用docker镜像运行ohxmap进行IPv4-IPv6 DNS关联挖掘的配置参数示例

docker run -dit --net=host --name=xmap --restart=always hdk/xmap -4 -x 32 -p 53 -M dnsx -O json --output-fields="saddr,clas" --output-filter="success = 1 || success = 0" -P 1 --probe-args="dst-ip:recurse:text:TXT,ipv4.n64.top" -R 8000 -o result.txt