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

9911 Commits

Author SHA1 Message Date
david
37639cf132 Fix --send-ip check in win32_fatal_raw_sockets.
The meaning of this test was accidentally inverted in r29931. It is
supposed to give a fatal error when trying to scan on an non-Ethernet
device, unless you have also used the --send-ip option.
2012-10-31 15:34:52 +00:00
henri
cb3d88247b Fixed function name in error message. 2012-10-30 09:45:14 +00:00
david
15b8cdc62d All 11 service corrections. 2012-10-30 04:29:52 +00:00
david
f2b0dc2748 Last 40 service submissions. 2012-10-30 04:29:50 +00:00
david
c52a82356f 100 service submissions. 2012-10-30 04:29:48 +00:00
david
ffd13c0f60 100 service submissions. 2012-10-30 02:37:37 +00:00
david
bd3b79d832 100 service submissions. 2012-10-29 23:52:56 +00:00
fyodor
5fac24c97e Latest TODO updates 2012-10-29 22:28:14 +00:00
david
d1bb2839af 100 service submissions. 2012-10-29 21:33:39 +00:00
david
451cc7184e 100 service submissions. 2012-10-29 19:56:48 +00:00
david
47982a960e 100 service submissions. 2012-10-29 17:58:50 +00:00
henri
58418396a8 Make nping and ncat fail (the way nmap does) when invalid nsock engines are supplied. 2012-10-29 10:22:32 +00:00
david
c0cf25dabd 100 service submissions.
Finally out of the http wasteland.
2012-10-29 03:17:10 +00:00
david
b4dc4f009e 100 service submissions. 2012-10-28 23:36:46 +00:00
david
090cef5b34 100 service submissions. 2012-10-27 18:41:50 +00:00
henri
c0e63ffa64 Added missing ChangeLog entry for r30096 2012-10-27 18:21:55 +00:00
david
a91eff3292 Model number spelling in nmap-service-probes. 2012-10-27 16:34:40 +00:00
david
cd9be39e3a 100 service submissions. 2012-10-27 16:34:38 +00:00
david
6739558788 100 service submissions, mostly http. 2012-10-27 05:41:34 +00:00
henri
84c80a7b34 Make ncat unconditionally use the select engine on windows. WSAPoll()
can't handle read events on stdin. This is a workaround intended to
mitigate the issue until we implement a fpoll function in nbase.
2012-10-26 09:40:14 +00:00
david
91d40ba8ee Service submissions up through gopher. 2012-10-25 20:25:35 +00:00
patrik
6c4a1ff1ab more code cleanup 2012-10-25 20:05:15 +00:00
patrik
165a8c0929 code cleanup, removed buffered DB2Socket class and replace with receive_buf 2012-10-25 19:41:53 +00:00
david
9cab81511c Remove claim that -x can be used to "replay" sessions.
I don't even know what that means. It sounds like there is a
complementary option taking the name of a file containing a hex log,
which there isn't.
2012-10-25 04:40:21 +00:00
david
16ab1b7114 Document the new (10.8) procedure for installing Xcode.
I found out where the command-line tools are hidden from this link:
http://stackoverflow.com/questions/9329243/xcode-4-4-command-line-tools/9964905#9964905
2012-10-22 23:44:11 +00:00
robert
30fcbb260e Updated the hash information in http-php-version to include PHP/5.3.17, PHP/5.3.18, PHP/5.4.7 and PHP/5.4.8. 2012-10-22 20:26:43 +00:00
robert
95c60718c1 Prevent Subversion hidden folder (.svn) from being added to Nmap's Windows setup file when copying the licenses directory. 2012-10-22 19:48:26 +00:00
henri
4b1e2a94bb A couple adjustemnt for windows.
- Do not set the X flags as events to be watched.
  - Do not use POLLPRI as a R flag.

Not doing so causes WSAPoll() to fail with an "invalid argument" error.
2012-10-22 17:57:58 +00:00
henri
ef9f4fcba5 Reverted r30104 and r30105. 2012-10-22 17:17:28 +00:00
henri
34b0f235cd Include nbase_winunix.h from nsock_internal.h 2012-10-22 15:55:46 +00:00
henri
aef88b5b1b Do not include Winsock.h before including nsock_internal.h (that
includes nbase_winconfig.h). Otherwise WSAEINTR doesn't get redefined
as EINTR as desired.
2012-10-22 15:43:30 +00:00
david
588ee6db2b Use socket_strerror in a few places in service_scan.cc. 2012-10-22 15:33:57 +00:00
david
bfaed0ce34 Use the name "nspp" for a variable of type "pointer to nsock_pool." 2012-10-22 05:17:00 +00:00
david
5c8272b3c9 Chack for a NULL pointer return in get_pool. 2012-10-22 05:16:59 +00:00
david
5fcc3bebd7 Ubuntu-specific Debian-liks service match.
Told to me by Henri; if we see "ubuntu" in the version, we can be more
specific in the CPE, and in particular we know it's not Debian
GNU/kFreeBSD.
2012-10-22 04:27:39 +00:00
henri
9865b8f828 Cleaning up: consistently get event masks from a static inline get_evmask() function. 2012-10-22 04:26:19 +00:00
david
62570b7be7 Needed for HAVE_POLL. 2012-10-22 02:16:35 +00:00
david
0176367387 Regen configure. 2012-10-21 23:22:37 +00:00
henri
0d3dda36d4 Added new poll and kqueue/kevent nsock engines.
poll should be available almost everywhere.
kqueue/kevent are available on BSD systems (including MacOS).
2012-10-21 23:20:35 +00:00
henri
4cedcef575 Separate engine names by spaces instead of commas for consistency with
the other lines produced by nmap -V
2012-10-21 22:56:54 +00:00
henri
e76d41fa04 Don't fatal() in nsock_set_default_engine()
Return negative value instead. Moved the fatal() statement to nmap.cc
2012-10-21 22:56:53 +00:00
henri
5aaf80a0b9 Added the list of available engines to the output of nmap -V 2012-10-21 20:21:02 +00:00
henri
3d2eeaa94d Finally added a function to list the available nsock engines. 2012-10-21 20:21:01 +00:00
henri
615de92974 Ensure that the nsock engine_hint refers to a valid one. If not, abort
execution.
2012-10-21 19:44:26 +00:00
henri
1e3115dbcb Renamed nmap_fileexistsandisreadable() by file_is_readable(). Former was
hardly readable and is not even a good candidate for longest method
name (http://msdn.microsoft.com/en-us/library/system.windows.media.textformatting.textsource.gettexteffectcharacterindexfromtextsourcecharacterindex.aspx#Y0)
2012-10-20 15:00:10 +00:00
henri
16ea382e9b Added a maximum number of retries to mitigate a remote DoS in the RPC
packets parsing code. The number was chosen high to avoid decreasing
accuracy. It's just about having an upper limit.
2012-10-20 14:59:53 +00:00
robert
8430ba2792 Added support for SQL Server 2012 (tested against RTM and fully patched), and added version numbers for latest service packs on older versions of SQL Server (as they've not been updated for far too long). 2012-10-18 06:45:47 +00:00
david
f26d82b3fc Update the status code name in smb-check-vulns.
The checks for conficker and ms08_067 check for a specific status code
of 0x00000057, but do so by the name mapping to this value rather than
by value.

The name of this value was change from NT_STATUS_WERR_UNKNOWN_57 to
NT_STATUS_WERR_INVALID_PARAMETER in r24847, breaking these tests because
they were still searching for the "UNKNOWN_57" string.

This error was reported by Kit Peters.
http://seclists.org/nmap-dev/2012/q4/125
2012-10-18 04:28:11 +00:00
david
3c87635ae8 Use nmap.new_socket in place of nmap:new_socket in smb-check-vulns.nse.
Kit Peters reported the crash:
smb-check-vulns.nse:366: calling 'new_socket' on bad self (string expected, got table)

http://seclists.org/nmap-dev/2012/q4/124
2012-10-18 03:47:22 +00:00
david
f8b8cd6b91 script-updatedb. 2012-10-18 03:18:08 +00:00