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

184 Commits

Author SHA1 Message Date
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
fyodor
0c28544135 This path was changed in svn, so I might as well change on my filesystem too 2009-05-13 01:32:34 +00:00
batrick
061eace2db Fixed the redundant log message during compilation:
echo Compiling Nmap
Compiling Nmap

to

Compiling Nmap

:)
2009-05-04 07:02:18 +00:00
batrick
37bbb40520 Merge of nse-lua (nse-lua-merge) minus most enchancements that were
not directly related to the change from C++ to Lua for the NSE main
procedures.

The changes are discussed in the nse-lua thread here:
http://seclists.org/nmap-dev/2009/q1/0047.html
2009-04-05 06:01:27 +00:00
david
541f8dffd8 Make the Ncat version number follow the Nmap version number. 2009-03-26 22:51:20 +00:00
david
1b315f7b97 Use the --force option to setup.py when installing Zenmap to prohibit distutils
from retaining old files it doesn't think need to be replaced.
2009-03-24 17:40:50 +00:00
david
523452a0d0 o Fixed the install-zenmap make target for Solaris portability.
Solaris /bin/sh does not have test(1) -e. [Daniel Roethlisberger]
2009-03-04 18:33:15 +00:00
david
6f5c4b5070 In Makefile.in, have ncat_build depend on nbase_build and nsock_build to
avoid a race condition. "make all" would make nsock and ncat, and ncat
would in turn make nsock. If the timing was right, the two simultaneous
builds would trample each other.

It may seem inefficient to have all these recursive makes calling down
the dependency tree all the time, but GNU Make at least remembers which
targets were already completed so for example only one descent into
nbase_build will be done per "make all".
2009-01-23 23:05:37 +00:00
david
95fcd4966d Define _FORTIFY_SOURCE=2 in nmap, nbase, ncat, and nsock. This
definition causes GCC to add extra security checks to compiled source
code. See http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html.

-D_FORTIFY_SOURCE=1 adds only those checks that are not supposed to
cause any "conforming" program to fail. (Conforming to what I'm not
sure, probably one of the C standards.) -D_FORTIFY_SOURCE=2 adds extra
checks above that. Some light testing hasn't shown any obvious problems.
2009-01-22 21:00:40 +00:00
sven
d8714befb1 merging nse_openssl branch 2008-10-08 22:21:41 +00:00
david
466a760e67 Remove a few remaining references to NMAPLIBEXECDIR, where compiled NSE modules
used to be installed.
2008-09-23 23:25:40 +00:00
david
1073c8283a Merge from /nmap-exp/david/nmap-ndiff and /nmap-exp/david/zenmap-ndiff. 2008-09-18 15:51:40 +00:00
david
f40f6e9549 Don't use CXXFLAGS when making makefile.dep, because that doesn't work with
universal binaries. Instead, put -DNOLUA in CPPFLAGS.
2008-09-16 04:25:39 +00:00
kris
c74ce1f424 Adding Ncat to /nmap. This should have Ncat in the regular build systems for
Windows and UNIX, and install/distro system for the source tarball, RPM, OS X
installer (thanks to David) and the Windows installer.

configure --without-ncat keeps it out on Unix
2008-09-16 01:34:28 +00:00
fyodor
fc4424ef21 Add CXXFLAGS to the makefile.dep creation rule to catch defines such as -DNOLUA which prevents files from trying to include the liblua includes. Suggested by Simon Zilliken 2008-09-13 07:16:35 +00:00
david
b3eddfe90a Remove the nselib-bin directory. Almost all references to it have been removed
too. The section in scripting.xml about creating C modules is gone. (But maybe
it should be replaced with a tutorial on making static modules?) The only
places where nselib-bin is still referenced are in mswin32/nsis/Nmap.nsi, where
it is still removed on uninstallation; and in mswin32/nmap.vcproj, from where I
don't have the resources now to remove it.
2008-09-05 05:32:06 +00:00
fyodor
be9e8bf7b1 o Fixed a Makefile problem (race condition) which could lead to build
failures when launching make in parallel mode (e.g. -j4). [Michal
  Januszewski]
2008-08-30 22:01:45 +00:00
david
986b7f8978 Uncomment the nselib_dist_clean Makefile target. 2008-08-29 20:37:47 +00:00
david
4ab33440fc Uncomment the nselib_clean target so "make clean" works. 2008-08-28 21:28:36 +00:00
david
5a38316995 Uncomment the nsestdlib target. Even though it's a no-op another part of the
makefile was looking for it.
2008-08-28 01:35:34 +00:00
batrick
8a44c9432d Updated NSE's bit library to no longer be a shared library.
See this thread: http://seclists.org/nmap-dev/2008/q3/0404.html
2008-08-27 22:23:50 +00:00
david
ef650e0f67 Delete install-sh. We don't need it because we can use shtool (configure checks
for both).
2008-08-19 18:23:47 +00:00
pgpickering
78d3be0968 modified Makefile.in, added binlib and hashlib for nse 2008-07-31 14:20:10 +00:00
batrick
3ae4bcfa9e Removed nse_string. Equivalent procedures are placed in
nse_main and nse_nsock. nse_main now uses Lua to create printable output
while a cleaner hexify procedure has been placed in nsock.
nse_string is removed as a result.
2008-07-07 17:31:38 +00:00
david
b63cdc769a Remove the part of Makefile.in that calls setup.sh in a subdirectory of zenmap.
setup.sh no longer exists. It was not used anyway.
2008-06-30 19:29:36 +00:00
fyodor
31ed85eca8 remove makefile.dep as part of make clean 2008-05-31 03:24:50 +00:00