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

1070 Commits

Author SHA1 Message Date
patrik
709fce67b1 Applied patches from Dan Miller to fix bugs in http and sslcert libraries;
http://seclists.org/nmap-dev/2012/q2/696
2012-06-15 10:07:32 +00:00
patrik
e6a42c9291 fix to get smb-enum-shares working on Windows 2008 and Windows 7 2012-06-13 20:35:50 +00:00
kroosec
2710e91ece ssl-fingerprints: Updated to use littleblackbox v0.1.3 database. 2012-06-13 01:02:54 +00:00
patrik
b96ffc0e14 fixed a global variable in http.lua 2012-06-11 21:02:41 +00:00
patrik
44b46bb148 Fixed global declarations in smb.lua 2012-06-11 17:40:21 +00:00
perdo
106c529dd6 While extracting forms from websites, field names are no longer converted to lowercase (the error was reported by Paulino). 2012-06-11 09:41:58 +00:00
perdo
54e73d555a Added a function that generates random strings to stdnse.lua. 2012-06-10 23:03:04 +00:00
perdo
8a049498d3 Added html forms 'parsing' routines to http.lua 2012-06-10 23:01:29 +00:00
patrik
71e26189f6 o [NSE] More Windows 7 and Windows 2008 fixes for the smb library and smb-ls
scripts. [Patrik Karlsson]
2012-06-10 22:40:02 +00:00
aca
78c48319cf Merged dns-nsec3-enum to trunk 2012-06-09 18:44:46 +00:00
patrik
bc0defc8ff o [NSE] Added SPNEGO authentication supporting Windows 7 and Windows 2008 to
the smb library. [Patrik Karlsson]
2012-06-09 12:17:01 +00:00
patrik
55572542ef Fix for bug in cookie parsing code reported by Ron Bowes;
http.lua:757: attempt to perform arithmetic on local 'pos' (a nil value)
2012-06-07 16:06:58 +00:00
perdo
5ac6c7d64a Fixed errors found by nse_check_globals. 2012-06-06 22:23:02 +00:00
patrik
b7f648bcac Fixed a bunch of errors reported by Ron Bowes;
http://seclists.org/nmap-dev/2012/q2/639
2012-06-06 22:11:02 +00:00
batrick
ceaa65a0f4 Move last remnants of Lua 5.0 "arg' table. 2012-06-06 22:08:01 +00:00
patrik
721ac80024 reverted previous commit, due to unfinnished changes in smb, asn1 and smbauth
libraries.
2012-06-06 22:04:28 +00:00
patrik
c4617f8d31 Fixed a bunch of errors reported by Ron Bowes;
http://seclists.org/nmap-dev/2012/q2/639
2012-06-06 21:57:00 +00:00
kroosec
6ea3969357 Added Packet:ip_set_id(id). 2012-06-06 08:52:13 +00:00
batrick
be0af7b304 Add some missing library requires. Patch generated by
$ nse_check_globals --patch

with some modifications for format consistency.
2012-06-05 15:21:54 +00:00
patrik
b683234f45 o [NSE] Applied patch from Daniel Miller that fixes bug in several scripts and
libraries http://seclists.org/nmap-dev/2012/q2/593 [Daniel Miller]
2012-06-04 04:37:29 +00:00
patrik
98f74051bb added missing return _ENV; to ipp library 2012-06-04 04:19:48 +00:00
patrik
0372cf9e7a o [NSE] Added the script smb-ls that lists files on SMB shares and produces
output similar to the dir command on Windows. [Patrik Karlsson]
2012-06-03 18:10:49 +00:00
kroosec
e47d988e44 Small typo in Packet:build_ip_packet documentation. 2012-06-01 10:46:27 +00:00
batrick
6140215e2d Add explicit tags for stdnse.lua since it sets the environment
manually (it defines stdnse.module).
2012-05-30 20:44:21 +00:00
david
587cc517c3 Fix smb library shadowed parameters.
This happened as an unintentional side effect of Lua 5.2 changes. The
fix is by Daniel Miller.

http://seclists.org/nmap-dev/2012/q2/530
2012-05-29 21:05:39 +00:00
david
aa6717eb1f Lua 5.2 fixed from Daniel Miller.
http://seclists.org/nmap-dev/2012/q2/525
2012-05-29 20:11:39 +00:00
batrick
a04314beaa Add missing requires. 2012-05-29 18:34:34 +00:00
patrik
bdad2689ab added 'require' for missing libraries 2012-05-29 18:31:22 +00:00
patrik
3d7250ecc4 o [NSE] Added the Internet Storage Name Service (iSNS) library and the
isns-info script that lists information about portals and iSCSI devices.
  [Patrik Karlsson]
2012-05-29 18:02:19 +00:00
aca
ba67aa5993 Commited rmi-vuln-classloader script 2012-05-28 18:04:28 +00:00
patrik
656f03676e Added missing second parameter for receive_buf which caused errors with new
Lua version.
2012-05-27 19:20:34 +00:00
batrick
000f6dc4d9 Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
patrik
cbf901c195 added coded to stop spidering if the base coroutine is dead. 2012-05-22 18:22:18 +00:00
patrik
84c3de36fc Applied patch from Daniel Miller to fix two bugs in the httpspider library:
* First bug, the LinkExtractor portion of httpspider doesn't check for a negative
    maxdepth (indicating no limit), and rejects all links.
  * Second bug, the withinhost and withindomain matching functions would throw an error
    when presented with a URL without a host portion. 

In addition the validate_link function was moved out to a separate function in the
LinkExtractor Class. [Daniel Miller]
2012-05-22 17:26:12 +00:00
henri
15f7ad8f3c Fixed typo. 2012-05-21 15:44:25 +00:00
patrik
425ced35ab o Improved the mysql library to handle multiple columns with the same name,
added a formatResultset function to format a query response to a table
  suitable for script output. [Patrik Karlsson]
2012-05-19 12:23:41 +00:00
batrick
3498086354 Corrected buggy formatting from lua-format. David had used the Lua formatter in
r28582.
2012-05-18 03:59:14 +00:00
kroosec
ced6a8cc01 o [NSE] Added the script http-drupal-modules, which enumerates the installed
Drupal modules using drupal-modules.lst. [Hani Benhabiles]
2012-05-16 00:14:16 +00:00
david
16334a19f6 Reindent http-fingerprints.lua using lua-format.
lua-format is Patrick's script and the reformatted file was done by
stripes.
2012-05-15 04:00:57 +00:00
david
fba5e4307a Fix backslash escapes in Windows paths in http-fingerprints.lua.
With the luac from Lua 5.2.0 I got this error:
luac: http-fingerprints.lua:2781: invalid escape sequence near '\.'
2012-05-15 03:24:35 +00:00
patrik
aeb0cbb546 Added more AJP methods 2012-05-14 21:23:06 +00:00
patrik
45164ba18c Changed so that the stdnse.get_hostname method is used to determine the contents of the
Host request header.
2012-05-13 12:16:38 +00:00
patrik
d02dafb630 o [NSE] Added the Apache JServer Protocol (AJP) library and the scripts
ajp-methods, ajp-headers and ajp-auth. [Patrik Karlsson]
2012-05-07 18:49:22 +00:00
patrik
cceb2ff10a o [NSE] Added the script cups-queue-info that lists the contents of a remote
CUPS printer queue. [Patrik Karlsson]
2012-05-01 14:23:40 +00:00
patrik
ab33bede2c Added ICMP echo request support to the packet library. 2012-04-22 18:42:41 +00:00
patrik
2de40c99b4 o [NSE] Added the script samba-vuln-cve-2012-1182 which detects the SAMBA CVE
2012-1182 vulnerability. [Aleksandar Nikolic]
2012-04-21 22:44:23 +00:00
patrik
86f58e1090 Add support for returning non authoritative answers as packets 2012-04-21 21:36:51 +00:00
patrik
15a790d490 o [NSE] Added the ipp library and the script cups-info that lists available
printers by querying the cups network daemon. [Patrik Karlsson]
2012-04-17 19:37:22 +00:00
patrik
8ca252235e o [NSE] Added the mobilme library and the scripts http-icloud-findmyiphone and
http-icloud-sendmsg, that finds the location of iOS devices and provides
  functionality to send them messages. [Patrik Karlsson]
2012-04-17 19:35:44 +00:00
patrik
59294eff19 o [NSE] Added gps library and the gpsd-info script that collects GPS data
from the gpsd daemon. [Patrik Karlsson]
2012-04-17 19:32:37 +00:00