## WSH Samples

This directory contains various mutations of WSH file formats, all spawning `calc.exe` or `notepad.exe` for brevity.

---

### XSL

XSL files can be executed in the following ways:

- Using `wmic.exe`:
```
wmic os get /format:"calc-wscript.shell.xsl"
```

- Or by firstly starting web server with `start-webserver.bat` and then double-clicking on
```
run-xsl.vbs
```

### HTA

Simply double-click on it.

### VBS

Simply double-click on it.

### SCT

```
regsvr32 /s /u /i:notepad-wscript.shell.sct scrobj.dll
```

### WSC

Double click on `run-wsc.vbs`

### WSF

Simply double-click on it.