948
I Use This!
Moderate Activity

Commits : Listings

Analyzed about 9 hours ago. based on code collected 1 day ago.
May 20, 2023 — May 20, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Remove inet_aton() checks from configure and HAVE_INET_ATON from config.h.in More... over 17 years ago
Change __BSD_SOURCE references to _BSD_SOURCE. The __FAVOR_BSD and __USE_BSD have double underscores in front, the *_SOURCE only have one. More... over 17 years ago
Change a couple ISPRINT() macro uses to nse_isprint() in nse_string.cc. nse_isprint() just uses ISPRINT() right now anyway. More... over 17 years ago
Tiny change: icmp_hun.ih_void -> icmp_void in osscan2.cc. icmp_void is #define'd to that ugly thing More... over 17 years ago
Use dnet headers for TCP and UDP. This allows us to remove netinet tcp.h and udp.h references, the udphdr_bsd stuff, and the TH_ECE/TH_CWR #defines in tcpip.h. That was easy, but we (Fyodor and I) came to the conclusion that IP and ICMP aren't worth the hassle to switch (I was testing TCP, UDP and IP in my branch). The struct icmp_hdr in dnet isn't setup anything like what we're using now. Then, struct ip_hdr uses ip_addr_t (typedef'd to uint32_t in that ip.h) instead of struct in_addr for the IP addresses, and that would require some dnet modifying to work right. We might be able to come up with some elegant solution for IP, but probably not for ICMP. For now, they're still left up to netinet (or tcpip.h). More... over 17 years ago
oops More... over 17 years ago
UDP --badsum fix More... over 17 years ago
UDP --badsum fix More... over 17 years ago
Added some of my changes to the CHANGELOG More... over 17 years ago
Remove duplicate #define __FAVOR_BSD in nmap.h More... over 17 years ago
Prevent empty 'Fetchfile found' message (with -d2) from nmap_fetchfile() when it wasn't actually found. More... over 17 years ago
Merging my UDP localhost patch. It fixes the UDP scan on localhost picking up it's own port. It also fixes the TCP one so that it doesn't print a message (with -d) about receiving a response with unexpected flags (like getting a SYN for a SYN scan because it's our port). The problem was that the IP ID wasn't ntohs()'d while checking for this, so we still saw our port on UDP. I simply copied this to the TCP part to avoid the message. More... over 17 years ago
Merging my --scanflags change. This allows 'ECE', 'CWR', 'ALL' and 'NONE' to be used. They've all been possible to set using a number, but I like names more :) More... over 17 years ago
Fix some typos, one in output. IPPROTO_TCP -> IPPROTO_IP (2), extre -> extra, /etc/protocol -> /etc/protocols More... over 17 years ago
fix some typos (applie -> apple) reported by Matthew Boyle More... over 17 years ago
Merging my IGMP -sO patch. This adds build_igmp_raw() to easily build IGMP packets and uses it for -sO. Systems respond more when these packets are sent with an actual IGMP header. The RFC says they MUST verify the checksum, so that's most likely why I always got open|filtered instead of open. Since the different IGMP types all seem to have the checksum in the same place in the packet, it should at least tell us if it's supported or not even if the rest of the header is bogus (because the rest of the header has changed a little bit between the versions). More... over 17 years ago
Merging my -sO -p-XX, rangestart=0 patch. Also (new change) if it's like -sO -pXX-, we cut off rangeend at 255 instead of 65535 so we don't have to do the extra looping later in a while(). IP Proto scanning cant be used along with TCP or UDP scans so cutting it off here works better. More... over 17 years ago
just moved an entry More... over 17 years ago
A few changes to fileexistsandisreadable() (I can't leave this thing alone, can I? :)). First, 'status' is initialized to 0 instead of -1 because if stat() succeeds, but 'pathname_buf' isn't readable at all, this function was returning that -1 (which it shouldn't because the comment says 0, and nmap_fetchfile() checks for a non-zero return value and assumes it found something, but it wasn't breaking anything). Also, access() is now only called once and then the directory-check is done. And finally the comment now explicitly states that 1 is returned if it's readable and not a directory instead of just non-zero. This also just uses S_ISDIR() for testing for a directory, so it might actually be a portability enhancement because WIN32 apparently doesn't have S_ISDIR() and in nbase.h it's defined to something different just than ANDing with S_IFDIR. More... over 17 years ago
This may sound weird, but I just cut nse_macros.h in half. The same thing was put in twice, so I deleted the second one (half of the file). I split it into two files/halves to test it out, and a diff came up empty. So yeah :) More... over 17 years ago
Allow environment variable NMAP_UNPRIVILEGED to be equivalent to --unprivileged as NMAP_PRIVILEGED is to --privileged. More... over 17 years ago
Just fixed a couple of typos. 'msx-scan-delay' -> 'max-scan-delay' under the Timing Report (-d), and 'Mapps' -> 'Maps' in a comment. More... over 17 years ago
[no comment] More... over 17 years ago
Added a bunch of nmap-services port listings from Stephanie Wen (goddessstephie) More... over 17 years ago
Hopefully final --iflist bug the routes are now displayed correctly More... over 17 years ago
typo: cannon -> canon More... over 17 years ago
note that --iflist bug is fixed More... over 17 years ago
fixed wrong alignment of nmap output table when using --iflist More... over 17 years ago
Fixed a bug which prevented the --without-liblua compilation option from working. Thanks to Kris Katterjohn for the patch. More... over 17 years ago
clean patches by Kris: remove c++ comments in nmapfe and nsock, and remove superscan prototype from scan_engine.h More... over 17 years ago