1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 12:29:03 +00:00
Commit Graph

209 Commits

Author SHA1 Message Date
kroosec
7ff385da85 First commit from rpc-grind branch. 2012-08-17 18:30:11 +00:00
david
595470559a Add sql-injection to OLD_SCRIPT_NAMES from rename in r29034. 2012-06-23 14:08:32 +00:00
david
7f5d53184c Uniform handling of makefile.dep in makefiles.
"make clean" keeps makefile.dep and "make distclean" deletes it. This
patch is by Michael McTiernan.

http://seclists.org/nmap-dev/2012/q2/827
2012-06-19 14:06:49 +00:00
david
c9c80ffc63 Pass -Wno-uninitialized in liblinear build to suppress a warning. 2012-06-15 19:36:41 +00:00
fyodor
440278fa62 In the previous checkin, I forgot to add the renamed asn-to-prefix to the makefile OLD_SCRIPT_NAMES 2012-03-27 23:14:29 +00:00
david
2dae73f251 Automatically update the default update channel. 2011-12-21 00:00:05 +00:00
david
f8e4071164 Add configure/Makefile stuff for libsvn1 detection.
nmap-update is built optionally, only if libsvn1 is present.
2011-12-19 05:16:17 +00:00
david
efc1a228f2 Remove the notice about changed SVN.
Let's see if this works...
2011-12-13 02:45:38 +00:00
david
8bb38333d5 Add README and makefile warning for SVN migration. 2011-12-12 23:10:03 +00:00
david
f235c4c071 FPmodel -> FPModel for uniformity. 2011-11-12 10:06:21 +00:00
david
094a303502 Disable debugging for FPmodel.o, avoiding an assembler problem on AIX. 2011-09-24 04:10:53 +00:00
david
339477c675 Pass CXX to liblinear. 2011-09-19 22:30:09 +00:00
david
9bf2ec3884 Merge from /nmap-exp/luis/nmap-os6.
svn merge --ignore-ancestry svn://svn.insecure.org/nmap@26621 svn://svn.insecure.org/nmap-exp/luis/nmap-os6

This is the IPv6 OS detection branch. "nmap -6 -O" works now, though at
this point it only prints fingerprints and not OS guesses, because we
need to collect more submissions.
2011-09-19 18:31:46 +00:00
henri
f2ff9bb728 Added xmpp-info.nse as a replacement for xmpp.nse (script from Vasily Kulikov). 2011-09-04 19:18:22 +00:00
djalal
cc062e2e1e o [NSE] Remove the mac-geolocation script entries since the it was deleted.
- Update the script.db file.
  - Add the script name to the 'OLD_SCRIPT_NAMES' variable in the Makefile.in file.
2011-07-18 09:58:50 +00:00
david
ea99942f25 Revert r24116 and r24117; the addrset functions need to go in a C
library instead.
2011-06-18 23:52:25 +00:00
colin
221d8db694 Merging from nmap-exp/colin/nmap-addrset and /nmap-exp/colin/ncat-addrset
Ported addrset from ncat to libnetutil. Made --exclude and --exclude-file options use addrset. As a side effect IPv6 Excludes work.
2011-06-17 19:58:03 +00:00
djalal
60b8b029ce Add the smtp-check-vulns to the old scripts. 2011-05-19 18:22:33 +00:00
djalal
508fe849f9 Call nsock_dist_clean before nbase_dist_clean. 2011-02-16 19:54:43 +00:00
david
f2e16f494d Split out OPENSSL_LIBS in Makefile.in to allow overriding it
specifically.
2011-01-13 01:28:52 +00:00
patrik
c9ba464c28 Renamed domino-enum-passwords script to http-domino-enum-passwords 2010-12-15 08:52:31 +00:00
david
59a32cf9ce Add html-title and robots.txt to OLD_SCRIPT_NAMES. 2010-11-20 05:03:10 +00:00
batrick
de4ba536de Merge from /nmap-exp/patrick/nse-nsock-maintenance.
This is a maintenance fix for the NSE Nsock library binding. The patch focuses
on code correctness and simplicity. The patch also brings some initial updates
with an eye towards the upcoming Lua 5.2 release. See [1] for a post concerning
this branch.

[1] http://seclists.org/nmap-dev/2010/q3/710
2010-09-18 20:35:09 +00:00
kris
a0d89f20d6 Set {NDIFF,NPING,ZENMAP}DIR in configure.ac and substitute it in the Makefile
instead of having the directory names in Makefile.in.  This is how most
everything else works: Ncat (NCATDIR), liblua (LIBLUADIR), etc.
2010-08-19 16:38:54 +00:00
patrik
2b44c74187 renamed db2 scripts to drda and added the old ones for removal [Patrik] 2010-08-14 08:28:56 +00:00
djalal
98cf1dd7c4 Remove nfs-acls and nfs-dirlist scripts, all their features are supported by nfs-ls.nse script. 2010-07-06 00:56:41 +00:00
luis
da126c8b78 Merged nmap-dedup branch from nmap-exp/luis/nmap-dedup. This completes the Nmap/Nping code de-duplication phase. 2010-06-22 17:24:34 +00:00
luis
c069b10c27 Added missing rules to clean and distclean Nping 2010-06-22 11:12:58 +00:00
david
994da96f9c Merge Jay Fink's patch that puts UDP payloads in an external data file
instead of being hard-coded in payloads.cc. This is the patch from
http://seclists.org/nmap-dev/2010/q2/497.
2010-05-25 17:38:23 +00:00
david
73fbf15ef5 Move $(DEFS) from CXXFLAGS to CPPFLAGS. This is to get -DHAVE_CONFIG_H into the
flags when making makefile.dep. Without this, making makefile.dep fails on
OpenSlaris because it can't find <pcre.h>. With HAVE_CONFIG_H it knows to look
in <pcre/pcre.h>.
2010-04-22 04:34:35 +00:00
david
859ef5ecaf Merge r17202:17298 from /nmap-exp/david/nmap-xml. This brings in
structured XML output, automatic closing of XML elements on error, and
inclusion of error messages in XML output.
2010-04-14 01:05:51 +00:00
david
5d57401341 Try adding the 0. version number prefix to the nping RPM package. 2010-03-29 20:45:10 +00:00
david
8fee41d398 Automatically update the Nping version number to "0.NMAP_VERSION". 2010-03-29 02:22:02 +00:00
david
a669c3a39f Merge r16779:16804 from /nmap-exp/david/nmap-nping. This adds Nping
into the standard distribution.
2010-02-17 01:46:34 +00:00
david
8ee634688b Give --quiet to setup.py when installing Zenmap files to make the output
less noisy.
2009-12-12 20:26:15 +00:00
david
69ae959d53 Small formatting changes in Makefile.in. 2009-11-25 23:31:52 +00:00
fyodor
05eb8c8520 Note new man-xlate dir in Makefile, rename the portuguese man page XML source files to correspond to renamed rendered versions 2009-11-19 05:26:12 +00:00
david
d54e4d4a9c Remove deleted or renamed scripts in the install-nse rule. People who
install from source may have old copies of scripts with different names,
like HTTPAuth instead of http-auth, because we don't delete the contents
of the scripts directory when installing. Rather than wipe out the whole
directory, which might contain people's custom scripts, there is now a
list of old script names in Makefile.in which are selectively deleted.
The whole list is

anonFTP
ASN
brutePOP3
bruteTelnet
chargenTest
daytimeTest
dns-safe-recursion-port
dns-safe-recursion-txid
dns-test-open-recursion
echoTest
ftpbounce
HTTPAuth
HTTP_open_proxy
HTTPpasswd
HTTPtrace
iax2Detect
ircServerInfo
ircZombieTest
MSSQLm
MySQLinfo
netbios-smb-os-discovery
popcapa
PPTPversion
promiscuous
RealVNC_auth_bypass
ripeQuery
robots
showHTMLTitle
showHTTPVersion
showOwner
showSMTPVersion
showSSHVersion
skype_v2-version
smb-enumdomains
smb-enumsessions
smb-enumshares
smb-enumusers
smb-serverstats
smb-systeminfo
SMTPcommands
SMTP_openrelay_test
SNMPcommunitybrute
SNMPsysdescr
SQLInject
SSH-hostkey
SSHv1-support
SSLv2-support
strangeSMTPport
UPnP-info
xamppDefaultPass
zoneTrans
2009-11-18 19:20:15 +00:00
tomsellers
08711b5eb2 Changing Makefile.in in order to permit the make install process to finish without error. A few extra files are installed so it may need some tweaking, but the change should at least get the process functional. [Tom] 2009-11-14 22:14:01 +00:00
david
04dc3ab1f3 Don't cause an error if $LINGUAS contains a language for which we don't
have a translated man page; just skip it.
2009-11-10 18:38:47 +00:00
david
51b3079e16 Add translated man pages. 2009-11-05 20:34:15 +00:00
david
6b87459a58 Add --enable-nls and --disable-nls options to configure. These are used
to control whether translations of man pages are installed (by default
they will be). Even though we're not using gettext for translations, I
tried to make this interface as similar as possible to the gettext
configuration interface. Use can use the environment variable LINGUAS to
control which man pages get installed if you don't want all of them, for
example LINGUAS="es de". The translated man pages are not yet committed.
2009-11-05 19:50:33 +00:00
david
6a25f40b64 Use a temporary file when setting the version number in ncat.h to work
around NetBSD sed that doesn't have the -i option.
2009-09-01 15:44:55 +00:00
david
972533bca9 Install the nselib/data directory on "make install". For some reason
this has been overlooked, and scripts that need data files would not
work after installation.
2009-08-31 23:26:17 +00:00
david
6c766c58cd Add the nmap.get_ssl_certificate NSE function, which returns the peer
certificate of an SSL socket.
2009-08-13 23:32:33 +00:00
david
2ad8804e64 Merge r10423:14069 from /nmap-exp/david/nmap-payloads. This adds UDP
payload sending by default for certain UDP ports. See
http://seclists.org/nmap-dev/2009/q3/0022.html.
2009-07-06 18:03:50 +00:00
david
7d9da6df81 Do a recursive distclean in ncat before nbase. Otherwise, this sequence
of commands
	./configure
	make
	make clean
	make distclean
fails when makefile.dep is remade in the ncat directory:
In file included from ncat.h:12,
                 from ncat_main.c:4:
../nbase/nbase.h:128:26: error: nbase_config.h: No such file or directory
(Many similar messages follow.)

This happened because "make clean" deletes ncat/makefile.dep. Remaking
makefile.dep requires preprocessing C files that indirectly include
nbase_config.h, which was removed from nbase by distclean. Doing the
distclean in ncat before nbase sidesteps the issue.
2009-06-10 03:16:46 +00:00
fyodor
4a53444901 Split the release build system from having one make distro rule to three separate ones: make prerelease; make release-tarballs; and make release-rpms 2009-06-07 04:25:48 +00:00
batrick
68bf664db6 [NSE] Applied change to remove the old nse_macros.h header file.
Here is a mostly exhaustive list of the changes:

o Removes the SCRIPT_ENGINE_* status defines and replaces the
  instances with regular boolean integer returns or changes the
  procedure to return void. The latter case is better generally because
  the caller ignores any status return (e.g. nmap.cc calling open_nse)
  and/or the procedure raises a fatal error when unsuccessful.

o Moves the SCRIPT_ENGINE_LUA_DIR and the like to the nse_main.h header file.

o Removes the use of the SCRIPT_ENGINE_TRY (there was only one left)
  and thus changes the call to l_dnet_open to a void function called
  directly by luaopen_nsock (in nse_nsock.cc) instead of luaopen_nmap
  (in nse_nmaplib.cc). I felt moving the function was also an
  appropriate (but somewhat unrelated to the intent of the patch) change
  as opening the dnet metatable is very related to opening up the
  nsock library. This confines errors in opening the nsock library, including
  opening the dnet metatable, to the call to luaopen_nsock.

o The FILES and DIRS defines are moved in to nse_fs.h where they are
  more appropriate and localalized.
2009-06-07 01:25:53 +00:00
fyodor
c5d5b47769 Use $(INSTALL) command rather than cp to copy NSE scripts and libraries during install so that permissions are set properly too 2009-06-04 02:38:16 +00:00