Penetration Testing mailing list archives

[TOOL] DAVTest


From: Chris Sullo <csullo () sunera com>
Date: Tue, 27 Apr 2010 15:33:10 -0400

When facing off against a WebDAV enabled server, there are two things to
find out quickly: can you upload files, and if so, can you execute code?

DAVTest attempts help answer those questions, as well as enable the
pentester to quickly gain access to the host. DAVTest tries to upload
test files of various extension types (e.g., ".php" or ".txt"), checks
if those files were uploaded successfully, and then if they can execute
on the server. It also allows for uploading of the files as plain text
files and then trying to use the MOVE command to rename them to an
executable.

Assuming you can upload an executable, a test file does you no good--so
DAVTest can automatically upload a fully functional shell. It ships with
shells for PHP, ASP, ASPX, CFM, JSP, CGI, and PL, and dropping a file in
the right directory will let you upload any back-door you like.

Features include:
- Upload with executable extension or .txt
- Checks for successful upload and execution
- Supports MOVE and MKCOL
- Can upload backdoor/shell or arbitrary files
- Basic authentication

DAVTest is written in PERL and licensed under the GPLv3.

Source on Google Code: http://code.google.com/p/davtest/
Download: http://davtest.googlecode.com/files/davtest-1.0.tar.bz2
Download: http://davtest.googlecode.com/files/davtest-1.0.zip

Sunera Security Blog: http://security.sunera.com/


------------------------------------------------------------------------
This list is sponsored by: Information Assurance Certification Review Board

Prove to peers and potential employers without a doubt that you can actually do a proper penetration test. IACRB CPT 
and CEPT certs require a full practical examination in order to become certified. 

http://www.iacertification.org
------------------------------------------------------------------------


Current thread: