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

265 Commits

Author SHA1 Message Date
vincent
b5606dde91 Hide first makefile attempt to include makefile.dep
This is to avoid having a warning saying that there is no makefile.dep
file, which will be generated right after the warning and then
included in the Makefile.
2016-08-16 09:31:59 +00:00
dmiller
9058596e1e Separate CFLAGS from CXXFLAGS. Was breaking with -std=c++11 on clang 2016-07-06 16:20:56 +00:00
batrick
7f5ec526fe Merge branch 'nse-lua53'
Lua 5.3 adds several awesome features of particular interest to nmap including
bitwise operators and integers, a utf8 library, and standard binary pack/unpack
functions.

In addition to adding Lua 5.3, this branch changes:

o Complete removal of the NSE bit library (in C), It has been replaced with
  a new Lua library wrapping Lua 5.3's bit-wise operators.

o Complete removal of the NSE bin library (in C). It has been replaced with a
  new Lua library wrapping Lua 5.3's string.pack|unpack functions.

o The bin.pack "B" format specifier (which has never worked correctly) is
  unimplemented.  All scripts/libraries which use it have been updated. Most
  usage of this option was to allow string based bit-wise operations which are no
  longer necessary now that Lua 5.3 provides integers and bit-wise operators.

o The base32/base64 libraries have been reimplemented using Lua 5.3's new
  bitwise operators. (This library was the main user of the bin.pack "B" format
  specifier.)

o A new "bits" library has been added for common bit hacks. Currently only has
  a reverse function.

Thanks to David Fifield, Daniel Miller, Jacek Wielemborek, and  Paulino
Calderon for testing this branch.
2016-07-02 17:02:27 +00:00
dmiller
0b28350628 Remove some explicit install targets to force build to happen before install 2016-05-09 13:13:15 +00:00
dmiller
2c3673a647 Clean up some old renamed scripts upon install 2015-12-04 13:03:01 +00:00
dmiller
ef7c910908 Strictly use autoconf-generated build targets for nmap dependencies. Fixes #227 2015-10-28 03:56:01 +00:00
dmiller
12099437dc Fix a typo autoconf variable name 2015-10-07 18:25:49 +00:00
dmiller
821d3ef2dd Remove another generated file (from make check) in distclean. 2015-10-07 16:39:29 +00:00
dmiller
8fb5e0df3c Add build-ncat target to all. Fixes #214 2015-10-07 16:34:12 +00:00
dmiller
83c2bc1d18 Remove some more generated files when doing a distclean. Fixes #218 2015-10-07 16:34:12 +00:00
dmiller
101562e0e5 Add a couple more missing dependencies. 2015-08-21 01:57:43 +00:00
dmiller
e0fd29efb0 Add a missing dependency in Makefile.in 2015-08-20 21:22:56 +00:00
gio
1873c53d7c Normalize target all in Makefile.in 2015-08-20 19:50:41 +00:00
gio
c3b069b0ea normalized *_check target to check-* target 2015-08-20 19:50:39 +00:00
gio
263872f60b Normalize some forgotten target 2015-08-20 19:50:37 +00:00
gio
90edf7ba5c normalized *_[dist]clean target to [dist]clean-* target 2015-08-20 19:50:34 +00:00
gio
1529955698 Squash my_*clean inside *clean, config.cache cleared only by distclean 2015-08-20 19:50:31 +00:00
gio
3b42a41f44 normalized *_build target to build-* target 2015-08-20 19:50:29 +00:00
gio
96d5b949b3 Fixes #185 make nmap works fine, added missing dependencies 2015-07-30 06:30:30 +00:00
gio
94e8a7acd3 Implemented more testing fixed some subtle bug thanks to it 2015-07-30 06:27:35 +00:00
gio
a44030ae23 Add tests subdir and have DNS test compile and run 2015-07-30 06:27:30 +00:00
dmiller
faaf417606 Add http-crossdomainxml to the list of old script names (now http-cross-domain-policy) 2015-07-06 13:33:47 +00:00
dmiller
40dc3c5830 Move global_structures.h back into nmap.h now that things are sorted out better 2015-07-02 03:09:29 +00:00
fyodor
c697f458e0 Use our https URL in more places instead of the non-SSL one 2015-06-20 02:56:02 +00:00
dmiller
fbbb64a190 Silence warnings: 'Makefile.in seems to ignore the --datarootdir setting' 2015-03-11 04:14:24 +00:00
dmiller
67be9e3ef9 Mark some Make targets as .PHONY 2015-03-10 13:16:58 +00:00
dmiller
d826971495 Add some rules to update config.guess and config.sub from the latest 2015-02-14 20:19:57 +00:00
dmiller
8753e731f6 Reorder distclean targets to avoid errors with ./configure && make distclean 2014-12-30 22:38:30 +00:00
dmiller
6271177458 Add an uninstall option to ndiff's setup.py 2014-11-13 13:24:41 +00:00
dmiller
ead3649ac5 Remove db2-discover.nse
Service probe does the same work. See
http://seclists.org/nmap-dev/2014/q3/415
2014-10-15 18:52:08 +00:00
dmiller
2f4f11637b Fix some library ordering (-lnsock must come before -lnbase)
Doesn't matter on most platforms because our own object (.o) files
require the symbols from libnbase, so all of them have been linked by
the time libnsock is encountered, but vasprintf and asprintf were
causing problems on platforms that need the versions defined in
libnbase.
2014-09-16 03:10:17 +00:00
d33tah
c86b862501 Introduce scan_engine_connect.cc, scan_engine_connect.h,
scan_engine_raw.cc, scan_engine_raw.h and add them to Windows and Unix
build systems.
2014-09-03 14:27:00 +00:00
dmiller
b75df9d8f9 Add a test loader script for Zenmap, so tests don't fail with Python <2.7 2014-08-23 04:22:09 +00:00
batrick
de27812fe4 Revert libssh2 branch, for now.
$ svn merge -r r33518:r33513 .

and removed added scripts to the script.db.

The branch needs further refinement/testing for Windows and Mac before merging
into the trunk. There is also the latent EOF bug which is giving performance
issues.

Further work on the branch will continue in Devin's latest branch:

/nmap-exp/devin/nmap-libssh2
2014-08-18 03:12:00 +00:00
dmiller
72255a9f82 Fix broken build on systems without libssh2 2014-08-14 12:46:43 +00:00
devin
63f997ed28 Merged libssh2-integration branch 2014-08-14 02:09:00 +00:00
devin
d68396d823 Merged Lpeg branch 2014-06-26 20:12:54 +00:00
robert
3f73a22db0 Added a few NSE scripts to OLD_SCRIPT_NAMES that have been removed/renamed over the last year or so. 2014-05-19 20:06:33 +00:00
dmiller
b8b256a92b Necessary dependencies for building Ncat and Nping separately 2014-02-21 23:11:41 +00:00
dmiller
3bd86146ac Don't clean Ndiff if it wasn't built 2014-01-26 16:54:13 +00:00
dmiller
393b4b21ee Add Ndiff tests to "make check" 2014-01-10 16:26:42 +00:00
dmiller
434efb1266 Cause make check to run nmap --script=unittest 2014-01-10 16:26:40 +00:00
dmiller
96141b431e Implement "make check" for zenmap
Currently, this just uses Python's unittest module to autodiscover
tests, which may skip some, but is better than nothing. TODO: move tests
to their own module and let the zenmap_check target test them directly.
2014-01-09 16:39:39 +00:00
dmiller
fc49e4ade6 Let "make check" only check appropriate things
When configuring --without-ncat, "make check" was trying to run Ncat's
test suite. This commit splits the check target into ncat_check and
nsock_check, and makes each conditional on that subsystem's configure
status.
2014-01-07 19:04:12 +00:00
dmiller
26665465c6 Refactor ftp bounce scan into nmap_ftp.{h,cc}
By factoring this code out, we make it easier to convert to NSE.
http://seclists.org/nmap-dev/2013/q4/255
2013-12-11 02:23:58 +00:00
dmiller
e74d61829a Install .luadoc files along with .lua NSE libs 2013-12-03 18:16:28 +00:00
dmiller
cf1cd27255 rm zenmap/INSTALLED_FILES upon make distclean 2013-12-03 03:45:49 +00:00
dmiller
5821c53627 Clean up completely from zenmap (setup.py includes zenmapCore) 2013-12-02 22:06:36 +00:00
dmiller
52eb566b15 Actually use ndiff's clean/distclean targets 2013-12-02 21:36:43 +00:00
david
ff7659df5e Run ncat tests with "make check" too. 2013-05-18 19:22:33 +00:00