No description
- C 86.3%
- Makefile 13.1%
- CMake 0.4%
- Roff 0.1%
| conf | ||
| examples | ||
| lib | ||
| scripts | ||
| src | ||
| 10gigE.md | ||
| AUTHORS | ||
| CHANGELOG.md | ||
| checkFormat.sh | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| format.sh | ||
| INSTALL.md | ||
| LICENSE | ||
| README.md | ||
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