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

9911 Commits

Author SHA1 Message Date
david
7ab5fce301 150 OS submissions. 2013-06-21 20:52:58 +00:00
david
9f70e54a89 100 OS submissions. 2013-06-21 03:55:41 +00:00
david
80d29c4019 100 OS submissions. 2013-06-21 03:04:01 +00:00
david
e7f22c5aed Actually show the error message from ReceivePacket failure. 2013-06-19 23:53:37 +00:00
david
d1eae0196a Tabs to spaces. 2013-06-19 15:19:09 +00:00
dmiller
18bbf3e714 Update script.db for new http scripts 2013-06-18 18:14:32 +00:00
david
83c8e1a9d0 Retab ssl-cert.nse. 2013-06-18 03:58:47 +00:00
david
1a6b5448d0 Show debug info for every match.
Based on a patch by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q2/347
2013-06-18 03:44:53 +00:00
david
e73585590e Add additional constants in ike.lua.
Based on a patch by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q2/347
2013-06-18 03:44:48 +00:00
david
b5abe59cf9 Use a mutex for ike.lua's bind to udp/500.
Based on a patch by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q2/347
2013-06-18 03:44:43 +00:00
david
13fd6d1107 Capitalize constant table names in ike.lua.
Based on a patch by Jesper Kückelhahn.
http://seclists.org/nmap-dev/2013/q2/347
2013-06-18 03:44:38 +00:00
david
af5f103b5f Whitespace in ike.lua. 2013-06-18 03:44:32 +00:00
sophron
1614b7f594 [NSE] Added http-comments-displayer that extract HTML comments from HTTP responses. 2013-06-18 00:48:01 +00:00
sophron
9b4368e253 [NSE] Added http-fileupload-exploiter that exploits insecure file upload forms in web applications using various techniques. 2013-06-18 00:42:59 +00:00
david
42f3bcfdea fixing one typo in original ncat_core.c (atleast=>at least)
Originally by d33tah in r30940 in /nmap-exp/d33tag/ncat-lua.
2013-06-18 00:26:21 +00:00
david
8cc4ae518c 100 OS submissions. 2013-06-17 22:54:34 +00:00
henri
c12b2e4370 Fixed indentation. 2013-06-17 19:23:41 +00:00
henri
4f36ba9798 Stop parsing TCP options after reaching EOL in libnetutil. Bug reported
by Gustavo Moreira.
2013-06-17 18:19:24 +00:00
david
244e3234cc 150 OS submissions. 2013-06-17 17:47:50 +00:00
henri
f26be606aa Updated my nsock roadmap/todolist 2013-06-15 20:52:03 +00:00
henri
9bfe6e46cc Display the test name before running it.
This makes it easier to identify a test that hangs.
2013-06-15 12:33:31 +00:00
henri
a493296c54 Code cleanup.
Made get_peeraddr_string() return "peer unspecified" if peerlen <= 0.
This saves a handful duplicate lines that did the check externally.
2013-06-15 12:33:27 +00:00
david
6238087e9b Compare string contents, not pointer values.
This bug was introduced in r30334. We want to compare the contents of
the strings, not their addresses. This bug caused host script results to
be printed in arbitrary, perhaps not even well-defined, order.
2013-06-14 17:26:43 +00:00
david
7684b43072 Formatting. 2013-06-13 15:22:17 +00:00
david
8c7e0881ec Remove misleading comments.
There is more than just sorting going on here; it's also whether some
output is written.
2013-06-13 15:22:13 +00:00
david
dcca84eb0d Fix weird double variable declaration.
It seemed to run fine even with this.
2013-06-13 15:22:09 +00:00
d33tah
e9c6e5b925 revert the previous commit, git-svn pushed it to the wrong directory. 2013-06-13 15:10:07 +00:00
d33tah
3e3e87f462 * create d33tah directory at nmap-exp
* create a branch ncat-lua in nmap-exp/d33tah based on current nmap trunk
* merge in patches from github into ncat-lua branch
2013-06-13 15:04:23 +00:00
david
8a01ce5a57 Allow "/" netmask syntax in dns-ip6-arpa-scan.nse.
Based on a patch like Indula Nayanamith.
http://seclists.org/nmap-dev/2013/q2/218
2013-06-13 03:53:40 +00:00
fyodor
7e92daea8c Minor prioritization w/David 2013-06-11 17:58:19 +00:00
david
9ea60a9f1f Consider IPPROTO_NONE (59) an upper-layer protocol for IPv6.
"Upper-layer" here simply means that there are no extension headers
following, which is the case here.
2013-06-06 14:50:09 +00:00
fyodor
36c8bc325e Some new tasks from discussion w/David 2013-06-03 22:44:42 +00:00
david
b30aba076a Set the default --max-conns to 60 on Windows.
Suggested by Andrey Olkhin.
http://seclists.org/nmap-dev/2013/q1/390
2013-06-02 09:03:44 +00:00
david
02cb2931aa Fix rt_msghdr padding on NetBSD.
NetBSD uses a fixed 64-bit padding, unlike OS X (32-bit), and unlike
other platforms (sizeof(unsigned long)). There is an RT_ROUNDUP macro
that does the right alignment; use that when available.

http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/lib/libc/net/getifaddrs.c
http://fxr.watson.org/fxr/source/net/route.h?v=NETBSD#L270

Rounding to 4 bytes was breaking with IPv6 addresses, which are 28
bytes. The pointer was being advanced by 28 instead of 32. Compare to
r29739, somewhat similar.

Reported by Fredrik Pettai.
http://seclists.org/nmap-dev/2013/q1/384
2013-06-01 16:28:44 +00:00
luis
bf1de31d07 Fix a bug reported by David Young. Nping set the SYN flag in all packets, no matter what was passed by the user through --flags. This patch was submitted by Josh Hunt 2013-06-01 09:53:18 +00:00
david
8be62726e5 Add http-phpmyadmin-dir-traversal by Alexey Meshcheryakov.
http://seclists.org/nmap-dev/2013/q1/372
2013-05-31 19:59:30 +00:00
david
5757bfb11b Add a service probe for Erlang distribution nodes from Michael Schierl.
http://seclists.org/nmap-dev/2013/q1/360
2013-05-31 19:59:27 +00:00
henri
8b7f91cd0f Moved gh_lists tests from nsock/src/ to nsock/tests/ 2013-05-22 14:35:24 +00:00
fyodor
05ab9f5a0c note that nmaprc could enable Nmap command line profiles, similar to how Zenmap does it. This was a suggestion by Jacek Wielemborek 2013-05-21 03:21:07 +00:00
david
ae33c48ec4 svn:ignore some global-ignores files for git-svn.
These file are ignored automatically by Subversion (~/.subversion/config
global-ignores setting). Ignore them explicitly so they show up in "git
svn show-ignore".
2013-05-18 19:42:52 +00:00
david
c17075734e svn:ignore tests_main. 2013-05-18 19:23:29 +00:00
david
ff7659df5e Run ncat tests with "make check" too. 2013-05-18 19:22:33 +00:00
david
b6ca01d295 Use /bin/bash in run_tests.sh.
I got this error:
./run_tests.sh: 42: ./run_tests.sh: Syntax error: "(" unexpected
2013-05-18 19:18:07 +00:00
henri
192cd3657d Don't set SO_BROADCAST on SOCK_STREAM sockets.
This doesn't make sense and raise verbose errors, at least on Windows.
See: http://seclists.org/nmap-dev/2013/q2/313
2013-05-18 13:24:03 +00:00
henri
3534dfa3b8 Display actual error codes in the nsock messages.
Refactored the code a bit too.
2013-05-18 13:23:55 +00:00
henri
8e38e32df1 Run nsock tests by typing make check from nmap/ or nsock/src/ 2013-05-18 13:06:10 +00:00
henri
4a261dd5f2 Updated libdnet to not SIOCIFNETMASK before SIOCIFADDR on OpenBSD. This was
reported to break on -current as of May 2013. [Giovanni Bechis]
2013-05-17 21:38:08 +00:00
david
8ff10edd1c pl.po update from Jacek Wielemborek. 2013-05-17 15:08:47 +00:00
david
5ab1b23bf0 Fix address matching in -PY ping.
Patch by Marin Maržić.
http://seclists.org/nmap-dev/2013/q2/297
2013-05-17 07:56:51 +00:00
dmiller
ba4097af38 os.date format string cleanup
Removed some non-ANSI-C strftime format strings ("%F") and
locale-dependent formats ("%c") from NSE scripts and libraries.
C99-specified %F was noticed by Alex Weber
(http://seclists.org/nmap-dev/2013/q2/300)
2013-05-16 14:59:48 +00:00