🩸
Pentesting Checklist
  • 👀General Checklist
    • 👁️Recon & Scanning
      • Nmap Scan
    • 🌡️Services
      • SSH
      • FTP
      • Samba
      • Git
      • SNMP
    • ⚙️Reverse Engineering
      • General
      • Android apks
      • Windows Exe or .net binaries
  • 🐞Web Application Checklist
    • 🧠Web App Attack Techniques
      • Password Smuggling Attack
    • 😍Fuzzing with ffuf
    • 💄Directory Fuzzing
      • Using the tools
      • Wordlists to use
    • 👾Subdomain Fuzzing
      • Normal fuzzing
      • Finding through DNS
    • 🎯LFI/RCE
      • LFI
        • What to do once obtained
      • RCE
      • Misc
  • ☕Linux Checklist
    • Page 2
  • 🪟Windows Checklist
    • 💀Windows Connection Methods
  • 🖇️Tips & Tricks
    • Transferring Files
      • 🐧Linux
      • 📸Windows
    • Pivoting / Lateral Movement Techniques
      • proxychains
      • chisel
      • sshuttle
      • ligolo-ng
    • 🧩Fuzzing
    • 🙃Credential Brute-Forcing
  • 🍒Other useful resources:
    • Page 7
Powered by GitBook
On this page
  1. General Checklist
  2. Services

Samba

  • A tool that can enumerate and interact with SMB shares is smbclient

  • nmap -p 445 --script=smb-enum-shares.nse,smb-enum-users.nse MACHINE_IP

To list shares

  • smbclient -N -L \\ip

To connect to the share

  • As guest: smbclient \\ip\share_name

  • As a user: smbclient -U user \\ip\share_name

You can get files from the server with get command (Ex: get file.txt)

To recursively get all files and folders from the server:

  1. recurse on

  2. prompt off

  3. mget *

PreviousFTPNextGit

Last updated 1 year ago

👀
🌡️