Commit Graph

61 Commits

Author SHA1 Message Date
dmiller 16a39eaf76 Replace instances of sprintf(buf, "literal") with bufset macro 2026-07-17 21:56:27 +00:00
dmiller 75d16aab1b Properly determine device name from target if possible 2026-06-15 15:14:10 +00:00
dmiller 60592283d3 Use libnetutil's IPv6 sending for Nping 2026-06-15 15:14:07 +00:00
dmiller 9d57f456ee Remove unused/empty common.h and common.cc from nping 2026-06-13 06:09:22 +00:00
dmiller ebdec1fa3e Only enforce havePcap if necessary. Fixes #564 2026-05-14 19:35:29 +00:00
dmiller 712f5474d9 Don't allow Eth-related options with --send-ip. Fixes #380 2026-05-07 17:44:21 +00:00
dmiller a35225d3e1 Fix some memory leaks in arg parsing 2026-04-15 21:28:34 +00:00
dmiller 95d380b836 Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
dmiller 1b3ca45054 Compatibility fixes and Github autobuilds. Closes #3214 2026-01-12 16:59:25 +00:00
dmiller 67a796844f Consolidate raw socket acquisition. 2025-06-30 19:24:32 +00:00
nnposter 4ab57093da Match the type in sizeof with the actual declared type 2025-03-23 01:53:03 +00:00
nnposter 7e4fdc9f8b Prevent an off-by-one array overflow. Fixes #3033 2025-03-23 01:44:48 +00:00
dmiller 6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +00:00
dmiller b63eea5eea devname2ipaddr now requires address family, so correct addr is returned. 2024-06-20 20:14:30 +00:00
dmiller f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller 6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller 8dffbd3df9 Avoid deprecated pcap_lookupdev in Nping 2022-08-31 18:39:58 +00:00
nnposter d00a80d398 Implement Evil bit option in Nping. Fixes #2486 2022-06-27 02:38:51 +00:00
dmiller c2d6b01f35 Update links to npcap.com 2022-02-18 17:38:54 +00:00
dmiller dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
fyodor 3aec3f3a07 Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
dmiller 7bf0a7f016 Remove/change some text to describe Npcap, not WinPcap 2021-07-21 22:42:46 +00:00
dmiller ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
dmiller b74f70fb33 Avoid integer overflow in multiplication. See #1834 2019-12-29 05:15:10 +00:00
dmiller c155bf1bdc Be sure to free a strdup'd string in NpingOps destructor. #1834 2019-12-25 20:01:16 +00:00
dmiller a668cdb9c7 Remove some unused windows headers and silence warnings 2019-05-29 16:39:05 +00:00
dmiller d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
fyodor ff62300249 Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text 2018-01-28 21:18:17 +00:00
nnposter 4fa07fc32b Clarifies that the packet count may be 0. Fixes #988 2017-09-11 01:24:49 +00:00
dmiller 9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
fyodor 4bd67aa2fb Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml 2016-12-14 00:12:23 +00:00
dmiller 5806603494 Fix Npcap loading in Nping. Fixes #559 2016-10-07 02:54:03 +00:00
dmiller 6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller 68409b2226 Update copyright date to 2015 2015-06-03 13:01:29 +00:00
dmiller 5adfb3b1de Update copyright notice to 2014 2014-08-16 01:52:33 +00:00
jay 8d5ec9e310 Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/ 2014-08-15 12:09:22 +00:00
fyodor f6f59a7cd7 Auto regeneration with latest template files, etc. 2014-08-13 22:57:43 +00:00
jay d4cf544df6 Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file 2014-08-02 19:29:50 +00:00
jay f5e438b966 Got rid of (unnecessary) spaces in blank lines in *.cc and *.h files.
sed -i 's/^\s*$//'
2014-06-19 11:36:10 +00:00
dmiller 1575c63d7d Spellcheck for Ncat, Nping source files 2014-02-20 21:22:22 +00:00
d33tah ccd0c02a4c Add a lacking space in the license comment. The command I used to do this is:
for file in `grep "* including the terms and conditions of this license text as well.       \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well.       \*/* including the terms and conditions of this license text as well.        */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor 6e01ecd452 Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
fyodor 83fb10ec56 Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
david c9d5dc20e4 Use hex constant for packet count. 2013-05-03 21:31:02 +00:00
david b65987df12 Add NpingOps::echo_payload_set. 2013-05-03 21:30:42 +00:00
david 265b73b6ae Remove unused tcpmss, tcpws, and tcpts from NpingOps. 2013-05-03 21:30:39 +00:00
david 5f557a3766 Use a constant definition to say 'No Payload' 2013-05-03 17:55:07 +00:00
david 74de527b75 Use false, not zero 2013-05-03 17:55:06 +00:00
david 4fb5f91f9c Use false instead of zero to initialize a bool 2013-05-03 17:55:04 +00:00
david 6fb635b86a Use NULL instead of 0 to initialize a pointer 2013-05-03 17:55:02 +00:00