📝
Basic Penetration Testing
  • About Knowledge
  • Server Enumeration
    • Scanning
    • Common Services
      • FTP - 21
      • SMTP - 25
      • SMB - 139, 445
  • Web Application
    • Enumeration
    • Exploitation
    • Execute Commands
    • Databases
      • MySQL
      • SQLite
      • MSSQL
      • PostgreSQL
  • Remote Code Execution
  • File Transfer
    • HTTP Server
    • SMB Protocol
    • FTP Server on Kali Linux
  • Hash Cracking
  • Privilege Escalation
    • Windows Privilege Escalation
    • Linux Privilege Escalation
  • Buffer Overflow
  • About LeeCyberSec
Powered by GitBook
On this page
  • Install
  • SMB Server
  • SMB Client

Was this helpful?

  1. File Transfer

SMB Protocol

Install

git clone https://github.com/SecureAuthCorp/impacket.git
cd impacket
sudo pip install -r requirements.txt
sudo python3 setup.py install

SMB Server

$ locate whoami.exe
/usr/share/windows-resources/binaries/whoami.exe

$ smbserver.py a /usr/share/windows-binaries/

SMB Client

$ \\<ip_server>\a\whoami.exe
PreviousHTTP ServerNextFTP Server on Kali Linux

Last updated 4 years ago

Was this helpful?