Web Application Analysiswebdavclientfile-uploadfile-downloadhttps

cadaver

Cadaver is a command-line WebDAV client that supports file upload, download, on-screen display, in-place editing, namespace operations, collection creation and deletion, property manipulation, and resource locking. Its operation is similar to the standard BSD ftp client and smbclient.

Description

Cadaver is a command-line WebDAV client for Unix systems, designed to interact with WebDAV-enabled servers. WebDAV (Web-based Distributed Authoring and Versioning) extends the HTTP protocol to enable collaborative editing and management of files on remote web servers. The tool provides a familiar interface akin to ftp and smbclient, making it intuitive for users accustomed to those clients.

Key features include file upload and download, on-screen display, in-place editing, namespace operations like move/copy, collection creation and deletion, property manipulation, and resource locking. This package includes GnuTLS support for HTTPS connections, ensuring secure communication.

Cadaver is particularly useful for pentesting WebDAV services, managing remote files collaboratively, or performing operations on web servers that support WebDAV extensions.

How It Works

Cadaver operates as a command-line client using the WebDAV protocol, which extends HTTP/HTTPS for file management operations. It leverages libneon27t64-gnutls for network operations with GnuTLS HTTPS support, libc6 for core functionality, and libreadline8t64 for interactive command input. The client connects to an absolute URI (http: or https:), authenticates, and executes commands similar to ftp, handling uploads, downloads, edits, locking, and namespace manipulations over the WebDAV protocol.

Installation

bash
sudo apt install cadaver

Flags

-t, --tolerantAllow cd/open into non-WebDAV enabled collection.
-r, --rcfile=FILERead script from FILE instead of ~/.cadaverrc.
-p, --proxy=PROXY[:PORT]Use proxy host PROXY and optional proxy port PORT.
-V, --versionDisplay version information.
-h, --helpDisplay this help message.

Examples

Connect to a WebDAV server at the specified HTTPS URL.
cadaver https://example.com/webdav/
Connect to a WebDAV server using HTTP scheme.
cadaver http://example.com/dav
Tolerantly connect to a non-WebDAV enabled collection.
cadaver -t https://example.com/nonwebdav
Read commands from a custom script file instead of ~/.cadaverrc.
cadaver -r script.rc https://example.com
Connect through a specified proxy host and port.
cadaver -p proxyhost:8080 https://example.com
Display version information.
cadaver -V
Display the help message.
cadaver -h
Updated 2026-04-16kali.org ↗