fyodor
86e59a8c4e
Update copyright statements from 2010 to 2011
2011-01-21 00:04:16 +00:00
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
luis
da126c8b78
Merged nmap-dedup branch from nmap-exp/luis/nmap-dedup. This completes the Nmap/Nping code de-duplication phase.
2010-06-22 17:24:34 +00:00
fyodor
1aecac420f
Update copyright year from 2009 to 2010
2010-05-03 21:20:25 +00:00
luis
a5ca31db9e
Replaced nmap's hex dump functions with new hexdump() included in nbase. Before
...
Nmap used two functions: one of them, hdump(), just printed raw hex bytes
(no ASCII equivalents) and the other one, lamont_hdump() had a bug when
printing buffers where bufflen%16==3. A new function has been implemented
from scratch, that basically produces the same output as Wireshark.
Output looks like this:
0000 e8 60 65 86 d7 86 6d 30 35 97 54 87 ff 67 05 9e .`e...m05.T..g..
0010 07 5a 98 c0 ea ad 50 d2 62 4f 7b ff e1 34 f8 fc .Z....P.bO{..4..
0020 c4 84 0a 6a 39 ad 3c 10 63 b2 22 c4 24 40 f4 b1 ...j9.<.c.".$@..
Changes:
- The new hexdump() function has been added to nbase.
- Old hdump() and lamont_dump() have been removed from nmap's code.
- A wrapper to the new hexdump(), called nmap_hexdump(), has been added
to nmap's utils.cc. The wrapper basically prints the buffer returned
by hexdump() using nmap's log_write() function.
2009-08-25 18:09:19 +00:00
david
7c94424d70
Print out a debugging message with a file handle before closing it, not
...
after, in mmap_file on Windows.
2009-08-24 21:53:27 +00:00
josh
df71e36084
Updated uses of the ctype function to support explict casting of the arguments
...
to (int)(unsigned char).
2009-08-06 15:10:00 +00:00
fyodor
d0e21e1d03
Suggest that people send patches to nmap-dev rather than to me directly
2009-04-15 00:37:03 +00:00
fyodor
eccc235d5a
Increase copyright year to 2009, simplify/reword some derivative works text, and remove a confusing clause about selling proprietary front-ends to Nmap
2009-03-31 04:16:12 +00:00
david
940a7fbed4
In genfry (general array-scrambling function), don't swap an array element with
...
itself. memcpy is undefined when the source and destination overlap. Thanks to
Brandon for uncovering this.
2009-02-26 23:47:00 +00:00
kris
c6cd59cc16
pass flags from Send() to send()
2008-12-21 22:46:22 +00:00
kris
bc3b9484e6
Move tval2msecs() to Nbase for reuse
2008-07-15 20:06:05 +00:00
fyodor
779b96a197
trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db
2008-05-22 20:45:32 +00:00
fyodor
10b54b773b
minor license template updates from Kris--fix gnu.org link to GPLv2 (moved) and openssl license filename (COPYING.OpenSSL)
2008-05-05 04:10:00 +00:00
fyodor
5551c5a311
o Fixed a bunch of code to avoid compilation warning messages (at
...
least on some Linux machines) [Andrew J. Bennieston]
2008-04-09 02:11:20 +00:00
fyodor
1accc12fb2
fix typo in legal header found by Leigh Zhao (missing word: of)
2008-02-28 18:52:06 +00:00
fyodor
29c912f394
URL change from http://insecure.org/nmap/ * to http://nmap.org/ *
2008-01-17 07:22:03 +00:00
fyodor
8220c8a42f
update copyright line at the top of files from 1996-2006 to 1996-2008
2007-12-22 06:32:03 +00:00
david
c517a80acd
Use just PAGE_READWRITE, not PAGE_READONLY | PAGE_READWRITE in the call to
...
CreateFileMapping in utils.cc. The combination of two flags was illegal, and
caused a crash that looks like
..\utils.cc(996): CreateFileMapping(), file 'testresume', length 103,
mflags 000
00006: The parameter is incorrect.
(87)
The crash could be caused by resuming a scan with --resume on Windows.
2007-12-14 09:06:45 +00:00
kris
8de1fda6b3
Removing numberlist2array(); it's unused since David switched the ping port selection to use the same mechanism as port scans (e.g. using -PShttp*).
2007-11-15 22:42:17 +00:00
kris
48dec59470
just fixing some typos in some comments and an error string
2007-09-19 19:43:23 +00:00
kris
0b50c16b38
Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf().
2007-08-14 06:46:54 +00:00
fyodor
8dc9673928
merge soc07 r5085 - Changing bare printf()s to log_write(LOG_PLAIN,)s because these were always printed even when things like XML and greppable output were sent to stdout (e.g. -oX -). This also adds o.scriptTrace() to make --script-trace behave more like --packet-trace and --version-trace. Nsock tracing was done unconditionally in NSE, and that has been changed to only be done when o.scriptTrace() is true.
2007-08-11 05:13:16 +00:00
fyodor
c0ad899d57
merge soc07 r5069:5072 - Fix for character case bug in wildtest found by David; Nicer error message for anyone dumb enough to use negative frequency values.
2007-08-11 05:08:37 +00:00
fyodor
8d74bbcd8a
merge soc07 r4871:4884 and r4888 - renaming __FUNCTION__ to __func__ and changing hardcoded func names to __func__
2007-08-11 04:06:09 +00:00
fyodor
e51abafe02
merge soc07 r4727 - Added --top-ports/--port-ratio and wildcard/[] -p switch extensions.
2007-08-11 02:58:03 +00:00
kris
f221d54908
Change a little over 10 malloc()s and realloc()s to their safe_* equivalents (which let's us get rid a two checks on the returned mem elsewhere in the code).
2007-02-25 15:43:56 +00:00
fyodor
fd8208039e
fix bug in Marek's IP option code
2006-11-20 03:48:57 +00:00
fyodor
d7ee3ebfa7
parse_nmap_service_probe_file may not be static, some changes to osscan.cc for more verbose scripts/fingerdiff support
2006-09-12 03:35:29 +00:00
fyodor
10ffae41cf
spellcheck patch
2006-09-05 08:39:32 +00:00
fyodor
9cbae88f44
Add -ip-options support
2006-08-29 03:26:00 +00:00
fyodor
b28d51167c
Minor source code header improvements
2006-08-25 01:47:49 +00:00
fyodor
a403864351
Replace file headers, mostly to update copyright to 2006
2006-08-24 04:43:50 +00:00
fyodor
76ab1500b3
make a ton of global symbols static
2006-03-05 23:59:46 +00:00
fyodor
848ad2a96a
Nmap 4.02Alpha1 release for Everdream
2006-03-03 23:12:14 +00:00
fyodor
76acd0a496
Nmap 3.98BETA1
2006-01-21 23:57:49 +00:00
fyodor
53c315a49c
Changes from flight back from ShmooCon
2006-01-19 07:29:12 +00:00
fyodor
e2b19b36a3
a bunch of misc. changes
2005-12-29 11:34:45 +00:00
fyodor
b3b937d2ca
Nmap Diet program to reduce memory footprint -- still testing but things seem to be working
2005-12-04 12:21:44 +00:00
fyodor
d187c68017
blah
2005-10-01 23:50:27 +00:00
fyodor
26ce3d66f4
get rid of silly top-level trunk dir
2005-04-11 22:34:19 +00:00