1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 14:09:02 +00:00
Commit Graph

7705 Commits

Author SHA1 Message Date
david
a02382c2b8 Remove some redundant code now that --log-errors is gone. 2012-06-30 01:51:30 +00:00
sean
5c602916b8 Updated the changelog 2012-06-30 01:48:05 +00:00
sean
9b09390c52 Added a comment explaining the log-errors handling section 2012-06-30 01:45:10 +00:00
sean
0909f12308 Removed the log-errors option from the code, by treating it as if it was always true. This was done for the action item of o Remove Nmap's --log-errors feature and make its behavior the default. I also updated the docs/refguide.xml to reflect this change. I have not yet compiled the Dockbook.xml however. 2012-06-30 00:36:15 +00:00
david
6a0771f3b7 Add Metasploit remote API probe and matchline. 2012-06-29 23:21:52 +00:00
dmiller
5fdc8b5609 Add mcafee-epo-agent.nse version script
Script to get version and other information from a McAfee (formerly
Network Associates) ePolicy Orchestrator Agent.
http://seclists.org/nmap-dev/2012/q2/870
2012-06-29 19:18:14 +00:00
david
531dd2348c I'm guessing the dot in the kumo-server match should match '\n'. 2012-06-29 16:35:40 +00:00
david
f1b7b54da2 Get rid of useless trailing .* in matchline. 2012-06-29 16:35:38 +00:00
dmiller
3e71473630 Update scripting.xml to reflect Lua 5.2
Changed links to Lua reference manual to point to appropriate sections
for 5.2. Books (Reference Manual and Programming in Lua, 2nd ed.) have
not been updated to 5.2 yet, so those were left alone.

Documented the change in API for linking C libs (luaL_newlib and
luaL_Reg vs luaL_register and luaL_reg).
2012-06-28 20:09:36 +00:00
kroosec
7ca5589659 sip-brute: Added TCP support. 2012-06-28 09:20:43 +00:00
kroosec
c28ec08836 Added TCP support. Cleaned redundant code. 2012-06-28 09:00:36 +00:00
kroosec
2dffec733e Allowed support of SIP over TCP and made adequate changes to sip.lua 2012-06-28 08:47:07 +00:00
fyodor
f3fd6b5b32 Congratulations to new Nmap committer Dan Miller\! 2012-06-28 00:22:03 +00:00
kroosec
886f64f1f9 Typo in changelog. 2012-06-27 15:46:00 +00:00
fyodor
d5af1f6940 rebuilt nmap-services to include memcachedb on 21201/tcp 2012-06-26 23:59:19 +00:00
fyodor
1f8d3ee033 Add a task note about considering whether to ship OpenSSL source with Nmap, so users who don't have it installed can still get the functionality in their Nmap 2012-06-26 20:06:59 +00:00
fyodor
5826ebbc4c Removed some instances of '<' and '>' in the CHANGELOG to avoid HTML escaping problems on pages such as http://nmap.org/changelog.html. This is actually a pretty lame solution. First of all, things like XML output examples are best shown using angle brackets. Second, there are still other angle brackets in the file. It would probably be better to fix the changelog.html to handle the escaping or to create an escaped version automatically. But, for now, I'm choosing the easy but short-term fix 2012-06-26 10:05:45 +00:00
kroosec
0bdff46418 Added Timeout sip response code (408). 2012-06-26 09:26:01 +00:00
david
3e50107f23 Use less memory for ip_addr in port_reason.
This was a sockaddr_storage, which is 128 bytes. This is a lot for a
structure that is part of Port. It is now a union of sockaddr_in and
sockaddr_in6, which is 28 bytes. A new set_ip_addr method sets the union
from a sockaddr_storage, where plain assignment was used before.

The sockaddr_storage was introduced in r23778, the first big IPv6 merge.
2012-06-26 03:23:14 +00:00
kroosec
cb38bebdce Added busy and decline response status code. 2012-06-26 00:35:23 +00:00
fyodor
81ce80cb02 add an ndis-6 related task 2012-06-25 22:26:12 +00:00
perdo
f7a02d8d19 Added a list of webpage file formats. 2012-06-25 17:56:21 +00:00
perdo
2730adc516 Modified the spidering library to allow to use a HEAD rather then GET request for files with certain extensions. 2012-06-25 17:54:38 +00:00
kroosec
a6fe7c75aa Fixed documentation and return values for options sip request. 2012-06-25 00:55:52 +00:00
kroosec
c0adb90e28 getHeader is now case insensitive. 2012-06-23 17:54:31 +00:00
david
173719e174 --script-updatedb. 2012-06-23 14:08:33 +00:00
david
595470559a Add sql-injection to OLD_SCRIPT_NAMES from rename in r29034. 2012-06-23 14:08:32 +00:00
perdo
95df6230ca Added forms handling capability to http-sql-injection. Also, modified the output structure a bit and fixed some trailing whitespaces. 2012-06-23 13:51:19 +00:00
perdo
f626ca04f2 Renamed sql-injection.nse to http-sql-injection.nse. 2012-06-23 13:47:48 +00:00
kroosec
348cfc9d25 Added NOTFOUND response status code. Added default user value 'user'. 2012-06-23 12:35:54 +00:00
sean
bfeecd1895 Output for script results is now sortedi alphabetically. 2012-06-23 04:17:24 +00:00
david
b6f66fba81 Fix for http-wordpress-plugins by Daniel Miller.
http://seclists.org/nmap-dev/2012/q2/887
2012-06-22 18:58:53 +00:00
aca
ba5a79acdc Added few aditional credentials to http-default-accounts fingerprints 2012-06-22 16:06:05 +00:00
kroosec
98a68b7407 Added default values for Expires, Call-ID, Allow and Content-Length headers in SIP requests and removed redundant code. 2012-06-22 12:17:55 +00:00
aca
e2356ce887 Typo... 2012-06-22 10:57:53 +00:00
sean
43889ae495 Changed the active(release) compile setting from MT to MD to bring it in line with all of the other Nmap projects to fix the '
8>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library'
2012-06-21 05:06:34 +00:00
sean
3215bf602a Fixed the LNK4006 warning from http://seclists.org/nmap-dev/2006/q3/22
By removing lua.c and luac.c from the compile path
2012-06-21 04:33:09 +00:00
sean
982f26ccf6 Removed the pragma as liblua ignored it. 2012-06-21 04:25:25 +00:00
sean
663c44acc9 Tidied up the #pragma command 2012-06-21 04:16:04 +00:00
sean
0c1c89a022 Added a pragma to supress the lgc.c(988): warning C4146: unary minus operator applied to
unsigned type, result still unsigned. We don't want to fix liblua
2012-06-21 03:55:24 +00:00
sean
896bcc520b Fixed the warning liblinear.lib(linear.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance by just adding the /LTCG flag. 2012-06-21 03:48:40 +00:00
sean
35aa0812fd Deleted the incremental flags instead. 2012-06-21 03:32:49 +00:00
sean
af7191e954 Fixed the link error http://msdn.microsoft.com/en-us/library/3ec25010(v=vs.80).aspx (LNK4075). Essentially setting Incremental to YES is redundent and therefore ignored http://msdn.microsoft.com/en-US/library/4khtbfyf(v=vs.80) says that Incremental defaults to yes. 2012-06-21 03:17:36 +00:00
david
2404fc7d64 Return nil and an error message when a socket is not connected.
Daniel Miller noticed that the behavior of socket functions didn't match
the documentation when a socket was not connected. The code would raise
a Lua error (ending the script) instead of returning a false status code
as documented.

http://seclists.org/nmap-dev/2011/q3/840
http://seclists.org/nmap-dev/2012/q2/505
2012-06-21 03:11:17 +00:00
sean
d653563331 Fixed the warnings " warning: variable ‘readbuff’ set but not used [-Wunused-but-set-variable]". Added error handling in the event that readbuff was NULL. 2012-06-21 02:02:37 +00:00
sean
8d6243980f Patched the "ProbeMode.cc:183:25: warning: variable ‘loopret’ set but not used [-Wunused-but-set-variable]" by added error handling for the NSOCK_LOOP_ERROR return value. Thisbrought ProbeMode::start inline with the rest of nmap's handling of nsock_loop. 2012-06-21 01:45:25 +00:00
sean
5a98556318 Changed the outFatal to an outError for consistancy with the other error messages 2012-06-21 01:36:22 +00:00
kroosec
b940d201d4 Added http-proxy to shortport likely http services. 2012-06-21 01:32:22 +00:00
sean
7be1b6b6d2 Fixed the warning about "ProbeMode.cc:182:18: warning: variable ‘ev’ set but not used [-Wunused-but-set-variable]". The code set the ev variable however it never did anything with it.
-This line, and those below, will be ignored--

M    nping/ProbeMode.cc
2012-06-21 01:26:45 +00:00
david
feea11ed24 Catch an exception that happens while aggregating a new scan. 2012-06-21 00:56:55 +00:00