Nmap Development mailing list archives

Re: [NSE] http-webdav


From: Gyanendra Mishra <anomaly.the () gmail com>
Date: Tue, 2 Jun 2015 00:32:10 +0530

Hi,

I tested http-webdav-scan and http-webdav-perms against a DAV instance
running on Apache. It only shows output for dav enabled folders. :)

Gyani

On Mon, Jun 1, 2015 at 10:08 PM, Gyanendra Mishra <anomaly.the () gmail com>
wrote:

Hi,

I fixed a few empty output cases in webdav-perms and added some
doccumentation to both. It should be working properly now. I tried webdav-*
against a few davs and non davs. Please try with others and comment :)

http-webdav-scan :
https://svn.nmap.org/nmap-exp/gyani/scripts/http-webdav-scan.nse
http-webdav-perms :
https://svn.nmap.org/nmap-exp/gyani/scripts/http-webdav-perms.nse

Gyani

On Tue, May 26, 2015 at 6:45 PM, Paulino Calderon Pale <
paulino () calderonpale com> wrote:

I tested your script on a Apache Webdav server and I’m getting a blank
output line when the script is run against a non web dav folder. If the
script is run on the webdav folder it works as expected.


Cheers.

On May 20, 2015, at 2:34 PM, Gyanendra Mishra <anomaly.the () gmail com>
wrote:

Hi list,

I talked to my mentor he suggested a few changes. The following changes
have been made.

* Missing "requires" added.
* @xmloutput added
* Removed overwriting of headers.
* Fixed category information.
* Split the script into two.

http-webdav-scan[1] : This script runs as a default script and finds out
whether a server is running WebDAV or not. Throws various information like
server type, webdav type, exposed directories, exposed internal ip
addresses if running WebDAV. This makes use of the `OPTIONS` and `PROPFIND`
method.

http-webdav-perms[2]: This script is an intrusive exploitation script
that finds out whether the given WebDAV server gives write permissions to
unauthenticated users. It tries to upload various files, renames them and
tells if they are executable or not. This makes use of the `MKCOL`,
`DELETE`, `PUT` and  `MOVE` methods.

Gyani

[1]https://svn.nmap.org/nmap-exp/gyani/scripts/http-webdav-scan.nse
[2]https://svn.nmap.org/nmap-exp/gyani/scripts/http-webdav-perms.nse

On Wed, May 20, 2015 at 12:02 AM, Gyanendra Mishra <anomaly.the () gmail com
wrote:

Hi list,

I have finished working on http-webdav[1]. I am sure that there are some
changes to make. I tested this with PyWebDAV, I'll soon test this with
other environments.
The script looks for WebDAV servers with insecure permissions and
methods.

Please try the script and make suggestions if any! I have attached the
script. Also look at [2] for the latest version.

Gyani

[1]https://secwiki.org/w/Nmap/Script_Ideas#http-webdav
[2]
https://github.com/h4ck3rk3y/nmap/blob/master/test_scripts/http-webdav.nse




 _______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/




_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: