1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00
Commit Graph

9911 Commits

Author SHA1 Message Date
david
f55171a088 Add metric to struct route_entry.
Actually getting a nonzero value for the metric is supported only on
Linux and Windows.
2013-02-01 05:01:56 +00:00
paulino
913fbac6d1 Adds entry to detect SCADA SIMATIC S7. Signature taken from Jose Ramon Palanco's script https://github.com/drainware/nmap-scada/blob/master/SIEMENS-Simatic-HMI-miniweb.nse 2013-01-31 18:04:40 +00:00
paulino
b3d3553330 Adds entry to detect SCADA Siemens PCS7. Signature taken from Jose Ramon Palanco's script https://github.com/drainware/nmap-scada/blob/master/Siemens-PCS7.nse 2013-01-31 18:00:11 +00:00
david
5fd515b039 Get rid of ntohs in ip6_ntop.
Byte-swapping is handled by the initial loop that reads into an array of
16-bit integers. That initial loop was added by me in r29708.
2013-01-30 08:47:24 +00:00
david
570a77b414 Use binary strings, not hex strings, internally in ike-version.
Patch by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q1/152
2013-01-30 06:25:32 +00:00
fyodor
1164b75588 Note some done tasks 2013-01-29 00:42:06 +00:00
david
dbdee4792e Keep min/max/avg rtt outputs down to -q. 2013-01-28 22:55:31 +00:00
david
93a245d6e7 Require -v for 'Tx time' and friends in Nping. 2013-01-28 22:55:29 +00:00
david
41b397200b Show ICMP ID and seqno in packet trace by default.
This was previously limited to ippackethdrinfo's medium detail and
above, which required -v in Nping and -d2 in Nmap.
2013-01-28 22:34:37 +00:00
patrik
d79e431e7a nse_check_globals cleanup 2013-01-28 04:28:38 +00:00
david
37ab88e840 Change 'VPN' to 'security-misc' in ike-fingerprints.
We don't have a 'VPN' device type.
http://nmap.org/book/osdetect-device-types.html
2013-01-28 03:11:21 +00:00
david
710b460ac1 Add ike-version and ike library by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q1/49
2013-01-28 03:06:39 +00:00
david
7cb2946d60 Actually set the base addr in NetBlockIPv6Netmask.
This is needed for proper copying of the scope_id.
2013-01-26 05:31:33 +00:00
david
249c566196 Have NetBlock::next return the socklen.
This matters on OS X; with the wrong size, connect scans give "Invalid
argument".
Reported by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q1/84
2013-01-26 05:31:33 +00:00
david
010969b77f Set sa_len of IPv4 to sizeof(sockaddr_in), not sizeof(sockaddr_storage). 2013-01-26 05:31:32 +00:00
david
94fd369de7 Clear the sockaddr_in before filling it in. 2013-01-26 05:31:31 +00:00
david
b8e4f8832c Initialize NetBlock members. 2013-01-26 05:31:30 +00:00
dmiller
fd2130bae1 Update categories for jdwp-exec and jdwp-inject
Categories for both: exploit, intrusive

per http://seclists.org/nmap-dev/2013/q1/105
2013-01-25 21:23:02 +00:00
david
9827b75f82 Whitespace in http-headers. 2013-01-25 17:43:29 +00:00
david
60600a5a77 Update http-headers output. 2013-01-25 17:43:28 +00:00
david
ac2cf33113 http-headers uses HEAD by default, not GET. 2013-01-25 17:43:27 +00:00
david
6784954eee Use more automatic memory management in nmap_dns.cc. 2013-01-25 06:26:23 +00:00
david
c11ceacc1f Get rid of some struct typedefs.
C++ does this automatically. We don't need typedefs here, just some
forward declarations.
2013-01-25 06:26:22 +00:00
david
50a4817671 Remove dynamically allocated fakeargv.
This used to be used to hold the original argv before quashing with -q.
Now that -q is gone, it was just a copy of argv.

fakeargv was also causing Valgrind to complain about leaked memory. it
wasn't a real leak, but now it's out of the report anyway.
2013-01-25 06:26:21 +00:00
david
e77a084790 Restore original docs for ip-forwarding.target.
It was hidden as a @param isntead of an @args.
2013-01-24 18:11:06 +00:00
david
67fdf7fd63 CHANGELOG for Matousek NSEDoc fixes. 2013-01-24 18:04:43 +00:00
david
67aa5516f4 Fix various NSEDoc problems.
Found by David Matousek.
http://seclists.org/nmap-dev/2013/q1/88
2013-01-24 18:04:42 +00:00
david
11ba3ef045 Check NMAP_PRIVILEGED and NMAP_UNPRIVILEGED in Zenmap is_root.
You won't get the "you're not root" dialog if NMAP_PRIVILEGED is set.
Patch by Tyler Wagner.
http://seclists.org/nmap-dev/2013/q1/87
2013-01-24 17:18:13 +00:00
fyodor
572c5cf0cc note some new Nping tasks that David and I discussed today and also some debugging results related to a potential nping issue previously discussed 2013-01-23 23:47:38 +00:00
henri
b4400d0a44 Added static inline wrappers to simplify calls to I/O engine functions. 2013-01-23 22:06:40 +00:00
henri
a7f2788b26 Removed another forgotten vestige of nsock_trace. 2013-01-23 22:06:35 +00:00
henri
0e5e939c00 Added a special NSOCK_LOG_NONE value, to disable all messages. 2013-01-23 21:25:01 +00:00
david
eb98386809 Remove vestiges of nsp_settrace.
Now you call nsock_set_log_function then nsock_set_loglevel.
http://seclists.org/nmap-dev/2013/q1/72
2013-01-22 23:40:16 +00:00
david
01e4c23692 CHANGELOG a side effect of target refactoring: mixed IPv4 ranges and netmasks. 2013-01-22 00:07:16 +00:00
david
e1fba2d663 Merge r30416:30527 from /nmap-exp/david/ipv6-ranges.
This is a refactoring of target parsing that stores different types of
target specifications as different classes. The eventual intention is to
allow easy iteration over each specification for the purpose of IPv6
multicast host discovery.
2013-01-22 00:01:08 +00:00
david
d04f16eb32 Add more to the CHANGELOG about slack descriptors. 2013-01-21 04:44:33 +00:00
david
60e26a8f42 CHANGELOG for nmap-fo.xsl. 2013-01-21 04:36:08 +00:00
david
3381ae7648 Put a link to the nmap-fo.xsl github. 2013-01-21 04:36:07 +00:00
david
deafe16025 Put the usage comment at the top of nmap-fo.xsl. 2013-01-21 04:36:06 +00:00
david
755ca70ea7 Move nmap_fo.xsl → nmap-fo.xsl.
For uniformity with other files in this directory.
2013-01-21 04:36:06 +00:00
david
e46697780d Add nmap_fo.xsl, a stylesheet to transform Nmap XML to FO.
By Tilik Ammon.
http://seclists.org/nmap-dev/2013/q1/14
https://github.com/tilikammon/nmap-to-fo/raw/master/nmap_fo.xsl at
0cf869844e.
2013-01-21 04:36:05 +00:00
david
51c7dc5b7f Increase the number of slack file descriptors in connect scan. 2013-01-21 04:36:03 +00:00
david
2a1abf7b84 Make some return values less confusing. 2013-01-20 12:12:29 +00:00
david
948b3e9bcd Regen .mo files.
This fixes a search-and-replace in r30347 that broke these binary files.
Discovered by eric c4rtman.
http://seclists.org/nmap-dev/2013/q1/53
2013-01-20 11:34:53 +00:00
david
d4ddff34d4 Point the --webxml stylesheet at the new repository.
The old URL at svn.insecure.org was a redirect pointing at the new
svn.nmap.org.
Unfortunately, it appears that the new URL still doesn't work, because
of same-origin issues.
http://seclists.org/nmap-dev/2013/q1/56
2013-01-20 10:23:04 +00:00
djalal
6f5cf53780 o [NSE] Made the vulnerability library able to preserve vulnerability
information across multiple ports of the same host.
2013-01-19 19:00:11 +00:00
david
b1c4f7f012 Localize struct pingtech in scan_engine.cc. 2013-01-18 00:33:03 +00:00
david
58de96cfbe Remove unused pingtune and tcpqueryinfo structs. 2013-01-18 00:33:02 +00:00
david
27c8ff9876 Fix NSEDoc in http-vhosts.
Noticed by David Matousec.
http://seclists.org/nmap-dev/2013/q1/39
2013-01-16 18:46:45 +00:00
david
42b6489312 Limit ventrilo-info to port 3784 (TCP or UDP).
Cf. r30460. We may want to run on more port numbers than just this one,
because the server can be configured to run on other ports. But we don't
want it to run for every open|filtered UDP port by default. We don't
ahve a good way to express anything in between.
2013-01-16 00:29:08 +00:00