diff options
Diffstat (limited to 'README.md')
| -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 +``` |
