From 4a6c1b17086dbf9994a5ed1c357b81f989fabbe6 Mon Sep 17 00:00:00 2001 From: idealeer Date: Sat, 8 Apr 2023 10:41:02 -0700 Subject: [PATCH] XMap 1.1.3 Minor Release XMap 1.1.3 Minor Release. * Fix Bugs: * Fix the source port checking issue of DNS modules --- CHANGELOG.md | 5 +++++ README.md | 6 +++--- src/probe_modules/packet.h | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e3b41..aa5054a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,3 +32,8 @@ * XMap 1.1.2 Minor Release. * Fix Bugs: * Fix the print issue of DNS modules + +# 1.1.3 2023-04-08 +* XMap 1.1.3 Minor Release. +* Fix Bugs: + * Fix the source port checking issue of DNS modules diff --git a/README.md b/README.md index 65f43ca..d906cf0 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,14 @@ XMap is a fast network scanner designed for performing Internet-wide IPv6 & IPv4 XMap is reimplemented and improved thoroughly from ZMap and is fully compatible with ZMap, armed with the "5 minutes" probing speed and novel scanning techniques. XMap is capable of scanning the 32-bits address space in under 45 minutes. With a 10 gigE connection and [PF_RING](http://www.ntop.org/products/packet-capture/pf_ring/), XMap can scan the 32-bits address space in under 5 minutes. Moreover, leveraging the novel IPv6 scanning approach, XMap can discover the IPv6 Network Periphery fast. Furthermore, XMap can scan the network space randomly with any length and at any position, such as 2001:db8::/32-64 and 192.168.0.1/16-20. Besides, XMap can probe multiple ports simultaneously. -XMap operates on GNU/Linux, Mac OS, and BSD. XMap currently has implemented probe modules for ICMP Echo scans, TCP SYN scans, [UDP probes](https://github.com/idealeer/xmap/blob/master/examples/udp-probes/README), and **DNS scans (stateless, stateful, or address-spoofing)**. +XMap operates on GNU/Linux, macOS, and BSD. XMap currently has implemented probe modules for ICMP Echo scans, TCP SYN scans, [UDP probes](https://github.com/idealeer/xmap/blob/master/examples/udp-probes/README), and **DNS scans (stateless, stateful, or address-spoofing)**. With banner grab and TLS handshake tool, [ZGrab2](https://github.com/zmap/zgrab2), more involved scans could be performed. Installation ------------ -The latest stable release of XMap is version 1.1.2 and supports Linux, macOS, and BSD. We recommend installing XMap from HEAD rather than using a distro package manager (not supported yet). +The latest stable release of XMap is version 1.1.3 and supports Linux, macOS, and BSD. We recommend installing XMap from HEAD rather than using a distro package manager (not supported yet). **Instructions on building XMap from source** can be found in [INSTALL](https://github.com/idealeer/xmap/blob/master/INSTALL.md). @@ -50,7 +50,7 @@ Watch the description video at [Pentester Academy TV](https://www.youtube.com/wa License and Copyright --------------------- -XMap Copyright 2021 Xiang Li from Network and Information Security Lab Tsinghua University +XMap Copyright 2021-2023 Xiang Li from Network and Information Security Lab Tsinghua University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the diff --git a/src/probe_modules/packet.h b/src/probe_modules/packet.h index d34855d..44e66e4 100644 --- a/src/probe_modules/packet.h +++ b/src/probe_modules/packet.h @@ -332,7 +332,7 @@ __attribute__((unused)) static inline int int32_t min = ((((uint16_t) validation[0]) << 8u) + validation[1]) % num_ports; int32_t max = ((((uint16_t) validation[0]) << 8u) + validation[1] + - xconf.target_index_num - 1) % + xconf.packet_streams - 1) % num_ports; return (((max - min) % num_ports) >= ((to_validate - min) % num_ports));