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
david
5b6414c441
Remove a duplicate indexterm.
2008-11-11 05:26:47 +00:00
david
a709967cdd
Spell check script documentation.
2008-11-11 05:16:10 +00:00
fyodor
474ad6f55c
reword a bit to improve page layout
2008-11-11 03:10:50 +00:00
david
dd586b90bd
Remove smb-check-vulns.nse from the vuln category, leaving it in intrusive.
2008-11-11 00:48:48 +00:00
david
03c9145785
Take smb-check-vulns.nse out of discovery and put it in vuln.
2008-11-11 00:35:41 +00:00
david
8f7d2c9974
Split dns-zone-transfer usage across two lines.
2008-11-11 00:35:08 +00:00
david
40394a19cd
Fix a whole bunch of script names I missed updating in @usage sections.
2008-11-11 00:23:59 +00:00
david
cb998f9af0
Rename the script arg table owned by dns-zone-transfer.nse from zoneTrans to
...
dnszonetransfer.
2008-11-11 00:19:51 +00:00
david
d293dec977
Rename the script zone-transfer.nse to dns-zone-transfer.nse.
2008-11-11 00:11:12 +00:00
david
e09dba77d1
Adjust the output of http-trace and pop3-capabilities to avoid overly long
...
lines.
2008-11-10 23:44:49 +00:00
david
5a418c9c23
Better format the output of smtp-commands.nse.
2008-11-10 23:35:31 +00:00
david
9d97468d48
Update some documenation in smb-check-vulns.nse.
2008-11-10 23:18:20 +00:00
jah
c38aa90312
Fix http.lua which ignores port.protocol and assumes it to be 'tcp' even if it is 'udp'.
...
Now http.request() returns nil if port.protocol is not 'tcp'.
Changed the portrule in html-title.nse to accept only TCP ports.
Fixed a redirect rule in html-title.nse which was comparing the string url.port with
the number port.number - which would always be false.
2008-11-10 22:55:08 +00:00
fyodor
9baccd2b04
remove a para which caused strange page rendering issues
2008-11-10 22:50:36 +00:00
fyodor
a3ae47ec82
Reduce length of skypev2 version detection script to fit better on page (removing blank lines, etc.) and rewrite a poorly-rendered line
2008-11-10 22:49:52 +00:00
david
65348958eb
Rearrange some symbolic constants in smb-check-vulns.nse so as not to confuse
...
NSEDoc. Also fix a couple of typos.
2008-11-10 21:44:35 +00:00
david
6bcb9f7e7d
Put </programlisting> in the first column in an example in scripting.xml to
...
avoid a trailing blank line.
2008-11-10 20:16:45 +00:00
ron
8e89a0e217
updated scriptdb/CHANGELOG, renamed smb-checkvulns.nse to nse-check-vulns.nse for consistency with the new naming standard
2008-11-10 19:06:50 +00:00
david
83eb61061f
Break a long line in nmap.dtd; it was overflowing the right margin on a printed
...
page.
2008-11-10 19:05:12 +00:00
david
9fc1305118
Remove a duplicate index term.
2008-11-10 18:20:39 +00:00