diff options
| author | 韩丁康 <[email protected]> | 2024-06-16 07:12:09 +0000 |
|---|---|---|
| committer | 韩丁康 <[email protected]> | 2024-06-16 07:12:09 +0000 |
| commit | 5f6b938746b2a14b380e2880e05a45d26388ac69 (patch) | |
| tree | cd727743b315e0a2f8ea45b5d5d6ce4f88fb4159 | |
| parent | a5871a2506b149dd273639e1d79e815aa8482ec0 (diff) | |
| -rw-r--r-- | README.md | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,8 +1,9 @@ -XMap: The Internet Scanner +ohxmap: The Internet Scanner ## 说明 配合ohmydns使用的探测端代码,基于xmap魔改 ## 使用 +### 源码编译 准备环境: ```shell sudo apt-get install build-essential cmake libgmp3-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config libunistring-dev @@ -23,3 +24,17 @@ make -j4 ``` shell make install ``` + +### docker +也可以利用dockerfile生成docker镜像,在仓库文件夹下执行: +``` shell +docker build -t hdk/xmap -f Dockerfile . +``` + +### 运行 +参数配置含义可参考[xmap](https://github.com/idealeer/xmap) + +本代码在xmap的基础上修改了dst-ip模式下的域名生成规则,以满足和ohmydns配套使用。如下展示了使用docker镜像运行ohxmap进行IPv4-IPv6 DNS关联挖掘的配置参数示例 +``` shell +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 +``` |
