Skip to content

Latest commit

 

History

History
88 lines (74 loc) · 2.97 KB

readme_en.md

File metadata and controls

88 lines (74 loc) · 2.97 KB

SharpZipAES

English 简体中文

Tool developed using csharp (.net 4.5) for compressing and encrypting files to shorten transfer times. Supports multi-file compression and encryption, single-file compression, and directory compression.

feature

  • Only 10 KB in size
  • No need for disk interaction
  • More secure encryption method
 .\SharpZipAES.exe
Author: Yutian
Github: https://github.com/yutianqaq/SharpZipAES
[-] Usage:
  SharpZipAES.exe encrypt <encryption key> <path to compress>
  SharpZipAES.exe decrypt <encryption key> <path to encrypted ZIP>

Multiple file compression and encryption

PS C:\Users\havoc\Desktop\SharpZipAES\SharpZipAES\bin\Release> .\SharpZipAES.exe encrypt Password1 .\SharpZipAES.exe .\SharpZipAES.exe.config .\SharpZipAES.pdb
Author: Yutian
[+] Wrote encrypted archive
[+] Packed compressed file
[+] Packed compressed file to swvHxCvZ.zip succeeded
[+] Wrote encrypted archive swvHxCvZ.aes.zip to disk!
[+] Removed encryption key from memory
[+] Deleted unecrypted archive
[+] Ready for exfil
[+] Program run time is: 00:00:00.3377748
PS C:\Users\havoc\Desktop\SharpZipAES\SharpZipAES\bin\Release> .\SharpZipAES.exe decrypt Password1 .\swvHxCvZ.aes.zip
Author: Yutian
[+] Wrote encrypted archive
[+] Decrypting .\swvHxCvZ.aes.zip
[+] Decrypted swvHxCvZ.zip successfully!
[+] Program run time is: 00:00:00.3165076

Single file compression and encryption

PS C:\Users\havoc\Desktop\SharpZipAES\SharpZipAES\bin\Release> .\SharpZipAES.exe encrypt Password1 .\SharpZipAES.exe
Author: Yutian
[+] Wrote encrypted archive
[+] Packed compressed file
[+] Packed compressed file to MGvmLoY2.zip succeeded
[+] Wrote encrypted archive MGvmLoY2.aes.zip to disk!
[+] Removed encryption key from memory
[+] Deleted unecrypted archive
[+] Ready for exfil
[+] Program run time is: 00:00:00.3319586
PS C:\Users\havoc\Desktop\SharpZipAES\SharpZipAES\bin\Release> .\SharpZipAES.exe decrypt Password1 .\MGvmLoY2.aes.zip
Author: Yutian
[+] Wrote encrypted archive
[+] Decrypting .\MGvmLoY2.aes.zip
[+] Decrypted MGvmLoY2.zip successfully!
[+] Program run time is: 00:00:00.3204786

Directory compression and encryption

PS C:\Users\havoc\Desktop\SharpZipAES\SharpZipAES\bin\Release> .\SharpZipAES.exe encrypt Password1 .\Test\
Author: Yutian
[+] Wrote encrypted archive
[+] Packed compressed directory to tvdOAOZP.zip succeeded
[+] Wrote encrypted archive tvdOAOZP.aes.zip to disk!
[+] Removed encryption key from memory
[+] Deleted unecrypted archive
[+] Ready for exfil
[+] Program run time is: 00:00:31.9781834
PS C:\Users\havoc\Desktop\SharpZipAES\SharpZipAES\bin\Release> .\SharpZipAES.exe decrypt Password1 .\tvdOAOZP.aes.zip
Author: Yutian
[+] Wrote encrypted archive
[+] Decrypting .\tvdOAOZP.aes.zip
[+] Decrypted tvdOAOZP.zip successfully!
[+] Program run time is: 00:00:11.5933884

References

https://github.com/uknowsec/SharpZip

https://github.com/matterpreter/OffensiveCSharp