1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-17 11:59:04 +00:00
Commit Graph

2126 Commits

Author SHA1 Message Date
david
4ff30d9b99 Show a warning whenever raw socket sending is attempted on Windows--not just
when using --send-ip.
2008-11-24 17:52:25 +00:00
fyodor
e02f4bc983 add chapter tags 2008-11-24 10:54:34 +00:00
david
c4b60d8b72 Fix a typo in and add an assertion to ndiff. 2008-11-24 05:29:38 +00:00
david
efac5dd813 Add some missing words to a comment in ndifftest.py. 2008-11-21 17:40:36 +00:00
david
3caa760907 Fix a typo in ndiff.dtd. 2008-11-21 17:39:00 +00:00
kris
5be831f06f o Fixed a bug in the IP validation code which would have let a specially
crafted reply sent from a host on the same LAN slip through and cause
  Nmap to segfault.  Thanks to ithilgore of sock-raw.homeunix.org for
  the very detailed bug report. [Kris]
2008-11-21 16:17:11 +00:00
david
5a50254080 Make the Zenmap crash reporter more respectful of privacy. Allow editing of all
information in the report and make reports containing an email address private.
2008-11-21 03:30:08 +00:00
david
179a461fe9 Fix Zenmap internationalization. This involved renaming some files to be in the
"zenmap" translation domain rather than the "umit" one, and changing a little
bit of gettext code. The only translation available is pt_BR inherited from
Umit.
2008-11-21 00:51:38 +00:00
batrick
0f28f2818b Fixed host.os table to be a 1 based array rather than 0 based. 2008-11-20 20:30:43 +00:00
david
a52ba00a92 o [Zenmap] Zenmap now parses and records XSL stylesheet information
from Nmap XML files, so files saved by Zenmap will be viewable in a
  web browser just like those produced by Nmap.
2008-11-20 18:44:41 +00:00
david
c2deb92228 Remove dead code from nse_nmaplib.cc. 2008-11-20 17:29:36 +00:00
david
041e39f88a Fix a typo in nmap.luadoc. 2008-11-20 17:27:05 +00:00
david
47c268568d Use the math function floor instead of casting to an int to truncate OS scan
match percentages. Casting to an int rounds (0.98 * 100) to 97 on some
architectures.
2008-11-20 17:03:11 +00:00
david
b87ef8aabd Give a better error message "requires root privileges" when trying to run a raw
scan on Windows with --unprivileged. Previously Nmap assumed that the only way
o.isr00t could be false on Windows was if pcap functions were not available, so
the user would get the false message "requires that WinPcap version 3.1 or
higher...". NmapOps now has a state variable have_pcap so the meaning of isr00t
isn't overloaded.
2008-11-20 00:15:42 +00:00
david
a6b78f7bd4 Add to CHANGELOG:
o A possible Lua stack overflow in dns.lua was fixed. [David]
2008-11-20 00:09:39 +00:00
david
f8987ac849 Avoid a stack overflow in dns.lua. A "compressed" DNS message can have its
pointers arranged to form a loop. We put a limit on the number of pointers
we're willing to follow.
2008-11-19 19:59:51 +00:00
david
a7629c94db Fix a typo in bin.luadoc. 2008-11-19 17:46:27 +00:00
david
46210e8db0 Add to CHANGELOG:
o The NSE registry now persists across host groups. [David]
2008-11-19 02:29:59 +00:00
david
801c267f2b Add NSE debugging functions I used while working on the persistent NSE registry. 2008-11-19 02:11:52 +00:00
david
bb8be37ece Use a longer name (L_script_scan) for the persistent Lua state variable. 2008-11-19 01:51:25 +00:00
david
3dd89201dc Initialize one global Lua state for running script scans, and reuse it in calls
to script_scan. This makes the NSE registry persist though all host groups.
2008-11-19 01:44:09 +00:00
david
f14d86eccb Rearrange and comment the code that initializes the lists of host and port
rules.
2008-11-19 01:14:32 +00:00
ron
158423041a Fixed some minor bugs in smb.lua (functions returned the wrong value in some cases) 2008-11-19 00:27:35 +00:00
batrick
085eecbac7 Removed some old debug code no longer used/needed. Added a new stack dump
function that provides a clean output of the stack with positive
and negative stack indices.
2008-11-18 23:24:17 +00:00
david
20cf487b33 Replace the mix of spaces and tabs in the main NSE files with uniform two-space
indents, which seems to be the dominant style.
2008-11-18 21:11:27 +00:00
david
85deff9ede Use a more straightforward return style in script rules. Instead of
if cond then
		return true
	else
		return false
	end

just do

	return cond
2008-11-18 16:59:09 +00:00
david
f4b970f889 Update skypev2-version.nse to match how it's shown in scripting.xml. 2008-11-18 16:47:57 +00:00
david
8247257ad0 Make the code that manipulates the filename local to a function in banner.nse.
--script-updatedb didn't work because scripts don't have the filename variable
in their environment during that.
2008-11-18 16:44:57 +00:00
jah
100aa9d122 Removed filename_len() from banner.nse and instead shorten var filename
to the script name minus its extension - in response to the change
in r11111.
Changed the width of output from 80 chars to 75 which is what was
originally intended.
2008-11-18 14:08:08 +00:00
kris
7b5cd49ccb Add a (currently empty) scripts/data directory for data used by user scripts
not shipped with Nmap proper, and as a place-holder for future data used by
scripts (jah mentions whois in this regard).
2008-11-18 01:50:54 +00:00
jah
fece92c4f7 Add http-alt and https-alt to the services handled by html-title.nse
Modified http.request() to connect using ssl for the https-alt service.
html-title.nse can now deal with a redirect which changes the url scheme
as long as a port is present in the url and it is the port being scanned.
2008-11-17 22:06:58 +00:00
david
5464198f6b Remove the feature that showed the full path of a script when debugging was 2
or higher. Nmap already shows "Will run" messages with the full paths. This is
so that script ids are consistent in XML output.
2008-11-17 21:50:51 +00:00
ron
b53edf3d62 Merging in change to how SMB mutexes are handled (should improve speed significantly for parallel scans) 2008-11-16 16:53:08 +00:00
david
6bd949abb0 Add a little bit about POP3 capabilities to the pop3-capabilities.nse script. 2008-11-15 01:43:10 +00:00
david
c3ee93f056 Sort script.db entries by file name to make diffs comprehensible. Their
previous unsorted state was due to their coming straight out of opendir.
2008-11-15 00:58:36 +00:00
david
0d7243ad5a Add banner.nse to script.db. 2008-11-15 00:55:59 +00:00
jah
17595d5f03 Removed an erroneous argument to a print_debug statement. 2008-11-14 20:57:45 +00:00
david
57394b4673 Remove some host names from comments in nmap-os-db. 2008-11-14 19:56:32 +00:00
david
d6a705258b Add the results of all 51 OS corrections. 2008-11-14 18:49:37 +00:00
david
d21ddc4069 Add the results of the last 140 OS submissions. 2008-11-14 05:02:03 +00:00
david
13040fa854 Integrate another 300 OS fingerprints. 2008-11-14 03:09:19 +00:00
david
d82eb93ed2 Add the results of another 200 OS submissions, plus more merged prints. 2008-11-12 23:33:39 +00:00
david
e36cc5ceba Increase the size of OS fingerprint attribute values from 128 to 256. Some
attributes are that big now.
2008-11-12 19:46:32 +00:00
david
1d582dfafc Add the results of integrating 100 OS submissions. This also includes the
merging of several fingerprints that previously differed only in *.T, IE.TOSI,
or U1.TOS values.
2008-11-11 23:08:45 +00:00
fyodor
55220e7730 a few minor/spelling/typo changes suggested by Eric Krosnes 2008-11-11 20:36:31 +00:00
fyodor
cdfac4d6b2 spell check: recognise -> recognize 2008-11-11 20:33:48 +00:00
kris
60338f216f updating ip_is_reserved(): 110/8 and 111/8 allocated to APNIC 2008-11-11 16:56:45 +00:00
jah
fbea106cc2 Added banner.nse: A simple banner grabber which connects to an open TCP port and prints out anything issued by the listening service. 2008-11-11 11:59:05 +00:00
fyodor
692839d4e5 Replace example script scan with a newer one which also doesn't use old (removed) ripeQuery script. Change paragraph describing the example too. 2008-11-11 07:12:05 +00:00
fyodor
d24a6cb670 change capitalization of SUSE 2008-11-11 07:11:27 +00:00