1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 21:49:01 +00:00
Commit Graph

4571 Commits

Author SHA1 Message Date
david
1ff33d9d50 Update version numbers in Windows build files. 2010-09-15 23:58:10 +00:00
david
a2270f75d0 Don't make libnetutil/Makefile depend on ../config.status. It was
messing up "make clean".
2010-09-15 01:33:40 +00:00
fyodor
b99497623e Note a task finished by David 2010-09-14 22:36:04 +00:00
patrik
e3781bb25d Changed the code to be more iterator oriented. Scripts can now add their own
iterators. Mutliple iterators may be added and the library provides a number
of common ones. [Patrik]
2010-09-14 19:43:53 +00:00
david
2a409301ff Rewrite the section on different script rules. 2010-09-14 04:47:38 +00:00
david
600848c268 Fix NSEDoc (@param not @arg). 2010-09-14 02:02:50 +00:00
batrick
b92ce14522 clearer error message 2010-09-13 23:28:15 +00:00
david
4a6389af44 Fix NSEDoc typo. 2010-09-13 17:51:34 +00:00
batrick
ed3ac6bc0e accidental global fixes 2010-09-13 06:09:42 +00:00
batrick
45c8180971 Changed some of the formatting. 2010-09-13 06:07:19 +00:00
batrick
0f8dcc1766 typo 2010-09-10 21:45:44 +00:00
djalal
55d91874bc Fix a typo in the scripting.xml file. 2010-09-10 21:21:13 +00:00
djalal
15a0dc47b0 Added the targets-traceroute script, which inserts traceroute hops onto Nmap scanning queue. 2010-09-10 01:53:22 +00:00
djalal
138439e5bf Update CHANGELOG file to show the new features. 2010-09-10 01:33:37 +00:00
fyodor
b30a8c1804 Changes from chat w/David 2010-09-09 20:37:48 +00:00
djalal
73ca070916 Small change on code documentation. 2010-09-09 12:59:35 +00:00
djalal
d2773a09a7 Make NewTargets::push() return 1 if the target is already in the queue to avoid returning 0 (error code). 2010-09-09 12:56:43 +00:00
bmenrigh
72455a613c Added/updated a few service fingerprints. 2010-09-07 23:25:06 +00:00
david
5f7d7fe252 Add status code 553 (Relaying Denied) to the list of NOTPERMITTED codes in
smtp-enum-users.nse. Martin Holst Swende reported this.
2010-09-07 20:15:41 +00:00
david
f7b4900eac Include a message in the output (and quit trying users with the current method)
when smtp-enum-users hits an unhandled status code.
2010-09-07 20:13:05 +00:00
david
90e2d1dacd Fix spelling of identifier name (NOTPERMITED) in smtp-enum-users.nse. 2010-09-07 19:54:44 +00:00
david
430a1287a6 Remove NOLUA guards around NewTargets code. This code compiles fine
--without-liblua.
2010-09-07 19:23:56 +00:00
david
23908b40a8 Fix a typo in the @usage of smtp-enum-users.nse; it said smtp-open-relay. 2010-09-07 19:07:07 +00:00
djalal
4bec98f23f Small debug message improvements, to show if a new target was successfully added. 2010-09-06 21:02:38 +00:00
kris
4023ed2021 typo 2010-09-05 19:22:44 +00:00
david
a2b84bf74f o Changed the name of libdnet's sctp_chunkhdr to avoid a conflict with
a struct of the same name in <netinet/sctp.h>. This caused a
  compiliation error when Nmap was compiled with an OpenSSL that had
  SCTP support. [Olli Hauer, Daniel Roethlisberger]
2010-09-05 03:40:31 +00:00
david
47bc61d69d Restrict the search path for DLLs to prevent DLL hijacking. If the
SetDllDirectory function is available, as it is on Windows XP SP1 and later,
use it to remove the current directory from the DLL search path. If the
function is not available, call SetCurrentDirectory to the directory containing
the executable.

I believe that such an attack is not currently possible against Nmap, because
it doesn't register any file type associations. This protects us in case such
associations are added in the future.
2010-09-04 04:52:23 +00:00
david
11a738ab33 Define dependencies for the nping project. 2010-09-04 02:13:54 +00:00
david
5246761a67 Fix a couple of typos. 2010-09-04 01:10:56 +00:00
david
6335f423b0 Only show the warning about the changed default units for timespecs if the
timespec doesn't contain a unit. This check was supposed to be done everywhere
but it was missing for --scan-delay and --max-scan-delay. Even if you entered a
time like "10h", which is supposed to disable the warning, it would complain
and tell you to use "10hms".
2010-09-03 23:49:31 +00:00
batrick
b08dfd2630 whitespace change 2010-09-03 18:02:21 +00:00
djalal
c9a756bc12 Clean debug messages and make debug level 3 the default debug level for the 'adding new targets' code. 2010-09-03 17:53:34 +00:00
bmenrigh
299b8e8f28 Added a match for psyBNC triggered by the SIPOptions probe when the
daemon doesn't print any banner.
2010-09-02 21:21:51 +00:00
djalal
c7c502b227 Merge r19520:r20039 from nmap-exp/djalal/nmap-add-targets. This will let NSE scripts to add new discovered targets to future Nmap scans. 2010-09-01 01:50:34 +00:00
djalal
81592359e4 Added a new function to save new created NSE threads in the threads table. 2010-08-31 20:25:18 +00:00
bmenrigh
40e6bde4e0 Fixed the capitalization on LANRev -> LANrev and removed the
**BACKDOOR* label. LANrev is remote management software just like
RAdmin, Dameware, etc.  LANrev has been used as a backdoor in the past
but that doesn't make it a backdoor any more than VNC, Dameware,
etc. are backdoors.
2010-08-31 20:04:16 +00:00
patrik
c0d92223db Added missing error handling for connection timeouts 2010-08-31 13:38:50 +00:00
david
902b39517f Copyedit NSEDoc in firewalk.nse. 2010-08-31 04:05:31 +00:00
ron
73d8459565 Fixed a bug where http-headers.nse wasn't honouring the 'path' script-arg. 2010-08-29 01:18:08 +00:00
ron
89888ef6b3 Added DHCP library and re-wrote dhcp-discover.nse to use the new library. 2010-08-28 17:18:40 +00:00
david
7026f5fdbd o [NSE] Added the firewalk script, which tries to find whether a
firewall blocks or forwards ports like the firewall tool does. [Henri
  Doreau]
2010-08-28 16:03:20 +00:00
batrick
80672911fd Use const char *. 2010-08-28 16:01:35 +00:00
david
b2350aa947 o [NSE] Host tables now have a host.traceroute member when --traceroute
is used. This array contains the IP address, reverse DNS name, and RTT
  for each traceroute hop. [Henri Doreau]
2010-08-28 15:50:10 +00:00
david
2dedb261d9 In ftp-anon.nse, note that ftp-anon.maxlist=0 disable directory listing. 2010-08-27 20:08:01 +00:00
david
5731d55219 Revert r19993, the addition of firewalk.nse. This depends on an nselib
change that isn't committed yet.
2010-08-27 20:03:21 +00:00
david
79da626772 o [NSE] Added the firewalk script, which maps firewall rules in a way
similar to the firewalk tool. [Henri Doreau]
2010-08-27 20:01:09 +00:00
david
e0918fedc4 Let ftp-anon.nse return a directory listing when anonymous login is
allowed, and add a ftp-anon.maxlist argument to control the listing.
This is adapted from a patch by Gutek.
2010-08-27 19:21:34 +00:00
kris
8729f667fe Some new NSE functions:
o [NSE] Added the nmap.resolve() function which takes a host name and
  optionally an address family (such as "inet") and returns a table
  containing all of its matching addresses.  If no address family is
  specified, then all of the addresses are returned for the name. [Kris]

o [NSE] Added the nmap.address_family() function which returns the address
  family Nmap is using as a string (e.g., "inet6" is returned if Nmap is
  called with the -6 option). [Kris]
2010-08-27 04:17:51 +00:00
david
3466bf8338 Add a note about how the OpenVAS feed works. 2010-08-27 04:01:50 +00:00
luis
bf77af5ecd Added a note about Nping failing to call nsi_delete(), as reported by David 2010-08-26 20:44:05 +00:00