# Hosting Files

There are many ways to host files on Linux to transfer over to target systems.

## HTTP Server

```bash
python -m SimpleHTTPServer $PORT
```

```bash
python3 -m http.server $PORT
```

```bash
php -S 0.0.0.0:$PORT
```

```bash
ruby -run -e httpd . -p $PORT
```

```bash
busybox httpd -f -p $PORT
```

## SMB

```bash
sudo impacket-smbserver kali . -smb2support
```
