fyodor
e29ecc4a76
remove scripts/data directory since it is empty and has been for more than 2 months. I'm not opposed to resurrecting it once we have something to put there
2009-01-23 07:15:58 +00:00
fyodor
197b228b4d
remove complex timeout system (based on -T level) of Banner NSE script, and instead always wait five seconds.
2009-01-23 05:22:06 +00:00
fyodor
0823b8d1d8
slight rewording
2009-01-23 02:14:09 +00:00
fyodor
93df29c326
some previously-unknown services are now named
2009-01-23 02:13:47 +00:00
fyodor
8560b99618
Version number update to 4.77BETA, and some CHANGELOG updates (I'm not done) in prep for release
2009-01-23 02:12:34 +00:00
david
95fcd4966d
Define _FORTIFY_SOURCE=2 in nmap, nbase, ncat, and nsock. This
...
definition causes GCC to add extra security checks to compiled source
code. See http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html .
-D_FORTIFY_SOURCE=1 adds only those checks that are not supposed to
cause any "conforming" program to fail. (Conforming to what I'm not
sure, probably one of the C standards.) -D_FORTIFY_SOURCE=2 adds extra
checks above that. Some light testing hasn't shown any obvious problems.
2009-01-22 21:00:40 +00:00
fyodor
8daf8b1474
o Update Windows installer to handle Windows 7 (tested with the Beta
...
build 7000) [Rob Nicholls]
2009-01-22 19:38:29 +00:00
david
19d919f15b
Some proofreading in refguide.xml. Remove the parenthetical "(New format
...
nmap-services only.)" because the new format is the default.
2009-01-21 17:24:10 +00:00
david
9c661c3ef4
Capitalize a couple of uncapitalized sentences in the reference guide.
2009-01-21 17:19:19 +00:00
david
c4b27a31b4
Don't ignore host state changes when the change is to the state "unknown". This
...
happens when a host was scanned in the A scan but wasn't scanned in the B scan.
I previously had it ignore such changes using the logic that the diff should be
like scan aggregation: no new information means no state change. But I think
it's more useful to see those changes in which hosts were scanned.
This is analogous to r10263, which did the same thing for port state changes.
2009-01-20 21:02:15 +00:00
fyodor
47198b7159
remove a stray period
2009-01-20 09:38:22 +00:00
david
0844aa18af
Remove redundant "Daytime: " from the output of daytime.nse. It looked like
...
|_ daytime: Daytime: Mon Jan 19 17:43:18 MST 2009
2009-01-20 00:42:32 +00:00
david
1f76d5cc0b
Rework shortport.lua to simplify some code and remove leading underscores from
...
parameter names.
2009-01-20 00:11:05 +00:00
david
bad22b8c60
Give the default value ("public") in the NSEDoc for the snmpcommunity script
...
argument in snmp-sysdescr.nse.
2009-01-19 23:23:20 +00:00
david
7307d28e88
Let daytime.nse run against both TCP and UDP port 13. It only did UDP before.
...
RFC 867 says the service runs over both protocols.
2009-01-19 21:55:23 +00:00
david
d9db019495
Let the proto parameter in the shortport functions take a table like the other
...
functions do, so you can say {"tcp", "udp"}.
2009-01-19 21:54:00 +00:00
david
5a5df904f1
Factor out the code that checks for an element in a table from shortport.lua to
...
eliminate some nested loops.
2009-01-19 21:46:39 +00:00
fyodor
2e5795b109
o Nmap now reports a proper error message when you combine an IPv6
...
scan (-6) with random IPv4 address selection (-iR). [Henri Doreau]
2009-01-19 20:22:59 +00:00
fyodor
57b4b9894b
sorting
2009-01-19 20:22:40 +00:00
david
1a922e8ae7
Change one device type "remote-management" to "remote management" in
...
nmap-service-probes to match the other signatures.
2009-01-19 19:22:16 +00:00
david
d4b0fa6ece
require 'bin' in base64.lua.
2009-01-19 04:57:34 +00:00
david
aef760f2f3
Add patch from Henri Doreau that makes --excludefile properly handle files with
...
no terminating newline.
2009-01-14 22:20:18 +00:00
david
6f56ebfc22
In Nsock, handle WSAEADDRNOTAVAIL (errno 10049) as a known connection error
...
rather than allowing an assertion failure. This error code is sometimes
returned by Windows when attempting to scan a broadcast address or port 0.
2009-01-14 20:16:25 +00:00
fyodor
96cc663799
apply a couple small fixes from angico (angico@angico.org)
2009-01-14 00:56:25 +00:00
david
1d6011edbe
Fix a couple of NSEDoc errors.
2009-01-13 15:30:05 +00:00
david
b504fb78fa
Fix some NSEDoc errors.
2009-01-13 00:18:46 +00:00
david
a384e9016f
Document script arguments in
...
pop3-brute.nse: pop3loginmethod, userdb, passdb;
snmp-brute.nse: snmpcommunity, snmplist, userdb, passdb;
snmp-sysdecsr.nse: snmpcommunity;
snmp.lua: snmpcommunity;
unpwdb.lua: userdb, passdb.
2009-01-13 00:10:33 +00:00
fyodor
7b687055db
link to Microsoft Visual C++ 2008 Redistributable Package
2009-01-12 21:59:20 +00:00
david
b3c59b9265
Change an OS generation from "4.2" to "4.X" in nmap-os-db.
2009-01-12 01:40:15 +00:00
david
97617c79b4
Fix an OS fingerprint that had a device type of "SP2".
2009-01-12 00:40:21 +00:00
david
11db61aeb8
Add all 31 OS corrections from January 2008.
2009-01-10 01:40:41 +00:00
david
c0db2ed69b
Add another 283 OS submission, the last of the batch from January 2008.
2009-01-10 00:41:53 +00:00
fyodor
98d06c4b33
note snmpcommunity script argument name
2009-01-09 20:26:23 +00:00
david
16f60b5912
Add another 140 OS submissions.
2009-01-09 03:40:35 +00:00
david
f99573f069
Fix an embarrassing error: In nmap-perf I had moved the bit of code that
...
increases the scan dealy with an increase in max_successful_tryno. When I
reverted a bunch of changes in r11651, I removed the moved code, leaving the
scan delay increase nowhere. This puts it back in ultrascan_port_probe_update
where it was before.
2009-01-08 23:44:08 +00:00
david
90ba6b97d0
Merge from /nmap-exp/david/nmap-perf. A summary of changes:
...
Don't make a host the global ping host until it moves to the completed
hosts list, and only change the global ping probe if the new probe is no
worse than the old (according to pingprobe_is_better).
Restore the ping magnifier for host congestion window updates.
Ignore the timing of certain ICMP errors that are likely to be rate
limited and don't change the port or host state. Avoid making timing
pings out of probes that elicit such errors. This used to be done only
for port scans and only at -T4 and above (and didn't prohibit the
creation of timing pings). Now it is done for host discovery too, and at
all timing levels.
Gracefully handle updates from the recent past in RateMeter. Doesn't
affect performance, but avoids a rare assertion failure.
2009-01-08 22:54:07 +00:00
david
4deb33e3ce
Add the results of 140 OS submissions.
2009-01-08 20:38:53 +00:00
david
58eaf1aed3
Fix a typo in nmap-service-probes: Max OS X -> Mac OS X.
2009-01-08 20:13:29 +00:00
kris
34518abf1d
Reversing r11550 (nsi_set_debug() changelog entry)
2009-01-08 02:13:28 +00:00
david
8ede562551
Broaden the scope of a comment in scan_engine.cc: We don't adjust timing on
...
timeout of any non-ping probe, not just those with tryno == 0.
2009-01-07 23:57:40 +00:00
david
3c4f855e6d
Print NSE event messages with --script-trace also.
2009-01-07 19:50:25 +00:00
kris
5738b65f57
Update two @copyright lines to standard man-legal.html links
2009-01-07 16:15:05 +00:00
david
37601e7f0d
Add to CHANGELOG:
...
o NSE prints messages in debugging mode whenever a script starts or
finishes [Patrick, David].
2009-01-07 04:28:46 +00:00
david
37913d1986
Add times to the NSE event messages.
2009-01-07 04:12:00 +00:00
david
13b7a324e8
Include the script file name, target, and port in the debug messages for each
...
script event: start, finish, timeout, and error. The file name is now stored as
a std::string in struct thread_record so we have it when we don't have access
to the thread's environment.
2009-01-07 00:10:10 +00:00
david
57efc72d8d
Reformat script event debugging output slightly. Handle the formatting of the
...
script target in a dedicated function. Print the thread address only at -d2 and
above.
2009-01-06 22:14:10 +00:00
david
5a745de5c7
Put the "SCRIPT ENGINE:" prefix before NSE script start/stop messages.
2009-01-06 21:57:51 +00:00
david
1c936c60cd
Break out NSE event reporting into separate functions. Include the script file
...
name when a script fails without error. In that case we can grab the file name
directly from the thread.
2009-01-06 21:54:59 +00:00
david
a1631b4d6b
Commit Patrick's NSE patch from http://seclists.org/nmap-dev/2008/q4/0750.html . This provides a -d1 message whenever a script begins or ends.
2009-01-06 21:19:32 +00:00
kris
20ec1c416e
o An "elapsed" attribute has been added to the XML output, representing
...
the total scan time in seconds (floating point).
2009-01-05 05:57:35 +00:00